qTranslate & BuddyPress… make it work but…
I’m using a single WordPress 2.9.2 and BuddyPress 1.2.3 with BuddyPress Template Pack 1.0.2.
When I was using the links of BuddyPress (Activity, Profile, Messages…) I was redirected to a 404 error page…
After hours and hours I realised that it was my qTranslate plugin which were annoying me.
So I’ve been through the plugin and in the file qtranslate_hooks.php I noticed this section: // Hooks (execution time non-critical filters)
Inside of which I find a code called: add_filter(‘clean_url’,’qtrans_convertURL’);
I just change this code to: remove_filter(‘clean_url’,’qtrans_convertURL’);
And everything was working perfectly… my qTranslate was translanting as usual and all my BuddyPress links were working like a charm…
mmmmmm… interesting… cause I don’t really know what the function add_filter(‘clean_url’,’qtrans_convertURL’); is about?? and how and where the new function remove_filter is gonna affect my site???
You must be logged in to reply to this topic.