Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Jan 2010, 16:35
Samu3l's Avatar
Samu3l Samu3l is offline
 
Join Date: Mar 2009
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?
Reply With Quote
  #2  
Old 08 Jan 2010, 16:50
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
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.
Reply With Quote
  #3  
Old 08 Jan 2010, 17:13
Samu3l's Avatar
Samu3l Samu3l is offline
 
Join Date: Mar 2009
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?

Last edited by Samu3l; 08 Jan 2010 at 17:57.
Reply With Quote
  #4  
Old 08 Jan 2010, 17:24
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Originally Posted by Samu3l View Post
Thanks for the quick reply, although I couldn't find the phrase.

Instead I've decided to put a usergroup check in the headinclude 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?
Sounds like you're going to want the miserable users mod.
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.

http://www.vbulletin.org/forum/showt...ight=miserable
Reply With Quote
  #5  
Old 08 Jan 2010, 17:39
Samu3l's Avatar
Samu3l Samu3l is offline
 
Join Date: Mar 2009
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();"

Last edited by Samu3l; 08 Jan 2010 at 18:52.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:18.

Layout Options | Width: Wide Color: