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)

y2krazy 01-16-2004 02:18 AM

Quote:

Originally Posted by SloppyGoat
Maybe I misunderstood. You said there were no checkboxes, right? None at all? Or did you mean only the miserable user box? If the miserable user box is missing, then you missed something.

I just went in and did all the edits twice and found no errors in them. I have attached a screen of my ACP - Edit User page to show you that no checkbox comes up where it should. Don't know what is going wrong... :(

-y2k-

Rob Weaver 01-16-2004 02:37 AM

Mine is fixed. The programmers checked ... don't know what they did ... but the miserable user radio button is now right, just below number of posts.

SloppyGoat 01-16-2004 03:47 AM

It has to be in the admin/user.php file (your sure you edited the one in your admin folder?) where you screwed up. Check that part of the instructions again very carefully. Pay particular attention to these:

Replace it with:
Add the following directly below it:
Add the following directly above it:

And if it still doesn't work, don't feel bad, because I can't get the new version of this hack to work right on my RC2 board. It works, but it seems to put me into miserable mode too, then lock me out of my own CP! :confused:

I'm sure you made a copy of the three files before you edited them, right?

cindyd 01-17-2004 07:33 PM

Great hack! I'll enjoy watching a few of my miserable users.....bwahahahhaa

SloppyGoat 01-19-2004 01:23 AM

Quote:

Originally Posted by greatwhite_hunt
IS it possible to make all "guests" miserable?


cindyd 01-24-2004 04:51 PM

Hi: I tried to make this change, but I keep getting a parse error on line 460. Which is this:

$onlinestat = "";

Any ideas on how to fix this?
Thanks


Quote:

Originally Posted by Zzed
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. ;)


cindyd 01-24-2004 11:27 PM

Would someone please show mercy on me. I have been trying to fix this hack (which I love BTW) so that only the Admins can see the miserable title.

Everytime I think I have found the problem it makes an error on some other line further up.

Thanks

EricGT 01-30-2004 02:53 AM

I think this is a great idea, but wouldn't it be simpler to just create a new user group for these users, rather than adding a new db field and having to modify the db calls? Eric

Sweet Evil 02-29-2004 03:06 PM

Ganna give this a go as someone pointed me to it to deal with a lame little one.. Seems like this is going to be fun! :) Thanks.

David Coutts 03-07-2004 05:50 AM

What a bloody fantastic idea. It looks good, I'm sure my admins will use it a lot. :D

[high]* David Coutts clicks install.[/high]


All times are GMT. The time now is 07:49 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.02959 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)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