Leo Plaw
Forum Replies Created
-
I do have it working for Single now. Here is an example:
https://fantasticvisions.net/blog/2010/11/18/phantastisches-kabinett/
Page View and Page Rating are at the end of the article.
https://fantasticvisions.net/news/ also lists Page View and Rating, but of course will not increment the view count because it is the main blog page.
The issue was with JQuery being minified on the “Single” template only. Why, I don’t know. I removed it and some others, but not all from the minify list. That is why W3 Total Cache gives you the option to add and remove individual JavaScript files from individual templates and themes. This makes it very flexible and powerful. The plugin author did so because he also found that sometimes minifying all JavaScript files does not work.
You can also reorder the JavaSript files in the list with drag and drop, say if one script is dependent upon another having defined a variable first for it to work.
You will have to experiment with which files to minify, and then minify options. As the plugin Author stresses repeatedly everywhere, each site is individual, and there is no one configuration for all. Therefore he gives you so many options to tweak it. This is why this plugin is so much more advanced than the other cache plugins.
But, here are my minify settings as a guide. You will have experiment and perhaps make yours different.
Minify Settings
- General
- Rewrite URL structure – yes
- Automatically upload modified files – yes
- Minify error notification – Admin Notification
- HTML
- Enable – yes
- Don’t minify feeds – yes
- Inline CSS minification – yes
- Inline JS minification – yes
- Line break removal – no
- JavaScript
- Enable – yes
- Combine only after – no
- Combine only after – no
- Combine only before – no
- Comment removal – yes
- Line break removal – no
Then to select the JavaScript and CSS you want to minify, look a the top of the page for the “help” button on the same line as “empty cache”.
Standard advice seems to be, not to minify scripts like Google Analytics.
Forum: Plugins
In reply to: [Ajax_the_views] [Plugin: Ajax_the_views] Does not increment the counterSorry, I take that back. Ajax_the_views DOES increment the counter. The problem I was having was that W3 Total Cache was causing JQuery to fail with minify. After removing JQuery from the list of files to minify, Ajax_the_views works.
No, I think I have identified the problem being that W3TC minify does something that the scripts don’t like, only on the “Single” template pages. Some sort of JavaScript file conflict. I’m still sorting through this to find out which one is the culprit, and attempting to re-order the JS files.
Otherwise with the “Ajax_the_views” plugin works on other pages. Both Post Ratings and Post Views work. Post Ratings, just seemed to work without changes anyway, as it preforms an Ajax call to update the rating.
I have now removed all JavaScript files from minify for the template “Single”.
I’m now going back and adding the JavaScript files one by one to determine which work under minify.
I’ve also posted elsewhere searching for a solution to this.
Post Ratings works for me. Thankfully. 8)
However, Post Views, does not. I found a plugin that does an Ajax call to update and get the count.
Ajax_the_views
https://www.scratch.com/wordpress-plugin-ajax-the-views/I’m running a network (multi user) site. On the main site, it breaks, but there could be another plugin that is causing it to fail.
However on the second sub site, the plugin does the job.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] WP-PostViews Not UpdatingI have the same issue with WP-PostViews not updating. I followed your suggestion and switched to “Disk” cache, and it still does not update. I have also flushed the cache and deployed the changes.
Suggestion?
d’oh! I figured it out.
Pages have tags.
I had in the YARPP options, Tags = require at least one tag in common.So therefore, no matches.
Now I have set Tags = consider
I have results on Pages.
Mitcho, please consider adding this tip to your documentation for idiots like me, and save us from ourselves. 8)
related_entries() does not work for me on Pages.
I’ve lowered the score threshold to 1 and still nothing on pages. The page I am testing has a title that is repeated in many other posts and pages. So I don’t understand why it does not work.I have also tried using the template code, copied and pasted directly. Still does not work.
How do you get this to work in Pages?
Forum: Plugins
In reply to: [Sub Page Summary] [Plugin: Sub Page Summary] Preview ImageOK, I figured it out. Your plugin grabs the first? image attachment and displays it, otherwise of course there is no imaged. Can you please confirm if it does indeed grab the first image?
Any chance of integrating WordTube with NextGen Gallery?
Any documentation available for writing NextGen Gallery plugins?
Forum: Fixing WordPress
In reply to: [Plugin: podPress] only one mp3 file appearing for each pageI have found the solution:
PodPress in WordPress 2.6 (Andrew Ozz on WordPress)
https://azaozz.wordpress.com/2008/07/31/podpress-in-wordpress-26/
Works nicely.
Forum: Fixing WordPress
In reply to: [Plugin: podPress] only one mp3 file appearing for each pageI have exactly the same problem.
Forum: Fixing WordPress
In reply to: is_author – Myth? or am I misusing the function?I made the same mistake. is_author() is only for archives or testing if the current page is the author’s profile page.
https://codex.www.ads-software.com/Conditional_TagsYou need to do a check against get_the_author()
https://codex.www.ads-software.com/Template_Tags/get_the_authorYes, same problem here. Image resizing does NOT work. I also have setting large enough to do the job.
# Memory usage : 18.45 MByte
# MYSQL Version : 4.1.22-standard
# SQL Mode : Not set
# PHP Version : 5.2.6
# PHP Safe Mode : Off
# PHP Allow URL fopen : On
# PHP Memory Limit : 32M
# PHP Max Upload Size : 32M
# PHP Max Post Size : 32M
# PHP Max Script Execute Time : 24s
# PHP Exif support : Yes ( V1.4 )
# PHP IPTC support : Yes
# PHP XML support : YesGD support
* GD Version : bundled (2.0.34 compatible)
* FreeType Support : Yes
* FreeType Linkage : with freetype
* T1Lib Support : No
* GIF Read Support : Yes
* GIF Create Support : Yes
* JPG Support : Yes
* PNG Support : Yes
* WBMP Support : Yes
* XPM Support : Yes
* XBM Support : Yes
* JIS-mapped Japanese Font Support : NoForum: Alpha/Beta/RC
In reply to: What will WP 3 look like?Then OK peeps, what features would WP require to qualify it as a CMS?
Maybe there should be project fork such Muli User WordPress, or just a whole brand new project based on the same core code, as what happened with BBPress.
Thoughts please…