pavelevap
Forum Replies Created
-
Yes, but I would like to try it. I do not know where should be better to start? Installing multisite on any subdomain? Or subdirectory of main domain? Any idea?
Using this plugin with W3 Total Cache and counter works, so probably it works with this cache plugin?
Forum: Plugins
In reply to: [Post Types Order] [Plugin: Post Types Order] Automatic mode does not workVersion 2.4.0.6 (premium) works well. Thank you for your help!
Forum: Plugins
In reply to: [Post Types Order] [Plugin: Post Types Order] Automatic mode does not workHi, thank you for your answer!
Ad 1) Yes, there is isset check, but in one condition:
if (isset($options['allow_post_types']) && isset($query->query_vars['post_type']) && !in_array($query->query_vars['post_type'], $options['allow_post_types']))So, all conditions have to be checked by PHP, I guess… It should be avoided with two separate conditions – first checking isset and second if statement would check then in_array().
Ad 2) I will test new version and let you know…
Forum: Plugins
In reply to: [Post Types Order] [Plugin: Post Types Order] Automatic mode does not workSo, I tried to play with it and probably found a bug:
1) After activating plugin, options autosort, adminsort and level are created by default with function CPTO_activated().
But on Options page, there is following part of condition:
if (!isset($options['allow_post_types']) || ...And this is always true, because allow_post_types is not defined after activation. So user can see that all post types checkboxes are checked by default (even if they are really not).
It leads to following error:
Notice: Undefined index: allow_post_types in plugins/advanced-post-types-order/advanced-post-types-order.php
And this error is related to this check:
... && !in_array($query->query_vars['post_type'], $options['allow_post_types'])So, this is always true because $options[‘allow_post_types’] does not exist and fires mentioned Notice.
2) And that is why automatic sorting works in this case. But when you have option allow_post_types defined then automatic sorting really does not work. And the problem will be probably hidden in checking $query->query_vars[‘post_type’] because by default it is empty string for example on category archive pages. And plugin conditions does not work with it, because empty string is not in array of allow_post_types options, so as a result everything ends with returning default $orderBy variable.
Maybe related: http://core.trac.wordpress.org/ticket/19471
Thank you for your answer, but this is not the case…
Now i have:
domain.com/my-great-super-calendar/event/my-eventBut I need:
domain.com/calendar/event/my-eventSo, EM_EVENT_SLUG is “event” and page slug is “my-great-super-calendar”, but should be only “calendar”. I want to have a slug for page with calendar with name “my-great-super-calendar”, but use another (simple) slug for events (calendar).
Thank you for your help…
Thank you for your answer, but this is not solution. I need different slugs for page (for example my-great-super-calendar) and for particular events (for example calendar).
Thank you for your help…
Yes, it works well! Thank you for your help…
Forum: Plugins
In reply to: [GD Star Rating] [Plugin: GD Star Rating] PHP Notice: Undefined offsetNope, problem is still here 🙁 There are many of these notices in my error log…
agelonwl: It should be event title (name) format and not
<title>tag?Chris: Yes, same problem here. My event has name “Event 1”, but on website there is everytime title of main events page:
<title>Events - MyWebsite.com</title>
Also meta description of single event is derived from main events page. It looks like all events are recognized as one main events page.Marcus: I do not use force rewrite option. Is there any chance to specify detail title tag, for example (Event name – Event category – Sitename)? I tried also Twenty Eleven, but no change…
Thank you for your help…
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Extending pluginThank you, I did not notice this on plugin website!
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] WP_Query() x get_posts()Oh, probably my mistake, not related to Posts 2 Posts plugin, but interesting…
Problem was related to parametr caller_get_posts which was false by default, but I had there many sticky post and so they were passed automatically into WP_Query()…
Adding
'caller_get_posts' => truesolved my troubles…Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Relations not savedGreat, now it works!
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Relations not savedIt did not help me, relations not saved.
I moved all unzipped files and directory into mu-plugins directory, but “Installation page” is probably deprecated, because I did not find any scb-load.php file? So, I am not sure if I installed it the right way?
Thank you for your help…
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Relations not savedOh, I found it!
I forgot that I have active another your plugin (Custom Field Images).
After deactivating it works well.
Maybe there is any conflict with scbFramework?What should I do to use both of your plugins?
I know that this plugin is no longer supported, but what should current users do when there are many data stored? I tried to ask for migration script, but no answer 🙁
Thank you very much for your help…