Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forced Ignore Details »»
Forced Ignore
Version: 1.00, by Thomas Heretic Thomas Heretic is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-04-2006 Last Update: Never Installs: 36
 
No support by the author.

This code allows you to force one user to ignore another user's posts. This is useful in situations such as lover's spats or fueds where the involved parties are worthwhile contributors - if only they'd keep away from each other.

The plug in requires you create a custom user profile field. Name it "Forced Ignore" and set it as follows:
Type: Single Line Text Box
Field Required: No
Field Editable by User: No
Private Field: No
Field searchable on Members List: No
Show on Member List: No
Page that displays this option: Edit Profile

Once that is done note the field number created by vbulletin - you need to plug it into the php code below in the three spots you see 'fieldX' For instance, if vbulletin makes your new field number 10 you would plug in 'field10'. This php code needs to go into a plug in attached to global_start

PHP Code:
if ($vbulletin->userinfo['fieldX'])
{
    if (
$vbulletin->options['globalignore'])
    {
        
$vbulletin->options['globalignore'] = $vbulletin->options['globalignore'] . " " $vbulletin->userinfo['fieldX'];
    }
    else
    {
        
$vbulletin->options['globalignore'] = $vbulletin->userinfo['fieldX'];
    }

Afterwards you can edit the control from the user profile control of the admincp (I haven't checked the modcp). Enter the user id number of the users you wish to force a user to ignore in there seperated by spaces. DO NOT ENTER ANYTHING BUT NUMBERS or you will create a database error for the affected user.

This will keep the user from seeing the posts of that user. Because of the way vbulletin processes Tachy the user will still be displayed in the latest thread listing of each forum. (Tachy is designed to be a global ignore, not a local one).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 09-07-2009, 01:27 PM
Jah-Hools Jah-Hools is offline
 
Join Date: Jul 2007
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me too 3.8 and above.......
Reply With Quote
  #53  
Old 11-03-2010, 12:26 AM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working nicely in 3.8.6
Reply With Quote
  #54  
Old 03-06-2011, 08:34 PM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work in 4.x versions?

It definitely works in the 3.8.7 version. I had to add somebody to a user's forced ignore as my Admin account saw the posts regardless. I had been testing wrong before as Admins are not blocked and forced to ignore the user.

Remember to update all three of the "Fieldx" in the code or it won't work. If this works in 4.x I'm finally set to upgrade as I'll have the option to force users to ignore each other.
Reply With Quote
  #55  
Old 10-04-2011, 04:16 PM
Liff Liff is offline
 
Join Date: Aug 2011
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried this in 4.1.5 and it crashed teh forum, or at least stopped it from loading.

Has anyone had any luck getting it to work or found somthing that supercedes it?

I would find this mod very usefull on my forum.
Reply With Quote
  #56  
Old 12-13-2011, 02:25 AM
Freak0204's Avatar
Freak0204 Freak0204 is offline
 
Join Date: Dec 2005
Location: WV
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need something like this for the 4.x suite and classic. Anyone have anything similar?
Reply With Quote
  #57  
Old 03-12-2012, 05:00 AM
nasko nasko is offline
 
Join Date: Sep 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately, it doesn't work in v.4.1.8...

Reply With Quote
  #58  
Old 02-07-2014, 11:18 AM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm on 3.8.7 expect the thread numbering.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15562 seconds
  • Memory Usage 2,273KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete