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 :)

sross 07-16-2007 01:16 AM

Hi, does anyone know how to make this work for 3.6.4? I thought i might get lucky with the code change here but it didn't work. Thanks for any ideas!

noonespecial 08-18-2007 03:48 AM

Quote:

Originally Posted by sross (Post 1292351)
Hi, does anyone know how to make this work for 3.6.4? I thought i might get lucky with the code change here but it didn't work. Thanks for any ideas!

Worked fine on 3.6.4 for me.

UK Jimbo 08-18-2007 07:25 AM

Yup - works fine with 3.6.x

oldford 06-27-2008 03:18 AM

Hmmm...I can't get this to work with 3.6.4. I still see the message telling me I'm ignoring that user.

fly 03-14-2011 01:14 PM

Anyone know how to implement this in vB4?

Raul7 10-04-2011 09:56 PM

any way to make this work on VB4 ?

Conehead555 03-19-2012 03:03 AM

Need this for 4.x, it's one line of code. Anyone?

valdet 07-12-2013 03:15 PM

Great.

Just what the doctor ordered :)

Works on vB 3.8.7.


All times are GMT. The time now is 04:50 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.01157 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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