The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Setting Data Not Updating Correctly
I am having issues trying to get any data in the setting table to automatically update. The queries I am writing are working and the data is showing a change in the actual setting table for the specific value; however, the users don't notice a change which means I believe vbulletin has a cache setting or some other field I am missing. The hack I am working with as an example is :
Help Force Styles for Selected Users or Groups The hack works perfectly fine but I've run into an interesting troubleshooting issue on the way vBulletin works with its functionality. In that hack for example, the userids of users you want to lock is stored into the table called: setting with all values stored in the value field. So in my script I have it when a user purchases a store addon to lock another user to a specific style, it updates the specific value field related to the varname of "fsfsug_users". It works perfectly fine and the data is updated. I can physically login to PHPMyAdmin or even view in the Admin CP the data has changed. However, I've noticed a problem with vBulletin that it does not display any physical changes for the users to see. I can go into the Admin CP section and search for the setting under vBulletin settings and see the change; however, unless I click save for it again, the changes will never occur. I've noticed similar issues with vBulletin when working with the setting table not immediately updating so my question is what programming am I missing with vBulletin or function do I need to use to get the setting table to update for physical changes to be displayed for the end user? |
#2
|
|||
|
|||
Yes you wil need to update the datastore cache, as this is what will be used.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|