vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Hide ignored users' threads (https://vborg.vbsupport.ru/showthread.php?t=97902)

UK Jimbo 10-07-2005 10:00 PM

Hide ignored users' threads
 
This hack means that threads posted by users in your ignore list are hidden completely on the forumdisplay page. Inspired by this hack for v3.0.x

Modify the threadbit template adding:

HTML Code:

<if condition="! $ignore[ $thread['postuserid'] ]">
at the very top of the template.

and:

HTML Code:

</if>
at the very end of the template.

That's it! :)

Changes from 1.01 to 1.02

The plugin is no longer required. I'm not sure what I was thinking of originally but it's possible to do this as just a template hack.

fly 10-08-2005 09:08 PM

omfg thank you. installing now.

edit: Doesn't appear to be working for me.
reedit: It works. I accidentally picked a mod to ignore...

Not to be greedy, but how would I also entirely hide their posts?
reedit: Okay nevermind, that was just a template hack. I'm dumb.

UK Jimbo 10-08-2005 11:24 PM

No idea what I was thinking first time round. This can be implemented with just a template change as illustrated above.

Tony G 10-12-2005 08:34 AM

Moved to 3.5 forums. :)

UK Jimbo 10-12-2005 11:32 AM

Quote:

Originally Posted by Tony G
Moved to 3.5 forums. :)

Thanks https://vborg.vbsupport.ru/external/2011/01/19.gif

BrandiDup 10-31-2005 01:34 PM

Great Hack. Thanks!

dreamer81 11-23-2005 08:51 AM

it should be upgraded to also hide posts by ignored users

fly 11-28-2005 11:31 AM

Quote:

Originally Posted by dreamer81
it should be upgraded to also hide posts by ignored users

Just delete (or comment out) everything in the postbit_ignore template,

kofoid 03-13-2007 11:14 PM

is there any way to ignore the PMs from thos on your list? i.e. not have them display in your inbox?

moonclamp 03-23-2007 05:51 PM

Can anyone tell me the conditional to make this work with a custom profile field?

In that way members can have the option to "fully ignore posts" or "leave ignore placeholders"

Cheers :)


All times are GMT. The time now is 12:11 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.01012 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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