vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forcing ignore (https://vborg.vbsupport.ru/showthread.php?t=95662)

lucky64 09-04-2005 11:06 PM

Forcing ignore
 
Hello,

I have two users who don't like eachother, one is an admin (and ignoring admins/mods are disabled) and the other is a regular user.

Can I forcefully make these two ignore eachother?

I found this code for VB2 but I don't know if VB3.5 RC2 works with it...

Quote:

Originally Posted by Logician
edit global.php (in forum dir not in admin dir!), go at the end of file and find ?> right before that add:

PHP Code:

if ($bbuserinfo[userid]==X) {$bbuserinfo[ignorelist].=' Y';}
elseif (
$bbuserinfo[userid]==Y) {$bbuserinfo[ignorelist].=' X';} 

Replace X and Y with the userids of the users and you're done.. :)

Enjoy..

Any ideas?

.Tim 09-05-2005 12:04 AM

I'd like this as well, I came pretty close to needing something like this but luckily I was able to put out the fire. Would be nice to have it around in the future just in case.

Paul M 09-05-2005 12:12 AM

It won't work 'as is' because $bbuserinfo does not exist in 3.5

lucky64 09-05-2005 12:44 AM

Quote:

Originally Posted by Paul M
It won't work 'as is' because $bbuserinfo does not exist in 3.5

And you know how to make it work with 3.5?

Paul M 09-05-2005 02:00 AM

Quote:

Originally Posted by lucky64
And you know how to make it work with 3.5?

Well $bbuserinfo became $vbulletin->userinfo, and it might work if you added it to the global_start hook. I haven't tested this though.

Andreas 09-05-2005 05:44 AM

Note to myself: You wanted to add "Admin enforced Ignore" to your Admin Permission Override Hack ...

marcjd 10-03-2005 11:05 PM

I need this to and have asked about it before. It would be nice if we could simply add someone when viewing their user profile in AdminCP like we can with other options.

Andreas 10-03-2005 11:31 PM

*cough* Admin Permission Override *cough* ;)

marcjd 10-03-2005 11:48 PM

I found the cold medicine and have remedied the situation. Thank you much! :D


All times are GMT. The time now is 08:24 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.01077 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete