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)
-   -   Annother banning alternative : Starved Users (https://vborg.vbsupport.ru/showthread.php?t=50474)

mistyl 03-19-2003 08:15 PM

Thank you!!! I am off to install it!

Sweet Cheeks 03-19-2003 08:22 PM

Quote:

Today at 02:15 PM mistyl said this in Post #11
Thank you!!! I am off to install it!

*Nods evilly at Misty* :D

Boofo 03-19-2003 08:24 PM

I think I'll write some code to randomly pick a user for the miserable hack and the starvation hack for April fool's day. Once they log off and back on, it will not pick them again 'til next year. ;)

filburt1 03-19-2003 08:26 PM

It kinda scares me that there are a lot of boards out there that actually need this...that's joy of running a pro community instead of a general community, I very rarely have members bicker to each other :)

colicab-d 03-19-2003 09:52 PM

i have to say , we get a few immatre folk, but as part of an art community were all tolerant. However is it possibel to say have only parts of this hack like the post limit and say avatar restrictions? or is it configurable via admin cp as to what features the user is starved of.

cirisme 03-19-2003 10:02 PM

Quote:

Yesterday at 10:24 PM Boofo said this in Post #13
I think I'll write some code to randomly pick a user for the miserable hack and the starvation hack for April fool's day. Once they log off and back on, it will not pick them again 'til next year. ;)

ROFL!!! That would be too much fun. :D

Vile 03-19-2003 10:05 PM

Quote:

Yesterday at 10:26 PM filburt1 said this in Post #14
It kinda scares me that there are a lot of boards out there that actually need this...that's joy of running a pro community instead of a general community, I very rarely have members bicker to each other :)
I know what you mean, but I think it's still cool to have something like this, just in case ;)

Zzed 03-20-2003 04:13 AM

Quote:

Today at 01:56 PM Boofo said this in Post #7
Zzed, I have both hacks installed. Is this what my showthread.php should look like now?

Also, I have the user's avatar on the forumhome_pmloggedin and it still shows (not the red X) Any way to fix that?

Boofo, the way you have yours set up it will show either miserable, or starved but not both.

They should be changed to 2 successive if() statements. like this: ;)
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) {
    if((
$bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
      
$onlinestat "$onlinestat<br><font color=\"green\"><b>Miserable User</b></font>";
    }
  }
  if(
$post[starved] == 1) {
    if((
$bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
      
$onlinestat "$onlinestat<br><font color=\"red\"><b>Starved User</b></font>";
    }
  }
  
$post[posts]="$post[posts]$onlinestat";

  
$post[postcount] = ++$postcount;
  
$post[totalposts] = $totalposts;
  
$postbits .= iif(empty($postbits), '''<br>').getpostbit($post);



Zzed 03-20-2003 04:21 AM

Quote:

Today at 02:26 PM filburt1 said this in Post #14
It kinda scares me that there are a lot of boards out there that actually need this...that's joy of running a pro community instead of a general community, I very rarely have members bicker to each other :)

Unfortunately, the average age on my board has gone down to 18-20 years of age and we have a lot of trouble makers. This is the only way we can control them. It has been working quite effectively. ;)

I have created a system through which my moderators can actually impose my custom bans on the users along with PM and Email warnings. The bans can last anywhere from one hour to 7 days and they automatically revert back to normal at the end of the period.

Boofo 03-20-2003 04:35 AM

Will you be releasing the code for the timed ban? That would make this really complete. ;)

Thanks, Zzed, for the fix on the code. Now that I look at the old code, I see what you mean. DOHH!!! ;)

What happens if you enable both hacks (Miserable and Starved) for a use at the same time? Just curious. Also, is there a way to set this up so you could make a Miserable Usergroup and a Starved Usergroup and do the hacks by Usergroup, too? Or set them to the Banned usergroup by default and still be able to do them individually per user.


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