Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #22  
Old 08-31-2006, 11:58 PM
darksoulz darksoulz is offline
 
Join Date: Jul 2005
Location: Lochbuie, CO
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work with 3.6 for me. I'm definately interested in a port though.
Reply With Quote
  #23  
Old 09-07-2006, 09:54 PM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would also like this for 3.6 please If any one has got it to port then please share instruction thank you.
Reply With Quote
  #24  
Old 09-24-2006, 11:09 AM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also just discovered that this stopped working with 3.6.x.

Anyone have any ideas how we might get it to work? My mods and admins found this a very helpful tactic of next-to-last resort.
Reply With Quote
  #25  
Old 10-02-2006, 02:57 AM
funky1 funky1 is offline
 
Join Date: Jul 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, I just tried to install it in 3.6.1 and it doesn't appear to be working.

Big props to whomever might make it work for us in the 3.6.X version. I could really use it.

Thanks in advance!!

Reply With Quote
  #26  
Old 10-08-2006, 01:47 AM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've been using it for a while now... but can't figure out how to have the user number NOT show up in a line above the user's custom user title?




ok that doesn't make sense... so here's an example:

Quote:
DirtyHarry
245
dumpster diver


245 is the user that is on this member's forced ignore list. now everyone in the forum can tell he's on forced ignore.
Reply With Quote
  #27  
Old 10-09-2006, 04:11 AM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #28  
Old 10-09-2006, 04:14 AM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind.

i for some reason (unbeknownst to me) had $field8 or whatever the code is in the postbit.

i have no idea why it was there. ?????
Reply With Quote
  #29  
Old 10-10-2006, 03:20 PM
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this set up on vB 3.6 and it doesn't seem to be working. When I enter a persons userid number into another's profile and hit save, it does not show up on the profile when I go back to edit the user. Any idea why it's not saving this information? Should this be able to work in vB 3.6?
Reply With Quote
  #30  
Old 10-17-2006, 09:52 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by furst
Would you be kind enough to repeat it for me?
fine, il try...lololol

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'];
}
}


is that plain enuff?
Reply With Quote
  #31  
Old 10-18-2006, 07:27 AM
Watched Watched is offline
 
Join Date: Sep 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this really should be made into a product and ported to 3.6 as it is a GREAT addon for seperating 2 members who by themselves are GREAT members.. yet together.. do nothing but bicker.
Reply With Quote
Reply

Thread Tools

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 04:18 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.05096 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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