The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Refresh iforumpermission cache
Hi.
I tried to retrieve each usergroup permission on a given forum using the getpermission(forumid,0,groupid) function. (it would be too complex doing that uprising the inheritance at database level ... as I tried to do days ago... :hurt: ) But noticed, cycling by the usergroup, a strange behavior based upon the order I tested the groups. Analyzing the code, I realized there's a kind of cache of permission stored each time in global environment. So, for example, if I test first usergroups 6 and 5, I get they CAN access to some forum. If I test them later, after some other groups, I get they CAN'T do the same access to the same forum. Question is simple: how could I bypass this 'cache-due' strange and unpredictable behavior ? Thank you very much. Hope someone could give an answer. Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|