The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Location of ban message code?
I'm looking to add some of my own code into the "User Blocked" message a member receives when they have been banned, but have had no luck finding where the original code is.
Can anybody tell me where this might be? |
#2
|
||||
|
||||
Search phrases for what the banned user sees,if it's "user blocked" then search for that.
admincp>languages and phrases>search in phrases you'll be able to edit the text,not sure about adding actual code though. |
#3
|
|||
|
|||
Thanks for the quick reply, although I couldn't find the phrase.
Instead I've decided to put a usergroup check in the header template. The code I'm writing at the moment is in attempt to detect whether a user has been banned even if they're not logged in, and I need to be able to call up the "User Blocked" screen upon a result. Is there any way to do this? |
#4
|
||||
|
||||
Quote:
you can put banned users ip addresses in and block the site entirely, redirect them elsewhere, all kinds of stuff. One of the best mods ever made. https://vborg.vbsupport.ru/showthrea...ight=miserable |
#5
|
|||
|
|||
Does that work if they're using a proxy though?
I'm planning to have a shared object stored on their computer using flash once they are banned, and then if the shared object is found it'll show them the "User Blocked" screen; It won't matter if they clear their cookies or use a proxy, because if the shared object is found in the application data folder on their computer it will detect it and show them the "User Blocked" message. Plus, this is more of a learning exercise for me. xD; So yeah, I need to be able to call the "User Blocked" screen if the shared object is found. Is there any way to do this? Edit: Found it, "print_no_permission();" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|