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
Annother banning alternative : Starved Users Details »»
Annother banning alternative : Starved Users
Version: 1.00, by Zzed Zzed is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

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

This hack is another alternative to banning a user. As the name suggests a user who
gets hit with this hack will be deprived from a lot of the general board features.

So here is what really happens to a starved user:

- Every graphic image on the board will be replaces with a red X icon.
- They don't have access to the search engine.
- They have a 10x flood control time
- They are only allowed to post 20 characters per post (the 20 charcters is
inclusive of the post title.)
- They can not see avatars in posts
- They can not display their signature
- Their user options is set to 0

This hack is another one of my sadistic hacks on my board.

The hack allows you to make your user starved via the admin CP (In the Edit User
screen). It also allows you to search for all starved users through the admin CP
as well.

Also in showthread.php, it appends a red status that is only visibly to admins
and mods stating that a user is starved.

Tables affected by this hack: user

Files affected by this hack: global.php, showthread.php, newthread.php, newreply.php, admin/user.php, admin/functions.php

There is also a new icon that needs to be placed in the images directory: images/redx.gif

################################################## ##########

From the MySQL prompt execute the following statement:

alter table user add starved smallint(5) unsigned DEFAULT 0 NOT NULL;

################################################## ##########

Please click the install button if you like this hack and you install it on your board.

Show Your Support

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

Comments
  #22  
Old 03-20-2003, 04:44 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not a big fan of user group modifications. A user can be both miserable and starved. But the misery is such a nasty hack that it will overshadow starvation.

The timed version is quite an elaborate hack. It is a combination of 6 different hacks, and I have only released 2 of them.
Reply With Quote
  #23  
Old 03-20-2003, 05:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:44 AM Zzed said this in Post #21
I am not a big fan of user group modifications. A user can be both miserable and starved. But the misery is such a nasty hack that it will overshadow starvation.


I'm usually not either but it might be good for banned users.

Quote:
The timed version is quite an elaborate hack. It is a combination of 6 different hacks, and I have only released 2 of them.
Oh, ok. I thought maybe the timed part might be a separate hack that would work with 1 or (in your case) 6 hacks.

You know me Edwin, I'll be waiting for my next "fix".

Again, thanks for a couple of great hacks!
Reply With Quote
  #24  
Old 03-20-2003, 05:16 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for your kind words.
Reply With Quote
  #25  
Old 03-20-2003, 02:24 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe these hacks are so sadistic but im damn gon use em

Thanks for releasing

Regards

- miSt
Reply With Quote
  #26  
Old 03-20-2003, 07:01 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your kind words.
Reply With Quote
  #27  
Old 03-22-2003, 09:58 AM
laycomp laycomp is offline
 
Join Date: Mar 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL....you are too much bro! Thanks for these bad nasties!
Reply With Quote
  #28  
Old 05-03-2003, 05:15 AM
wolfman wolfman is offline
 
Join Date: Aug 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We get a few and they seem to have nothing better to do than to cause problems and anything I can do to make life hard for them without an actual BAN is good medicine in my book
Reply With Quote
  #29  
Old 05-03-2003, 06:19 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank guys for your kind words.
Reply With Quote
  #30  
Old 05-07-2003, 03:56 AM
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Location: Cali
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love these 2 hacks.......lol...Zzed....j00 are teh greatest....

also, I would like to have both the miserable AND starved *GRINS*....

would I just try to integrate them both? or could someone post the code i would use for it.....?
Reply With Quote
  #31  
Old 05-25-2003, 07:21 PM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I'm having a problem, whenever I try to run the SQL query, I get this error:

Code:
Error

SQL-query :  

ALTER TABLE user ADD starved smallint( 5 ) unsignedDEFAULT0 NOT NULL 

MySQL said: 


You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT0 NOT  NULL' at line 1
What should I do? Also, what code should I use so that I can have a choice of either Miserable or Starved user when I want to ban? Could someone post the code here please! Thanks!

MGM out
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 09: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.05018 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
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_code
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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