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)

djjeffa 01-21-2005 12:21 AM

Quote:

Originally Posted by bulbasnore
Not working for me on 3.0.5. Unless my test user is REALLY lucky. I have the right group ID and the user is in there with that as his secondary group. No difference in his ability to access the board.

Can anyone confirm it works on 3.0.5?

dont think it works if its secondary group

egharris 01-23-2005 12:50 AM

How do I get the undesirable user to logout so that he will be affected when he logs back in.

I've tested this on a new user act. and it works great. However the undesirable user is now in the Miserable Users group and is still posting. It seems to only work when a user logs back again. I'm assuming this has to do w/ the users cookies.

Please help or give me some insight on how to make this bastard miserable once and for all.

thanks,

Elmer

bulbasnore 01-23-2005 02:42 AM

Problem for me was the browser I was using to copy the code (I think). Its working under 3.0.5 p1. BTW, test user is in secondary group.

Bison 01-23-2005 11:51 AM

I like the way the older version worked. This version requires that I edit the phpinclude_start in all of my styles, where as all I had to do with the older version was go into their profile and check the "Miserable Users" box and it's done.

I wouldn't call this hack a revision ... it's nothing close to what zzed did because you didn't come close to the through work he did with his version.

This is nothing but a Mini Mod, or a template hack...

djjeffa 01-23-2005 03:41 PM

works great for me I just add this hack to it https://vborg.vbsupport.ru/showthrea...3&page=2&pp=15
but yea if they clear ther cookies they could reg under another name. I wonder if ther is a way of setting this up with ther ip add

rh2004 01-24-2005 02:45 PM

lol sounds good ..

Imperial Fritz 01-30-2005 12:58 PM

Pretty helpful, although I need it to work with IPs and not userids...

Imperial Fritz 01-30-2005 01:33 PM

Ok there's a quick and very dirty way to go with IPs, provided you have just a few users you want to do this to:

find
Quote:

if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid))
and replace with
Quote:

if (IPADDRESS == '111.111.111.111')
where obviously 111.111.111.111 is replaced with the IP of the user
you can add any number of IPs inside, provided you separate them with '||' (php for "OR")

example

Quote:

if (IPADDRESS == '111.111.111.111' || IPADDRESS == '222.222.222.222' || IPADDRESS == '333.333.333.333')
Any coder knows this, I'm just posting it for those who have no idea how to do it.

It would have been much better if the IPs were extracted form the user profiles but I'm really not familiar enough with vB to be able to do code it...

dethfire 02-05-2005 06:12 AM

does this work with 3.0.6?

DSMNightmare 02-17-2005 06:29 PM

is there a way to use this for both IPs and usernames? I would prefer to do it via usernames with the option to do IPs as well.

Thank you


All times are GMT. The time now is 08:37 PM.

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.01174 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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