ScottMcGready
Forum Replies Created
-
Forum: Reviews
In reply to: [Duda Mobile Website Builder] RocksWhen browsing the WordPress forums looking at users reviews I rarely find one that convinces me to use a plugin. Not only did I laugh my ass off but I entirely agree!
Forum: Themes and Templates
In reply to: [Customizr] Custom page templatesRob,
Open up the index.php file and simply copy the code from that and paste it into your custom template file.
That should be you.
Forum: Fixing WordPress
In reply to: wp_update_userSorry man, the code is good but it just doesn’t seem to be working. It’s as if it’s still updating with the wp_get_current_user query is run…
EDIT: to clarify, by “working” I mean it’s still not displaying the correct result until refresh as if it’s lagging 1 change behind.
Forum: Fixing WordPress
In reply to: wp_update_userIt’s a weird one!
Forum: Fixing WordPress
In reply to: wp_update_userindeed it does. Weird thing is, sometimes the email address field goes blank and even although I’ve put a catch in to check for null password fields, it goes through sometimes as blank. Could be related.
Forum: Fixing WordPress
In reply to: wp_update_userNope, still an issue. Seems like a weird one to me. I’ve tried wp_create_user too but to no avail. It’s a tricky one.
Forum: Fixing WordPress
In reply to: wp_update_userNah, its a shortcode. after the wp_update_user, should I be calling anything? Everything else seems to update fine, just that email address thing is weird. Here’s the link: https://pastebin.com/i01tzqe1
Forum: Fixing WordPress
In reply to: wp_update_userAnd just for good measure:
if($differences != NULL){ foreach($differences as $diffkey=>$diffval){ if($diffkey == "user_email" || $diffkey == "user_pass"){ wp_update_user( array('ID' => $current_userq->ID, 'user_email' => esc_attr($diffval)) ); wp_update_user( array('ID' => $current_userq->ID, 'user_pass' => esc_attr($diffval)) ); }else{ update_user_meta($current_userq->ID, esc_attr($diffkey), esc_attr($diffval)); } } ...
Forum: Fixing WordPress
In reply to: wp_update_userIt’s a custom plugin. Basically displaying bits of the current user info and allowing them to change certain bits. everything else is cool, it’s just the email address seems to lag one behind. If I submit then refresh, it’s all good.
Forum: Fixing WordPress
In reply to: wp_update_userThanks for the response Josh. Hook what? profile update?
Cheers,
SForum: Plugins
In reply to: [Social Login] WP-FB-AutoConnect integration?Justin, I appreciate that time is money these days and you’re doing your best to answer questions quickly and accurately. That being said, I find wordpress to be a cut above other systems due to the userbase being a fantastic resource which we can all tap into. With this in mind, it’d be a shame for the wordpress support section to turn into a breeding ground of bad attitude and smarmy responses. Perhaps “No, it should be fine” is a better way of putting your comment rather than a very short, sharp, unpunctuated and uncapitalised no especially when the original user was asking very politely.
Forum: Themes and Templates
In reply to: [Customizr] Custom page templatesThanks Nicholas for the follow up. Pretty obvious now that you mention it! This worked
Forum: Plugins
In reply to: [WP Find Your Nearest] List UploadHi Jane,
I used WP CSV upload. It works well with this plugin as posts are just a custom post type.
Forum: Plugins
In reply to: [WP Find Your Nearest] Really slow performanceHi Adam,
No problem. Yeah it is a lot of records. If I get round to rewriting it then I’ll give you the source. FYI I’ve added a feature to mark a record as a premium listing, it’ll show these ones first before the others. I’ll keep you posted.
Cheers,
S