Thanks to Kirby for the fix..
Btw.. when trying to find a fix myself i realized that this plugin is run on MOST vbulletin pages... fetch_userinfo_query hook is ran on nearly all vbpages!!! at least all i tested.. so the query gets "heavier" on pages it is NOT needed...
what i did.. I rewrote the original plugin.. adding Kirby's fix
Advantage: its only called on pages where it is really needed.. AND there is no additional plugin needed..
Second: when zach or chuck release an official fix.. you only need to overwrite the file...
so here is my new fetch_userinfo_query.php:
Code:
Content visible to verified customers only.
You still have to replace lastpostid with gallastpostid in templates:
adv_gallery_member_stats, adv_gallery_member_block
I am more comfortable with this solution rather than using an extra plugin where you have to play with execution priority...
Drawback: you have to edit the array
$gallery_display = array("member","index","adv_index");
with the THIS_SCRIPT definitions of non-gallery pages where you want the gallery stuff to display.. here in the example you have profile, forumhome and cmps index
You only have to edit if you use others than those above.. if you dont use vba cmps you can remove the adv_index
Luc
PS: It worked as expected on my install.. let me know if there is a drawback...