pinoyca
Forum Replies Created
-
RavanH, in case you are interested, I inserted the following line after line 948 of
idrive-for-wordpress/idrive.php
(version 1.0.7)if ( preg_match('/wp-content\/cache/', "$dir".DIRECTORY_SEPARATOR."$entry" ) ) continue; // skip wp-content/cache folder
+1.
Even if this is to your business disadvantage, I hope you fulfill this wish.
https://code.google.com/speed/page-speed/docs/rtt.html#CombineExternalJS
https://developer.yahoo.com/performance/rules.html#num_http
https://www.websiteoptimization.com/speed/tweak/http/
https://answers.oreilly.com/topic/489-how-to-minimize-http-requests-to-speed-up-web-pages/I don’t know what your sites’ visitors do, but 60% of mine visit only one page per visit. And since
external.min.js
is on the<head>
section, the browser stops doing everything until it finishes fetching this file, hereby delaying everyone from seeing the site. Again, please consider it.Forum: Plugins
In reply to: [Plugin: Recently Viewed Posts] How can I show 12 hours ago of post list ?The plugin display the titles of the last
x
number of posts that readers visited on your blog, not the posts that readers visited on the blog within the lasty
hours.I will make a future version do this, but I can’t promise when. Sorry.
Did I understand your question correctly?
Forum: Plugins
In reply to: [Plugin: Recently Viewed Posts] Help me ,there is a errorPlease upgrade to 2.1.0.1. I believe I have fixed it.
Thanks for letting me know, freewo, uwiuw and claud925. I’m sorry for the inconvenience.
Forum: Plugins
In reply to: [Plugin: Recently Viewed Posts] How can I remove the visists counter of bots?Hi, thanks for checking out my plugin!
Create a handler for the recently_viewed_posts_new filter in your theme’s functions.php that will return NULL on the bots’ visits. For example,
add_filter("recently_viewed_posts_new", "my_rvp_ignore_bot_visits"); function my_rvp_ignore_bot_visits( $item ) { $bots = 'Google|msnbot|Rambler|Yahoo|AbachoBOT|accoona|' . 'AcioRobot|ASPSeek|CocoCrawler|Dumbot|FAST-WebCrawler|' . 'GeonaBot|Gigabot|Lycos|MSRBOT|Scooter|AltaVista|IDBot|' . 'eStyle|Scrubby'; return (preg_match("/$bots/", $_SERVER['HTTP_USER_AGENT']) > 0) ? null : $item; }
The code is from Jay Paroline https://wanderr.com/jay/detect-crawlers-with-php-faster/2009/04/08/ . I hope this helps.
Forum: Plugins
In reply to: [Plugin: Recently Viewed Posts] how to remove bulletsHi there, Thanks for checking the plugin out.
To remove the icons, remove the
<img ...>
. The above code will become$html .= '<li><a href="' .get_permalink( $item[0] ).'">'.get_the_title( $item[0] ).'</a> ' .recently_viewed_posts_time_since( $item[2] ).' ago </li>'; if ( ++$count == $max_shown ) break; // i've shown enough
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] MySQL ErrorYour Related Cache table is corrupted. I suggest you drop the table in PhpMyAdmin and rebuild the cache in YARRP Admin. In PhpMyAdmin, run this command:
DROP TABLE wp_yarpp_related_cache;
I do this all the time. I don’t even include
wp_yarrp_related_cache
in my site backups.Like most things in WordPress and in life, DROP has no undo, so you may want to back up your database before you do this.
Forum: Plugins
In reply to: [Plugin: Recently Viewed Posts] Translation to dutchHey there. Thanks for checking it out.
The next version will be fully internationalized.
Forum: Plugins
In reply to: [Plugin: SEO Super Comments] Extending the CodeWell, if comment # 4848 is only one word, what DO you want to appear at https://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html?cid=4848 ?
To answer your question: Picking which comment becomes a clickable “cid” link or not can be done inside
SEOSuperComments_author_link()
. For example, addif (strlen($comment->comment_content) <= 5) return $link;
after the
global $comment;
.Forum: Fixing WordPress
In reply to: Can wordpress meet my needs?In a nutshell, Yes WordPress can be used for your client’s needs, though you will need a programmer to write the side menu.
> The business owner needs full access to update the site.
Check.
> Preferably he should have the ability to create additional users.
Check. Wait, do you need roles, permissions and auditing? If so, you need a programmer to write some code to enforce them.
> The main function is to add products.
Each product will be a “Page”.
> There will be a side menu on every page of the site linking to a separate page for each product category (they have a lot of products). He wants to be able to edit the order of how the products appear within each category’s page (i.e. not necessarily should they be in order of newest-oldest or a-z). He also wants to have the ability to change the order of the product categories on the menu.
You need a programmer for this. The complexity of his job depends on how intuitive or easy to want this rearranging done. The term for this in WP circles is “custom taxonomies”.
> I also need to create a form for the “contact us” page and leave control to him of where they are sent to (in others words he can change the e-mail address).
Done, using a Contact Us plugin.
> There should also be an efficient, working, and normal-looking product search engine for the page (not those cheap kinds that bring you to a new, different-looking site for the search results).
Done. Your programmer will easily cook up a search results page template.
Good luck!
Forum: Requests and Feedback
In reply to: Legal IssuesThe people at Automattic are the people to reach.
I hope this helps.
Forum: Plugins
In reply to: [Plugin: DB Cache Reloaded] Idea: Don’t cache queries that were fast enoughHi again,
I tried doing this on my own, by replacing two lines in
db.php
from:$dbc_cached = serialize($dbc_cached); $dbc->save($dbc_cached, $dbc_queryid); }elseif($dbc_cachable) {
to:
if ($this->timer_stop() > 0.0001) { $dbc_cached = serialize($dbc_cached); $dbc->save($dbc_cached, $dbc_queryid); } }elseif($dbc_cachable) {
(
SAVEQUERIES
was defined earlier.)After much trial and error during my servers’ busiest hours yesterday, I came to the conclusion that, at present, DB Cache doesn’t help me at all. On a typical blog page of mine, during heavy traffic, running the original queries was always faster than retrieving the results from the filesystem.
I’m writing you back right now because (a) benchmarks could show that DB Cache won’t help a blog, and (b) I suggested the idea in the first place.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Problem with 2.8.4 and Super Cache 0.9.6.1I think it would help us to know where you see this error message.
As for the other thing, is this repeat happening only in Super Cache or also in your other plugin option screens?
I think it would help us to know where you see this error message.