Bar?? ünver
Forum Replies Created
-
Forum: Reviews
In reply to: [Speed Booster Pack ? PageSpeed Optimization Suite] Best Plugin Page SpeedThank you for your review, @helmifadlilah! ??
Forum: Plugins
In reply to: [Booster for WooCommerce] 1250 option fields???you could (should) at least group the module options in single, serialized DB fields. And maybe not “autoload” them even when the modules are inactive. I really like this plugin, I even thought purchasing it & translating it but seriously, it has sooo much load on server resources.
Forum: Plugins
In reply to: [Booster for WooCommerce] 1250 option fields???…hello? Anyone there?
Forum: Plugins
In reply to: [Booster for WooCommerce] 1250 option fields???Last suggestion: The “settings exporter” tool neatly crunches all settings into a single, small file with serialized settings. I’m not an expert but can you save the fields to the database like the export file? In my example, my settings export file takes up ~100KB of space. When you load this as 1250 different queries, it’s slower, but one single query of 100KB wouldn’t be too hard on the server.
Forum: Plugins
In reply to: [Booster for WooCommerce] 1250 option fields???One more thing: I’m using only a few of the Booster modules, yet all settings of all modules are saved to the database with their default values. And if you intend to fix this, you should also add a tool to the Booster Tools page to cleanup unused settings.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Stats are gone… or are they?Hey Ryan, everything looks good. Thanks!
Hey guys! I’m also having the same problem with non-Latin characters (some special Turkish letters in my case) and I already reported this to Jetpack’s support system a couple of months ago (20 Oct 2014, ticket #1975657, Adam H. was on it).
Just wanted to say that I’m happy this is not a problem specific to one user :). Hope you (we) can solve this.
PS: I didn’t move my site, I don’t think it’s a server migration related problem.
Forum: Fixing WordPress
In reply to: Mapping users/profiles to a subdomainHey Rob,
WordPress allows using custom “user” and “usermeta” tables in the wp-config.php file:
https://codex.www.ads-software.com/Editing_wp-config.php#Custom_User_and_Usermeta_Tables
So; if you have two separate WordPress installations in the same database, you can use the user-usermeta tables from the primary installation like below:
define( 'CUSTOM_USER_TABLE', 'hhl_users' ); define( 'CUSTOM_USER_META_TABLE', 'hhl_usermeta' );
Change the
hhl
prefixes with the prefix of your primary WP installation and you’re good to go.Wait, I think you’re right – I tried another theme with v2.3.3 and it works, loads the scripts in the <head>. Gotta check my theme again ??
Actually, I’m not sure but I think it’s Jetpack’s Sharedaddy that loads jQuery in the footer – I don’t even have any reference to jQuery in my theme :). When I check out
jetpack/modules/sharedaddy/sharing-service.php
, I see that it registers the ‘sharing-js’ script with a dependancy to jQuery (line 593), then adds an action to ‘wp_footer’ for thesharing_add_footer
function (line 594) which enqueues the ‘sharing-js’ script (and jQuery, since ‘sharing-js’ depends on it) in the footer (line 420).Can you check if it’s correct?
Hey. I can’t really recreate the error (since it effects my blog in a bad way and I don’t want to lose visitors because of that) but I can paste the HTML sources of this URL:
v2.3.1 source (the page with no errors):
https://sharetext.org/EgIVv2.3.2+ source (the page with 4 JS errors):
https://sharetext.org/qQXG(I just changed the file
jetpack/modules/sharedaddy/sharing-service.php
to recreate the error temporarily, so don’t mind that both sources show the version number 2.3.3.)As you can see, in the new versions, the required external JS files load after the inline JS. I’m not very good with JS, could this be the error?
Nope.
The problem is with the file below:
jetpack/modules/sharedaddy/sharing-service.php
The 420th line was like this on v2.3.1:
wp_print_scripts( 'sharing-js' );
The 420th line was changed with this with v2.3.2 and the following lines were added:
wp_enqueue_script( 'sharing-js' ); $recaptcha__options = array( 'lang' => get_base_recaptcha_lang_code() ); wp_localize_script('sharing-js', 'recaptcha_options', $recaptcha__options);
I think when you changed wp_print_scripts() to wp_enqueue_script(), jQuery is loaded after the following lines, causing them to fail:
<script type="text/javascript"> jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-facebook' ).on( 'click', function() { window.open( jQuery(this).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; }); }); </script> <script type="text/javascript"> jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-twitter' ).on( 'click', function() { window.open( jQuery(this).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; }); }); </script> <script type="text/javascript"> jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-google-plus-1' ).on( 'click', function() { window.open( jQuery(this).attr( 'href' ), 'wpcomgoogle-plus-1', 'menubar=1,resizable=1,width=600,height=600' ); return false; }); }); </script> <script type="text/javascript"> jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-linkedin' ).on( 'click', function() { window.open( jQuery(this).attr( 'href' ), 'wpcomlinkedin', 'menubar=1,resizable=1,width=580,height=450' ); return false; }); }); </script>
Hope it helps ??