Chris Gagner
Forum Replies Created
-
I had disabled it and tried other plugins, but they also didn’t work. It appeared to be a problem with either another plugin or theme.
I have now reinstalled the I Recommend This plugin, and it appears to be working. Can you verify that you can click a link without being logged in?
I can’t pinpoint what caused this, but it might have been a setting on a security plugin i was using.
Forum: Plugins
In reply to: [Admin Columns] Comments in User SectionThanks. I don’t know how I missed that option.
Along the lines of this request, it would be great to have a blacklist username list.. you could add usernames such as “admin” to the list. If someone tries to login using any of them, they are banned permanently (or for a very long time).
What are the other rules? I didn’t mean to cause any trouble. If I have the entire list, I’ll make sure I follow them.
Is there an official posting of the rules? I would like to read it so that this doesn’t happen again. I just assumed as long as I can post a link, then it’s ok to post a link as long as it’s relevant to the discussion. That’s usually how it works on the web.
If you have a link to the rules, please share it on here.. although that might be breaking the rules too. I’m not sure.
As far as the sharing buttons, these have been removed. Bad experiment that has seemed to result in much more negative than positive.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Compatibility with YoastI use yoast with it without any problem. Just don’t turn on Yoast’s sitemap generator.
I used this plugin for the sitemap because I had a lot of problem with the Yoast plugin when it came to creating sitemaps. I kept getting random 404 errors when trying to access my sitemap.
FYI, here’s the link where I found my solution:
http://crasstalk.com/2013/06/how-to-get-the-real-ip-address-when-all-traffic-comes-from-cloudflare/
I figured out my problem. It wasn’t displaying MY ip, but rather my server’s IP for ALL activity.
That’s why I was a little confused. The plugin was detecting my server’s IP address, and locking out the server’s ip. Quite a little issue.
This was due to the server being setup to some sort of reverse-proxy. The same thing can happen to some people when they use cloudflare with their site.
I was able to correct it by adding the following code to my wp-config file:
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"] ? $_SERVER["HTTP_CF_CONNECTING_IP"] : $_SERVER["REMOTE_ADDR"];Sorry for the confusion, but i was able to get it worked out. Thanks for the help.
Forum: Fixing WordPress
In reply to: If Conditional – Time RangeThanks. This works perfect.
Forum: Plugins
In reply to: [Evergreen Post Tweeter] Include Image in Tweet+1 on this feature. I would love to see it.
Forum: Plugins
In reply to: [ITRO Popup Plugin] Changing DB Prefix breaks pluginFor now, i located the two itro tables in phpmyadmin and changed those prefixes back to wp_. Everything is functioning good now. You might want to research why this happening and update the plugin, since it is recommended for security that the database prefix be changed.
It’s under wp security – user login – failed login reports. The report lists my ip address, user id 0, username admin and the date when it failed. It happens about every 3 minutes. When i enabled the lockout for failed logins, i was locked out from my own ip pretty quick. Any ideas what might be causing this?
Forum: Plugins
In reply to: [YITH Newsletter Popup] Popup on every pageloadI made 2 tweaks to the code to accomplish what I needed. It might not be the cleanest solution, but it works for now.
In class.yith-newsletter-popup-frontend.php, I added the following bold code:
/**
* Constructor
*
* @return YITH_Newsletter_Popup_Frontend
* @since 1.0.0
*/
public function __construct( $version ) {
$this->version = $version;
global $yith_newsletter_popup_base;
$yith_newsletter_popup_base = “yith-newsletter-popup-” . basename( get_template_directory() ) . “-hide-popup-” . get_option(‘yith_newsletter_popup_cookie_var’);
if (
( ! yith_newsletter_popup_is_enabled())
||(isset($_COOKIE[$yith_newsletter_popup_base]))
||(isset($_COOKIE[‘visited’]))
// ||(wp_is_mobile())
) return $this;
add_action( ‘wp_enqueue_scripts’, array( $this, ‘newsletter_popup_in_place_inserter_master’), 99 );
add_action(‘wp_head’, array( $this, ‘newsletter_popup_style_to_the_head’));
add_action(‘init’, array( $this, ‘add_google_fonts’));
add_action(‘wp_footer’, array( $this, ‘newsletter_popup_in_place_inserter’), 999);
return $this;
}This checks to see if a cookie named “visited” exists. If it does, then it hides the popup.
In yith-newsletter-popup.php, I added the bold code:<?php
/**
* Newsletter Popup page
*
* @author Your Inspiration Themes
* @package YITH Newsletter Popup
* @version 1.0.0
*/
;?>
<!– yith-newsletter-popup –>
<?php
setcookie(‘visited’, true, time() + 3600 * 2); // Save a cookie for 2 hours
$yith_use_woocommerce = yit_is_woocommerce_active()
&& get_option(‘yith_newsletter_popup_woocommerce_integration’) == ‘1’
&& get_option(‘yith_newsletter_popup_woocommerce_product_id’);if ( $yith_use_woocommerce ){
When the popup displays, it will set a cookie named visited. In this case I set it to 2 hours, but you can change it to whatever you need.
Now the popup will only display once every 2 hours, instead of on each pageview.
If there’s a better way to accomplish this, please let me know.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Edit Automatic Posts ContentSounds good. Any estimate when this upcoming version will be released?
Forum: Fixing WordPress
In reply to: Unlock Posts Over TimeI found out that this can be done using a feature called “drip feed”. I don’t know much about this. If anyone knows of a free plugin to accomplish this, let me know.