Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Redirect Ban Details »»
Redirect Ban
Version: 1.00, by colicab-d colicab-d is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-11-2003 Last Update: Never Installs: 5
 
No support by the author.

Crafty Banning Hack - v1
By Colicab
For VB 2.2.x (any 2.2. board)
////////////////////////////

Redirect certain user ids to any site you wish.
Note you must replace xx with the user`s id you wish to
redirect.

Note you may also replace ==
with any of the following:

== : Eqeual To
!= : Unequal To
> : Greater than
< : Less than
>= : Greater than and equal to
<= : Less than and equal to

You may also have extra user ids insted of just one
by adding or after xx in the case of using ==

eg : if($bbuserinfo[userid] == 2 or 5)

in this case the users with the ids 2 or 5 would
be redirected.

This is a fun hack for a cruel joke
or maybe you want moderators to be auto
redirected to the moderator panel
its up to you.. if already had some fun
redirecting banned users to porn sites.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-12-2003, 08:56 PM
MUG MUG is offline
 
Join Date: Apr 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if($bbuserinfo[userid] == 2 or 5)

would redirect every user. 'or 5' always evaluates to true.
Reply With Quote
  #3  
Old 05-12-2003, 08:57 PM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it will just redirect 2 and 5 think of or as and in this hack
Reply With Quote
  #4  
Old 05-12-2003, 09:00 PM
MUG MUG is offline
 
Join Date: Apr 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:57 PM colicab-d said this in Post #3
it will just redirect 2 and 5 think of or as and in this hack
lol :knockedout:

PHP evaluates them as separate statements. If you want to ban multiple userids, use

if(in_array($bbuserinfo['userid'], array(1,2,3,4,5,6)))
Reply With Quote
  #5  
Old 05-12-2003, 10:02 PM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well im gonna do a version thru the admin panel soon that,ll use and array for it instead.. was really just mucking about and thought id share lol
Reply With Quote
  #6  
Old 05-12-2003, 10:37 PM
ethics ethics is offline
 
Join Date: Feb 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, would love to see the full working version, when you can.
Reply With Quote
  #7  
Old 05-12-2003, 11:29 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It depends on your host, but redirecting someone to a porn site without their consent could get you shut down if they complain to the right place. So be careful you don't put everything at risk just to get back at someone who's been hassling you.
Reply With Quote
  #8  
Old 05-13-2003, 01:06 AM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well its not like your gonna send folk wh arent friend are you? i mean it woul dbe pretty sick to do it to say all of your members bar maybe a view..
Reply With Quote
  #9  
Old 05-13-2003, 01:13 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nah, not what I meant, colicab-d. I like the hack.

And I might install it if I can think of somewhere annoying to send them.... other than a porn site. That accomplishes the same thing, just without the risk.
Reply With Quote
  #10  
Old 05-13-2003, 11:54 AM
vB-Host.com's Avatar
vB-Host.com vB-Host.com is offline
 
Join Date: Apr 2003
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

send them to microsoft
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04833 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete