Jungle Tiger
Forum Replies Created
-
I found the solution late last night. In the admin panel, under Appearance > Customize > Product Archives
Hope this helps someone else too.
I am also unable to find any options to configure this plug-in anymore. I know my old settings are working, because when disabled, they are no longer applied.
Forum: Plugins
In reply to: [WooCommerce USPS Shipping Method Plugin] Unable to add to 'Shipping Zones'I see that it adds it automatically. But I am looking for a way to control when it shows these options by region.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Redirect on loginOk, I tried that code mainly here:
$current_page = trailingslashit( home_url( add_query_arg( array(), $wp->request ) ) )
and the result of that code run on the server returned just the website, without a specific page.
Is there any way in the function that you have here:
add_filter( 'wpmem_login_redirect', 'member_login_redirect' ); function member_login_redirect() { ........
to determine the page that you are going to? Basically the end result will be if you use the login page, you return to home. But any other page returns you to the page you where previously viewing.
Does that help any?
Ok, Thanks
Thank you. The change in tracking code seems to have worked. And for now I am just going to ignore the blocked ip list and see if it is still needed.
Last question: What is the performance hit on country / ip block? Will this slow my website down a bunch?
Ok, I deleted my google tracking profile for that web domain and replaced it with a new tracking profile. I will see if that helps.
Next Question: I was using IP Ban to ban a large list of IP Addresses. I have both ranges like this:
103.4.8.0-103.4.15.255
107.20.0.0-107.23.255.255and single ones, as well as wildcards like this:
54.210.145.*
54.237.51.154Can I just copy these into the firewall config as is or do I need to change or adjust them?
So I have tested it and it shows that it is blocking. However I am still getting hits in my analytics from counties that are blocked.
In fact all the sessions I have had today should have been blocked, as the country that analytics shows is one of the blocked countries.
The firewall logs do not even show the traffic that should have been blocked. I also checked the server access logs by IP and none of the accessed IP’s where in the country that was blocked (other than my tests). Maybe the traffic I am seeing is spamming google directly?
Ok, I have worked my way through the code and found the problem to be this bit:
<?php echo $image->thumbcode ?>
This is where the lightbox code comes from. I am not sure what to change it to. For now I have created the lightbox code in my code and got it working that way, however I am sure there must be a better fix.
What did the lightbox code change to if not the code I put above?
I just tested the upgrade again. This time the page is totally broken. and won’t load completely. If I roll back, everything works again. It has to be in the code above. If I change it to the default template instead of mine above, it works but no longer opens the gallery in a lightbox like my template above does.
Ok, so my guess would then be its related to a parent theme I have. My parent theme shows like the extended album, but shows a lightbox with the entire gallery (only the one you click on) when clicked on instead of going to the gallery.
Can you help me find the issue in the code below? This code works fine in version 2.0.66.37 and maybe sooner, I just had to roll back to make it all work again. It does not work in the current version.
<?php $this->start_element('nextgen_gallery.gallery_container', 'container', $displayed_gallery); ?> <div class="ngg-albumoverview"> <?php foreach ($galleries as $gallery) { ?> <div class="ngg-album"> <div class="ngg-albumtitle"> <?php echo_safe_html($gallery->title); ?> </div> <div class="ngg-albumcontent"> <div class="ngg-thumbnail"> <?php $images = nggGetGallery( $gallery->gid ); $imgcntr = 0; ?> <?php foreach ( $images as $image ) : ?> <?php if ( $imgcntr == 0 ): ?> <a class="gallery_link" href="<?php echo $image->imageURL ?>" title="<?php echo str_replace("\"", "'", $image->description); ?>" <?php echo $image->thumbcode ?>><img class="Thumb" alt="<?php echo esc_attr($gallery->title); ?>" src="<?php echo nextgen_esc_url($gallery->previewurl); ?>" width="200px" height="132px"/></a> <?php $imgcntr++; ?> <?php else: ?> <a href="<?php echo $image->imageURL ?>" title="<?php echo str_replace("\"", "'", $image->description); ?>" <?php echo $image->thumbcode ?> ></a> <?php endif; ?> <?php endforeach; ?> </div> <div class="ngg-description"> <p><?php echo_safe_html($gallery->galdesc); ?></p> <?php if (isset($gallery->counter) && $gallery->counter > 0) { ?> <p class="ngg-album-gallery-image-counter"><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p> <?php } ?> </div> </div> </div> <?php } ?> </div> <?php $this->end_element(); ?>
And the function call:
function nggGetGallery( $galleryID, $template = '', $images = false ) { global $nggRewrite; $ngg_options = nggGallery::get_option('ngg_options'); //Set sort order value, if not used (upgrade issue) $ngg_options['galSort'] = ($ngg_options['galSort']) ? $ngg_options['galSort'] : 'pid'; $ngg_options['galSortDir'] = ($ngg_options['galSortDir'] == 'DESC') ? 'DESC' : 'ASC'; // get gallery values //TODO: Use pagination limits here to reduce memory needs $picturelist = nggdb::get_gallery($galleryID, $ngg_options['galSort'], $ngg_options['galSortDir']); return $picturelist; }
Thanks, I have no clue what exactly changed so I don’t even know where to start.
Forum: Plugins
In reply to: [Post Notification by Email] No email sent when posting from the Android AppWhere would I submit this request on GitHub?
Forum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Not require a Store BaseClosed
Forum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Category WidgetI managed to find a plugin that does exactly what is needed, and supports custom taxonomy. That plugin is Collapsing Categories.
Thanks
Forum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Not require a Store BaseI guess the best I can do is make is shop instead of store. At least then it goes /store/shop/product/…
Thanks