Quote:
Originally Posted by kh99
Does it affect something else the way it is (not that it matters, I'm just curious). Anyway, I suppose you could make the url member.php?self=1, then check for that, like:
Code:
if ($vbulletin->GPC['userid'] == 0 && $_GET['self'])
{
$vbulletin->GPC['userid'] = $vbulletin->userinfo['userid'];
}
|
No it doesn't affect anything else, but I want to try and avoid changing default vbulletin behaviour wherever possible.
Quote:
I was trying a few of my own mods, and most work but one did the same thing you described. I finally figured out that it was just because the productid I have when I edit the product in the admincp (the one in the <version>..</version> tags in the xml) doesn't match the id I put on the url (and in the mod post), because at some point I changed it (but not everywhere, apparently). So I guess make sure that yours matches everywhere.
|
Alright, so what's the easiest way to change it, if I change it only in the xml for the file then all the people who have it installed will have multiple plugin listings. Would I need to manually edit all the tables (i.e. template, plugin, phrase, etc, etc)?