Corey Salzano
Forum Replies Created
-
Forum: Plugins
In reply to: [Bottom of every post] Upgrade Deletes CustomizationsYep. Here’s the upgrade notice I published with the latest update:
This update makes the plugin more effective at preventing my name and phone number from being shown on random websites that people do not update. If you accept this update, backup your bottom-of-every-post.txt file so you can restore the custom message you now have.
Forum: Plugins
In reply to: [Recent Comments Widget with Comment Excerpts] Style widgetNicole:
I am publishing a new version of this plugin today to allow you to target the author name with CSS.
You can add this CSS to your theme’s stylesheet to change the look of the authors’ names.
.recentcommentsauthor{ color: #1d730f; font-weight: bold; }
Find your theme’s stylesheet under Appearance > Editor. It will likely be the first file that opens up in the editor.
The version of the plugin you need for this to work is 0.121230, and it will be available to you as an update sometime today.
This issue is caused by a plugin or theme replacing the built in jQuery UI library with a different version. This is specifically ill-advised here: https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script
The solution is to alter the plugin or theme so the built in version of jQuery UI is used.
More details on this problem here where we exchanged comments. Sorry if it feels like I am following you around the web offering the same advice: https://www.reddit.com/r/Wordpress/comments/14y2pk/anyone_else_have_dashboard_issues_while_using/
Forum: Plugins
In reply to: [Bottom of every post] Get error trying to use PHP in .txt filexiabolai:
Thanks for trying my plugin. You are correct, this plugin will not execute PHP stored in the text file.
It looks like you are trying to put a “share on pinterest” widget at the bottom of each post. You could create a widget area on your theme, and use a pinterest widget instead of my plugin.
Another idea is to get one of the plugins that allow PHP to be executed in pages and posts. I don’t like this solution very much because it’s a bit ugly and the plugins that accomplish this contain a PHP eval call.
To directly answer your question, is there a way you can modify my plugin to execute PHP stored in the text file, probably. I don’t recommend it, though, because you would be saving PHP code in a text file that would be loaded and executed by some other PHP. That’s a bad design. The best solution would be to find or make a pinterest widget, and customize your theme to have widget areas near your posts in the spots where you would like the widget to appear.
Thanks again.
Forum: Plugins
In reply to: [Clobber spam users] No resulltsThanks for trying my plugin. I pulled the database query out of the plugin to post it here, and you could run this on your database if your table prefixes are the default
wp_
.SELECT wp_users.ID, wp_posts.ID AS post_ID FROM wp_users LEFT JOIN wp_posts ON wp_users.ID = wp_posts.post_author WHERE wp_posts.post_title <> 'Auto Draft' AND wp_posts.post_type = 'post' ORDER BY post_date DESC LIMIT 30
This finds all the recent posts with the exception of Auto Drafts. This will include posts that are not spam. The plugin does not detect spam, it simply spits out the authors of the latest posts or drafts and allows you to choose which ones are spam.
If you see nothing in the list, I wonder how your installation is different from mine. Are your posts being created with a
post_type
ofpost
? Are the submitters of items to your site real users that are in thewp_users
table?Thanks for your feedback, and thank you for trying my plugin. Is your website hosted on your computer? When you make the request from your browser, that makes you client number one to hit the twitter API from your computer’s IP address unless you host websites that do so on your machine.
It’s your web server that might have lots of other clients hitting twitter all day that could prevent you from getting data. Each time I update the plugin, I examine the caching logic that saves a backup of tweets it is able to retrieve, and I will continue to do so. Thanks again.
Forum: Reviews
In reply to: [Clobber spam users] be carefullThe list of users is not screened or populated using any spam signals. The list is simply the most recent users that have submitted posts. My workflow for this plugin is this:
- Look at list for emails ending in @hotmail.com and spam like domains such as @solar-energy-info.com
- Check the spam users based on the email and post title
- Click the Clobber Users button
It’s simply a plugin for me to look at each day and delete 20 or 25 users that have submitted 30 or 50 posts. The good users with good posts submitted that day show up, too.
Again, I’m sorry I ruined your day. I believe the latest update will prevent the case where it deletes every post on the site when no users are checked and the button is clicked.
The blog post I wrote for this plugin describes how to prevent it from showing on the home page. Perhaps this code example will give you some clues. https://www.tacticaltechnique.com/wordpress/bottom-of-every-post/
The plugin will have to be edited to not show on your landing pages using some logical criteria. It could be modified to not be shown on certain categories.
The blog post I wrote for this plugin describes how to prevent it from showing on the home page. Perhaps this code example will give you some clues. https://www.tacticaltechnique.com/wordpress/bottom-of-every-post/
If you want me to make a custom version for you, click through to my profile to find my email address. Thanks for trying my plugin.
Not with this plugin. I have a plugin that you may like. It combines post count and comment count into a single number to rank the top users.
Forum: Plugins
In reply to: [Recent Comments Widget with Comment Excerpts] Style widgetThe easiest way to do this is to create CSS rules to apply the style you desire, and save those CSS rules in your theme’s stylesheet.
Forum: Plugins
In reply to: [Recently Updated Pages and Posts] recently created pagesSure, but you’ll have to do minor surgery in the PHP file.
- Open it in a text editor
- Look at line 56, this is a database query that gets the posts
- Find
ORDER BY post_modified_gmt
- Change that to
ORDER BY post_date_gmt
This is not possible with my widget without a bit of custom work.
Not yet.
- Are you sure your server’s PHP installation has json and curl or wget installed?
- Are your tweets public?
- Do you know how many websites are running on the same server as yours that are accessing the twitter API?
Twitter limits the amount of times you can request their data, and once that limit is reached they stop fulfilling requests for as long as they want. If there are 100 other websites on your server all fetching twitter data, there’s not much my plugin can do for you.