The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Sorry, I thought it was fairly clear. When a banned user is logging in or visiting the site while the session is still active.
So lets say user X is banned a week previous, and he visits the site. If certain conditions are met, I want to run a custom function that unbans that user. I know how to do it, but I don't know where to put it. Like I said, if it is placed in global_start, the user still sees the "You are banned" message initially, upon a refresh or viewing a different page, the message is gone, as it should be since the user is unbanned. Now I suppose I could just make another call to vB_Session::fetch_userinfo but that would seem redundant and I am not totally sure if it would fix the problem. Is it easier to keep it where it is and just recreate the user permissions/settings/info? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|