Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Hide Threads Posted By Ignored Users Details »»
Hide Threads Posted By Ignored Users
Version: 1.00, by tjdrico tjdrico is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-21-2004 Last Update: Never Installs: 17
 
No support by the author.

My posters feel that ignoring a user should mean ignoring them. This was easy in the posts view because I simply deleted the contents of postbit_ignore. However, there wasn't an equivalent for the thread view, so after a search on here I came up with the following mini-hack that will hide the threads from
ignored users in the thread view.

Step 1 - add a new template:

Title: threadbit_ignore
Template: <!-- hide threads started by ignored users. Nothing to see here -->

(or just leave it empty if you prefer, but the comment reminds you what it's for)


Step 2 - edit file:

Open: forumdisplay.php

Find:
PHP Code:
        'forumrules' 
Replace with:
PHP Code:
        'forumrules',
        
'threadbit_ignore' 
Find:
PHP Code:
                eval('$threadbit .= "' fetch_template('threadbit') . '";'); 
Replace with:
PHP Code:
                if ($ignore["$thread[postuserid]"])
                {
                    eval(
'$threadbit .= "' fetch_template('threadbit_ignore') . '";');
                }    
                else
                {
                    eval(
'$threadbit .= "' fetch_template('threadbit') . '";');
                } 
Save & Close

Your users should now live in blissful ignorance of those they've ignored. My apologies if I have duplicated another hack, but I did search and didn't find anything.

Show Your Support

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

Comments
  #2  
Old 04-22-2004, 04:25 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a brilliant hack to me, stops them nuisance posts. Well done
Reply With Quote
  #3  
Old 04-23-2004, 11:26 PM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was taken out of vb3? THey had it in vb2.
Reply With Quote
  #4  
Old 04-23-2004, 11:33 PM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I get it, u don't want a thread to appear at all? or posts? cause right now if u ignore a user it says "This message is hidden because MindTrix is on your ignore list."
Reply With Quote
  #5  
Old 04-24-2004, 10:02 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good hack i was wondering why this wasn't in vb3 as standard
Reply With Quote
  #6  
Old 04-27-2004, 02:00 PM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 7thgenCivic.Com
Ok, I get it, u don't want a thread to appear at all? or posts? cause right now if u ignore a user it says "This message is hidden because MindTrix is on your ignore list."
That's right. The "This message is hidden because X is on your ignore list" is irritating. If I've ignored X, I dont want to know he's posting. That is easy to change by editing the postbit_ignore template, but the thread display would still show threads that he's started. This hack hides those.

There is still one more place that I'll still see X on thread lists - when he's the most recent poster, but I haven't tackled that yet.
Reply With Quote
  #7  
Old 06-07-2004, 07:46 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working for anyone? It doesn't seem to work on mine.
Reply With Quote
  #8  
Old 06-09-2004, 09:59 AM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working for me. =) Are you sure you followed the instructions correctly?
Reply With Quote
  #9  
Old 06-10-2004, 05:49 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks if it does not work very good. Members reporting ignored userpost when testing this. I've followed the instructions.
Reply With Quote
  #10  
Old 06-11-2004, 08:57 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I have a user on ignore (either with or without this hack) will I still see what they've said if someone quotes them?
Reply With Quote
 


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 06:49 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.04561 seconds
  • Memory Usage 2,299KB
  • 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
  • (4)bbcode_php
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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