Tim Gieseking
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] Storing custom cart item metaThat would be great. I kind of figured it had something to do with _wpsc_merge_cart, but I’m not quite familiar enough with how it’s all supposed to work.
Thanks for the help.
Tim
Forum: Plugins
In reply to: [WP eCommerce] Billing state/country issue on checkoutI would say it seems mostly fixed. The biggest issue seems solved now: When you submit a checkout form and it fails (maybe due to missing info somewhere on the form) the Country dropdown does maintain your selection. Previously it was losing that value.
The only weird thing is that if you deliberately leave the country dropdown unselected but type something in State it allows the form submission even though Country is required. This is not as big of a problem as the original issue, but if nothing else it’s a little odd because the country field is required.
I made a screenr to better show the behavior: https://www.screenr.com/KVRN
Would you rather I open an issue on Github for this?
Thanks,
Tim
Forum: Plugins
In reply to: [WP eCommerce] Billing state/country issue on checkoutThanks. I will test it out and get back to you.
Forum: Plugins
In reply to: [WP eCommerce] Billing state/country issue on checkoutDid you ever resolve this with 3.8.14.1? I’ve been looking for a solution, can’t seem to find one.
The problem seems to arise for anyone who comes back to the store and has their info stored, or someone who submits and receives a checkout error. The country dropdown is then empty, but also not validated on submission so it is allowed through. We end up with the wrong country.
Forum: Plugins
In reply to: [WP eCommerce] spam users in wp_users after wpsc upgradeWe’ve ended up with 1.2 million rows in wp_users and over 22 million in wp_usermeta. Didn’t realize this was even going on to this extent, or I would have kept a closer eye on it. We noticed because it started causing problems with Gravity Forms, which queries all the users in different areas.
Any advice on best way to delete this many? We tried just doing SQL queries and MySQL crashed — ended up unable to load anything that connected to MySQL, including Plesk panel. It’s a WP Network install, too, which may add a layer of complexity, but I’m not entirely sure.
In my theme’s functions.php file. The location in the file shouldn’t matter, just drop it in the bottom.
Ah. Thanks. That is the filter I was looking for.
Here is what I added to functions.php, if anyone else needs to do this:
function do_search_title($title) { if (is_search()) { global $paged; if ($paged > 0) { $title .= ' - Part ' . $paged; } } return $title; } add_filter('aioseop_title','do_search_title');Looking to do the same thing. Did you ever find a fix? I thought I could implement via the aioseop_title_page filter, but so far no luck.
Forum: Plugins
In reply to: [Tools for Twitter] [Plugin: Twitter Tools] Getting latest tweet with PHP.<?php echo do_shortcode(‘[aktt_tweets account=”ACCOUNTNAME” count=”1″ offset=”0″]’); ?>
Easiest way, in my opinion:
<?php echo do_shortcode(‘[aktt_tweets account=”ACCOUNTNAME” count=”5″ offset=”0″]’); ?>
Actually I just discovered the “Plugins” page in wordpress is inaccurate — I’m not running 1.1.7. I’m running 1.1.21. So that explains it.
Forum: Plugins
In reply to: Custom Post Type ParentAs far as why to use !is_admin(), it’s really up to you. It’s probably not going to matter either way. I just knew I only wanted it to run on the front end, so I added it, but the code was written quickly w/o much research.
I don’t know the circumstances under which current-page-ancestor vs current_page_ancestor are used by the menu system, but I have seen them both at times.
Forum: Plugins
In reply to: [SimpleMap Store Locator] [Plugin: SimpleMap] Importing CSVsmake your “simplemap” folder writable in the plugins directory.
Forum: Plugins
In reply to: SimpleMap import problem after 2.0 upgradeThe answer to the first problem is actually simple: The simplemap plugin folder has to be writable, because it moves the CSV to that location. Author may want to consider adding an error message, though. It kind of just dies. I’m sure it’s throwing one if PHP errors are enabled, but that’s not always the case.
Forum: Plugins
In reply to: [SimpleMap Store Locator] [Plugin: SimpleMap] Importing CSVsI’m having this same problem, along with a custom theme problem. Let me know if you figure out a fix, and I’ll do the same. Thanks.