TheMayhem
08-29-2010, 01:39 AM
I have spent most of my night trying to debug my product and finally zero'd in on a problem that users have been reporting since vB 4.0.2. I wasn't able to find any documentation or bug related issues so I figured I'd ask the forum in general if anyone knew.
For a very small portion of the people who use my product, the stored data in vbulletin settings are not working correctly in plugins. For nearly 95% of the users on hooks, I can use something like:
$grab = $vbulletin->options['market_gift_postbit']
And $grab would get the correct numerical or data value stored in the vbulleting database settings. However, for that remaining 5% of the users, it absolutely refuses to find out what $grab is and I cannot figure out why. It's been an issue since vbulletin version 4.0.2. The above example for those 5% of users would display nothing if I decided to echo it out or use it in an if statement, regardless of what data is stored.
The vbulletin settings are working perfectly fine on my files, the problem is only occurying when I try to use the above example in a plugin such as postbit_display_complete. Any help/advise would be appreciated.
For a very small portion of the people who use my product, the stored data in vbulletin settings are not working correctly in plugins. For nearly 95% of the users on hooks, I can use something like:
$grab = $vbulletin->options['market_gift_postbit']
And $grab would get the correct numerical or data value stored in the vbulleting database settings. However, for that remaining 5% of the users, it absolutely refuses to find out what $grab is and I cannot figure out why. It's been an issue since vbulletin version 4.0.2. The above example for those 5% of users would display nothing if I decided to echo it out or use it in an if statement, regardless of what data is stored.
The vbulletin settings are working perfectly fine on my files, the problem is only occurying when I try to use the above example in a plugin such as postbit_display_complete. Any help/advise would be appreciated.