Texiwill
Forum Replies Created
-
Hello,
I just implemented this as well…. I did the following:
after line 123 I added:
// Enqueue Style Sheet if (function_exists('wp_enqueue_style')) { wp_register_style( 'wpp-css', plugins_url('style/wpp.css', __FILE__) , array(), $version); wp_enqueue_style( 'wpp-css' ); }
And then in wpp_print_stylesheet I modified it to be the following, in this way the older functionality is available if necessary.
// still needed if no enqueue if (!function_exists('wp_enqueue_style')) { $css_path = (@file_exists(TEMPLATEPATH.'/wpp.css')) ? get_stylesheet_directory_uri().'/wpp.css' : plugin_dir_url( __FILE__ ).'style/wpp.css'; echo "\n"."<!-- WordPress Popular Posts v".$this->version." -->"."\n".'<link rel="stylesheet" href="'. $css_path .'" type="text/css" media="screen" />'."\n"."<!-- End WordPress Popular Posts v".$this->version." -->"."\n"; }
— Edward
Hello,
Well I think I found the problem. The site was confused as it used to use https://www.example.com:XX/blog and https://www.example.com:XX. Once I switched everything to https://www.example.com:XX BWP-Minify started to work once more.
I think because it is trying to form a path to the cache files that ends up being something like:
/usr/share/wordpress/:XX/blog/…But when you drop the /blog it ends up being:
/usr/share/wordpress/:XXNote, to make this work the first time, I had to create the :XX directory and add symlinks inside it to point to wp_content. The :XX should NOT be part of the path and I would imagine be ignoreable.
Best regards,
EdwardHello,
PLease ignore, I found the issue, it was a recursion error with a directory. I redid the directory and all is good.
THanks,
EdwardI still get a blank report, I believe it is due to the database check taking too much time.
Thoughts?
Forum: Plugins
In reply to: [WassUp Real Time Analytics] wassupPrepend takes a LONG timeMy traces show it sits in wassupPrepend but I cannot find the exact line in my trace tools.
Forum: Plugins
In reply to: [WassUp Real Time Analytics] [Plugin: WassUp] Wassup: No ChartsSolution was to disable the plugin, remove the database and then restart the plugin. Make sure you backup or you will loose all data. looks like the update process corrupted the DB.
Solved the problem… mod_filter.so was NOT enabled in Apache…
Hello,
I had a similar problem, I believe it is related to ordering on how document_root is detected. If I switch to this within w3_get_document_root it now gives proper paths
if (!empty($_SERVER['DOCUMENT_ROOT'])) { $document_root = w3_path($_SERVER['DOCUMENT_ROOT']); } elseif (!empty($_SERVER['SCRIPT_FILENAME'])) { $document_root = substr(w3_path($_SERVER['SCRIPT_FILENAME']), 0, -strlen(w3_path($_SERVER['PHP_SELF'])));
I found that the SCRIPT_FILENAME method was producing /full/path/word instead of /full/path/wordpress while $_SERVER[‘DOCUMENT_ROOT’] always had the correct variable.
— Edward
Hello,
I would expect the same then, when viewing as an administrator the actual add event. Which is not happening. It is only when I use #_MAP. Cannot get more specific than…
Disney Contemporary Hotel
4600 N World Dr
Lake Buena Vista, FL 32830Best regards,
Edward L. HaletkyHello,
Not actually what I want. I want the image to replace #_NAME as necessary. But I see how #_IMAGE could be used as well. Just I want to use both an Image for the name and an image in the single as necessary.
Either way I found a solution that will work for now.Best regards,
Edward L. HaletkyHello,
I guess I could edit the following in eme_events.php
if (get_option('eme_display_calendar_in_events_page' )){ $events_body = eme_get_calendar ('full=1'); }else{
to be:
if (get_option('eme_display_calendar_in_events_page' )){ $events_body = eme_get_calendar ('full=1&long_events=1'); }else{
[Please post code snippets between backticks or use the code button.]
However, would this not be better as an ‘option’?
Best regards,
Edward HaletkyHello,
This is the ‘automatically’ created page, so I do not have a shortcode or widget, but what is automatically created for event navigation.
How can I change this?
Best regards,
EdwardForum: Plugins
In reply to: [sidebarTabs] sidebarTabs broken with 3.0.2Hello,
Found the issue…
The GTranslate plugin and sidebartabs clash so sidebar tabs was NOT working.
I was testing GTranslate and given this I can not use the plugin. ??
Also, jQuery was being loaded just way down the header stack.
-Edward
Forum: Plugins
In reply to: [sidebarTabs] sidebarTabs broken with 3.0.2Hello,
More news… It looks like the jQuery library is NOT being loaded on the page… wp_enqueue_script does not doe this at this time for some reason.
Still researching.
-Edward
Forum: Plugins
In reply to: [sidebarTabs] sidebarTabs broken with 3.0.2Hello,
Actually it is already split up, but while sbTabs is being defined, it still gives an error:
jQuery(“ul.sidebarTabs1”).sbTabs is not a function
initialIndex: 0Which just seems odd.
Thank you,
Edward