vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Really Ignored Users in Showthread (https://vborg.vbsupport.ru/showthread.php?t=230466)

merk_aus 07-07-2010 02:57 AM

Just confirming for those interested I have attempted to install this on vbulletin publishing suite 4.0.4 and it works as designed.

AndrewRich 08-12-2010 10:14 PM

Since I couldn't get around the bug in this mod, I made my own smaller change to postbit_ignore and postbit_ignore_global:

postbit_ignore_global:
Before
PHP Code:

<a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a

After (just comment out the line)
PHP Code:

<!--         <a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "View post" link to ignored user --> 

postbit_ignore:
Before
PHP Code:

<a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a

After (just comment out the line)
PHP Code:

<!--        <a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "view post" link to ignored user --> 


Max Taxable 08-02-2011 05:51 PM

Yeah, when the ignored user is quoted by another user, it still shows anyway. So what good is it?

New Joe 02-11-2012 04:36 PM

Quote:

Originally Posted by merk_aus (Post 2065645)
Just confirming for those interested I have attempted to install this on vbulletin publishing suite 4.0.4 and it works as designed.

I've installed it on vb 4.1.10 and it doesn't work.
Would love to see this working for vb 4

Masterix 02-16-2016 07:47 AM

Quote:

Originally Posted by AndrewRich (Post 2082918)
Since I couldn't get around the bug in this mod, I made my own smaller change to postbit_ignore and postbit_ignore_global:

postbit_ignore_global:
Before
PHP Code:

<a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a

After (just comment out the line)
PHP Code:

<!--         <a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "View post" link to ignored user --> 

postbit_ignore:
Before
PHP Code:

<a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a

After (just comment out the line)
PHP Code:

<!--        <a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "view post" link to ignored user --> 


A better way (vB 3.x) ;)

Add:
PHP Code:

<if condition="is_member_of($bbuserinfo, 5,6,7)">
<
a style="float:$stylevar[right]href="showpost.php?$session[sessionurl]p=$post[postid]target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a>
</if> 

in both templates. :D

So your Staff can see the original.

mindhunter77 02-28-2019 01:16 PM

Anyway to make this work on forumdisplay as well?


All times are GMT. The time now is 01:57 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.01077 seconds
  • Memory Usage 1,770KB
  • 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
  • (9)bbcode_php_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
  • (6)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