river-clement
Forum Replies Created
-
Forum: Plugins
In reply to: [File Away] Stats not working with iOS devices (iPad / iPhone)Hi – no, only tested on latest standard Safari on iPad and iPhone. Client reported it – am guessing he didn’t have adblock. I verified on mine where I had adblock. We’re not using stats here, so workaround is fine for us, but wanted to report behaviour. thx
Assuming you have things to favourite throughout site, you can put it in footer.php of child theme.
You would wrap it in
<script> </script>tags.Have highlighted the code in bold that would change for the userpro plugin. They have email support, so you’ll have to get them to comment on what the code should be for that particular user pro plugin.
<script> jQuery(document).ready(function() { jQuery('.simplefavorite-button').click(function() { if (!jQuery(this).hasClass('active') && !jQuery('body').hasClass('logged-in')) { // the clicked element doesn't have the active class and user not logged injQuery(‘#ajax-login-register-login-dialog’).dialog(‘close’);
zMAjaxLoginRegister.open_register();
if ( _zm_alr_settings.pre_load_forms === ‘zm_alr_misc_pre_load_no’ ){
zMAjaxLoginRegister.load_register();
}} else { return true; } }); }); </script>Maybe try something like follows – have assumed a plug in such as ZM Ajax Login & Register.
jQuery(document).ready(function() {
jQuery(‘.simplefavorite-button’).click(function() {
if (!jQuery(this).hasClass(‘active’) && !jQuery(‘body’).hasClass(‘logged-in’)) {
// the clicked element doesn’t have the active class and user not logged in
jQuery(‘#ajax-login-register-login-dialog’).dialog(‘close’);
zMAjaxLoginRegister.open_register();
if ( _zm_alr_settings.pre_load_forms === ‘zm_alr_misc_pre_load_no’ ){
zMAjaxLoginRegister.load_register();
}
}
else
{
return true;
}
});});
Forum: Plugins
In reply to: [HL Twitter] Tweets are no longer stored in DBMake sure you :
1/ update twitter user id field in both tables -> changing in all cases the field to bigint.
2/ delete any existing users and tweets.
3/ recreate user and reimport.good to go!
Forum: Plugins
In reply to: [HL Twitter] Tweets are no longer stored in DBFound the answer in one of the reviews :
“I made a new account in twitter and my new tweets were not imported to my web site. I got the message “No tweets were returned by the Twitter API. Please try again later.”. After some hours we found out that in the table hl_twitter_users there is some another user_id. It happened because the type of column twitter_user_id is INT and is too short for a new twitters id’s. We changed it on BIGINT and now everything is OK.
Please, pay attention with it!”Should build this into an update. It worked a treat for me.
Forum: Reviews
In reply to: [HL Twitter] Plugin does not work correctly with a new account twitter id'sThis worked a treat and should have higher profile in support section!!
Forum: Plugins
In reply to: [Custom Post Type UI] 4.0 upgrade yields blank add & edit screens for CPT UIHi – if this is related to non-support of 4.0, would recommend to anyone to proceed with caution 🙂 be assured that though you might mess up CPT UI by editing array and delete admin view of custom posts, all custom posts remain in database and you can recreate all your custom post types manually via register_post_type function.
This issue is resolved for me.
yes, thank you.
Finally found the set up in the Polylang strings translation tab for Polylang options.
There is a responsive-menu option. Updated main-menu string to reflect correct menu slug for each language.