vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   An alternative to banning: Miserable Users (https://vborg.vbsupport.ru/showthread.php?t=49810)

Tigga 03-11-2003 01:46 AM

Great idea Zzed! There are a few people on my site that I can't really ban because of (for lack of a better term) political reasons. At least with this I can make their lives a little more *miserable* though. :D

ITALY! 03-11-2003 02:07 AM

wow, great hack :D
wow :D

Vile 03-11-2003 02:15 AM

Excellent idea.

Thanks for sharing this great hack :)

@Zzed:

Would it be possible to make it so Moderators can use this option, or can they already do so?

Zzed 03-11-2003 05:20 AM

Thank you again for all your kind replies. I almost fell off my chair laughing from some of the replies. :D

-Sidekick-, This hack was inspired by hate. :D

Vile, Yes there is. I have yet another unpublished hack that allows moderators to ban users. ;)

Talisman 03-11-2003 06:22 AM

Way cool. This will come in handy.

Ghostsuit 03-12-2003 12:29 AM

I'm going to love installing this one ;)

Areku 03-12-2003 02:33 PM

Far Far better than banning!!!

I'll install!!

Zzed 03-12-2003 03:54 PM

Quote:

Originally posted by maoz440
Sweet hack :D I now just have to get access to mysql's prompt, my server guys guard it closely :rolleyes: Also - is there a way to hide the fact that a user is suffering from this torture from my moderators? I have a couple people I'd like to implement this on without my moderators knowing it (politics :rolleyes: ).

Thanks for the hack!

Change this:
PHP Code:

  $onlinestat "";
  if((
$post[miserable] == 1) || ($post[stunned] & 4)){
    if((
$bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
      
$onlinestat "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
    }
  } 

To This:
PHP Code:

  $onlinestat "";
  if((
$post[miserable] == 1) || ($post[stunned] & 4)){
    if(
$bbuserinfo[usergroupid] == 6) {
      
$onlinestat "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
    }
  } 

And it will be visible only to the admins. ;)

drumsy 03-12-2003 09:14 PM

Is there any support to make this 2.2.8 compatible?

Zzed 03-12-2003 09:18 PM

I made this hack back in the 2.2.5 - 2.2.6 days.

You should not have any problems installing for 2.2.8.

Let me know have any problems.


All times are GMT. The time now is 04:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01180 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete