TNELN
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Long Wait timeCan compression (then rendering) affect Wait time?
Forum: Plugins
In reply to: [WP Super Cache] Long Wait timeIf using PHP-caching, do I need the following in “wp-content/cache/.htaccess”?
# BEGIN supercache <IfModule mod_mime.c> <FilesMatch “\.html\.gz$”> ForceType text/html FileETag None </FilesMatch> AddEncoding gzip .gz AddType text/html .gz </IfModule> <IfModule mod_deflate.c> SetEnvIfNoCase Request_URI \.gz$ no-gzip </IfModule> <IfModule mod_headers.c> Header set Cache-Control ‘max-age=3, must-revalidate’ </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html A3 </IfModule>
# END supercache
Forum: Plugins
In reply to: [Plugin Organizer] Page settings not workingFalse alarm !!!
I deactivated Plugin Organizer and reactivated it, working again.
Forum: Plugins
In reply to: [Post Types Order] PaginationThanks for your reply,
It works initially but as soon as I use pagination (probably with lazy load) to load sub-categories, the customized order can not be retained.
must use bp-custom.php
It was a couple years ago a wrote this so can’t remember exactly what this does.
It gets the field “Email” from current user id and passes it to wp after a profile edit.
The field name must in this case be Email and you have to edit the profile from buddypress profile.
Try this
Example if your XProfile email filed = Email:
function copy_xprofile_email_to_wp() {
global $current_user;
get_currentuserinfo();
$user_id = $current_user->ID;
$email_to_wp = xprofile_get_field_data(‘Email’, $user_id);
wp_update_user( array (‘ID’ => $user_id, ‘user_email’ => $email_to_wp ) ) ;
}
add_action(‘bp_after_profile_edit_content’, ‘copy_xprofile_email_to_wp’);same here
Forum: Plugins
In reply to: [W3 Total Cache] minify absolute path problemsame here
Ok, thanks ??
Many thanks ??
Thanks.
On fbdevelopers I was advised to send a bug report.
I have tried Wireshark and Traceroute to find out from which CDN Post Photos are fetched, these seems indeed to be correctly served from a nearby CDN (Ireland, maybe chosen by “fbcdn.net” with some load balancing mechanism) but from not my country (Sweden), this server is very slow. I have read that Facebook started two data centers in northern Sweden recently but I don’t know what kind of data they are serving from there.
Profile Photos are instead served from “akami” servers located in Stockholm (this is very fast). This may explain why it is slow. Also connections to “graph.facebook.com” is relatively slow.
Another thing is Post Photos are not appearing in Internet Explorer 8.
Thanks for your help ??
Could it be some of my own content like
js
scripts that is actually blocking loading of photos from Facebook Post Photos?I can see now with Wireshark that a nearby CDN from fbcdn.net was chosen (not in my country), but it is still very slow.
Fetching Profile Photo using graph.facebok.com will correctly return a photo from one of “akamaihd.net” CDNs in my location, this is very fast. But fbcdn.net seem always return a photo from “scontent.xx.fbcdn.net” located in the U.S.