vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Miserable Users for vB3 (https://vborg.vbsupport.ru/showthread.php?t=59727)

almqdad 04-28-2005 05:47 PM

Hi

any chance to modify this hack so that it can be used at user level instead of group where multiple user from different group can be added

help will be highly apprecaited

HBC 05-08-2005 11:49 PM

Quote:

Originally Posted by LambHyjoo
Very nice hack, it works, but I have a little problem : the "Server too busy" page never comes.

I have tuned the code to make it appear, but instead of showing me a "Server too busy" page, it comes blank.

Any idea ?


same thing here.. either nothing happens after a while
or i get a white page..

never a server busy error,never kicked back to the index..

same thing with search..


also the things you have to "tone down the pain" seem to be more
variables then are in the text block to copy to the template?

VBUsers 05-09-2005 03:44 AM

great hack works great thanks

flee2 05-09-2005 08:37 PM

Some users questioned the issue of allow moderators to send users to the group Miserable.. but only is allowed if Miserable Users Group is a Banned Group.

when you set the Miserable group, as a Banned group, the reputation link (balance) dissapear, and don't allow to give reputation to the post of a Miserable user.

With this 2 modifications, the miserable group, can be a BANNED GROUP and the balance of Reputation Link is showed and fully functional. Of course, this don't allow to give reputation to other users BANNED, ONLY allows to show the Miserable users in the forum, as a normal user..

this modifications:

PHP Code:

// in function_showthread.php edit
// after of:

$show['reputationlink'] = iif(($permissions['genericpermissions'] & CANUSEREP OR $post['userid'] == $bbuserinfo['userid']) AND $vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), truefalse);

//add:

if ($post['usergroupid'] == "21"
{
$show['reputationlink'] = true;    
}


---------------------------------------------------

// IN reputation.php edit

search:

if (
$usergroupcache["$userinfo[usergroupid]"]['genericoptions'] & ISBANNEDGROUP)
{
    eval(
print_standard_error('error_reputationbanned'));
}

replace by:

if ((
$userinfo[usergroupid] != "21") AND ($usergroupcache["$userinfo[usergroupid]"]['genericoptions'] & ISBANNEDGROUP))
{
    eval(
print_standard_error('error_reputationbanned'));
}


//IN ALL CASES, REPLACE THE NUMBER "21" with the same value of $miserableid in phpinclude_start 


That's all! enjoy! only rest to, set the Miserable users as a Banned group to allow moderators to move users to this group and ready to work...

REMEMBER SET ALL "21" values in the above code with de USER GROUP ID of miserable users, set in phpinclude_start at 3rd line as $miserableid

bye byeeee

almqdad 05-10-2005 01:41 AM

hi

can you make small modification so that miserableid is user id instead of group id

in this case only administrator can do that .. the moderator will not even know about it

I am not a coder I tried but failed to get it work

please can some one help me

flee2 05-10-2005 02:19 AM

why you need a single userid? is better a groupid.. you send to this group many users as you want...

topten 05-10-2005 06:39 AM

When I put people in the mIserable users group there friends can now see they are not a registered user but a miserable user

hence it makes it realy easy fro them to see whats up

is there any way to display soemthing else rather than 'miserable user' as the persons title?

thanks alot

almqdad 05-10-2005 10:46 AM

Hi flee2

it is important that no one except admin to no this moderators can easily see the member A

who is having problem login to the forum is in a strange group even if you call that group

nice member or what ever

i hope some one can modify the hack

multiple user ids can be added

T3MEDIA 05-10-2005 12:15 PM

Quote:

Originally Posted by topten
When I put people in the mIserable users group there friends can now see they are not a registered user but a miserable user

hence it makes it realy easy fro them to see whats up

is there any way to display soemthing else rather than 'miserable user' as the persons title?

thanks alot

I belive on vb 3.0.3 and up... you can have the usergroup take over the title or not.
or what about having them as a secondary group? you can hide the group name with out hacking.

simple_john 05-11-2005 02:33 AM

is there a way to assign miserable user to an IP address?


All times are GMT. The time now is 09:10 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.01292 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
  • (2)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