The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
yes I guess this should work.. And I believe "$DB_site" variable also needs to be globalized in show_nopermission function.
|
#12
|
||||
|
||||
That code works great Xenon
You do need the $DB_site in the gobal variables and you also need to add this code: PHP Code:
PHP Code:
Thanks for the help guys, this is a great addition to online.php |
#13
|
||||
|
||||
Now we should convince Stefan to release it hehe
|
#14
|
||||
|
||||
So you are issueing two queries when a no_permission screen is shown? One with the location and then another to overwrite that with 'nop_'? You need to fix that Also show_nopermission() is not used everywhere that it should be so don't expect this to always work.
|
#15
|
||||
|
||||
Great idea. It would reduce the confusion of the admins and mods who think that members are accessing restricted pages when they're not.
|
#16
|
||||
|
||||
freddy you could share the code from vb3 with us, that'll solve the problems *ggg*
hmm, but show_nopermission is shown on most of the pages but good to know it works, now we can optimize it |
#17
|
||||
|
||||
Quote:
|
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
ah thanks freddie, intresting way it works.
thanks for sharing |
#20
|
||||
|
||||
Cool
Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|