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)

Zzed 06-27-2003 09:55 PM

Quote:

Today at 03:28 PM wolfman said this in Post #160
Well when I installed this my mods were like "Are you sure it works?" I setup a test account so they could try for themselves, though I did warn them that they might pull some of their hair out in the proccess.

The annoyance level of this hack I would have to put almost on the same level as those cardboard inserts in magazines. My first thought was that I wanted to choke you when I tested this hack for myself :) this one really does give the power back to the admin and mods of a forum as with a ban its to clear what has been done, this they do not know :dead:


LOL :D I almost fell out of my chair laughing about the choking comment. :D:D:D

Thank you again for your kind words. :)

P.S. check out my other hack about Starved users. ;)

Zachery 07-23-2003 11:43 PM

i didnt look, too lazy, but are you planning on doing this for vb3

Zzed 07-23-2003 11:56 PM

Quote:

Today at 05:43 PM Faranth said this in Post #162
i didnt look, too lazy, but are you planning on doing this for vb3
If I ever upgrade to vb3 I will definitely port this hack. :)

JulianD 07-26-2003 03:05 PM

I've been using this hack successfully on my community. Some members are "too intensive" and I like to make them miserable for one day or two... It's great to see how you can take away somebody without actually banning them :)

EvilLS1 07-26-2003 08:52 PM

Wicked hack Zed. :evilgrin:

/me kicks install

Zachery 07-27-2003 02:30 AM

Quote:

07-23-03 at 08:56 PM Zzed said this in Post #163
If I ever upgrade to vb3 I will definitely port this hack. :)

why do you say ever? my vb3 runs great :D

Zzed 07-27-2003 05:00 AM

Quote:

Today at 08:30 PM Faranth said this in Post #166
why do you say ever? my vb3 runs great :D
Blame it on my utter laziness to upgrade versions and port all my hacks. :D

Zzed 07-27-2003 05:00 AM

Quote:

Today at 02:52 PM EvilLS1 said this in Post #165
Wicked hack Zed. :evilgrin:

* EvilLS1 kicks install

Thank you for your kind words. :)

Zachery 07-27-2003 05:00 AM

ah :( thats kinda sad :\

how many hacks do you have to port?

WCW Fan 07-31-2003 10:17 PM

Great Hack installs one of the best I've seen Great Job



Had to make a change though I have vbproarcade and I don't have this in showthread.php

PHP Code:

while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {

  if (
$postdone[$post[postid]]) {
    
$counter--;
    continue;
  } else {
    
$postdone[$post[postid]]=1;
  }
  
$postbits .= getpostbit($post);


so I did some pluging and playing and got this code to work

PHP Code:

while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {

  if (
$postdone[$post[postid]]) {
    
$counter--;
    continue;
  } else {
    
$postdone[$post[postid]]=1;
  }

  
$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>";
    }
  }
  
$post[posts]="$post[posts]$onlinestat"


Just left out the end part

PHP Code:

$postbits .= getpostbit($post);


Im not sure why it works this way but it does so Woot :D


All times are GMT. The time now is 10:56 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.01383 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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