PDA

View Full Version : Hide View-Posts-link to post from User who is on posters Ignore List


hiiped
23 Mar 2006, 17:43
This file change will hide the "View Post" link from a viewer if the poster is on the viewers ignore list

Benefits ? : less work for Moderators and Administrators to clean up posts because if user A is ignoring user B, then theres no need for A to see the link and quickly click to view their post and may reply/retaliate to comments.

Currently in vB when user A ignores user B, in a thread user A can easily click the link "View Post" to see what user B has posted. ( see attachments )

This modification removes that link ( see attachment 2 )

If user B is ignored by user A, in LAST POST, user A will see user B name if s/he is LAST POSTER. But clicking link will take to thread but still no click to view post link ;)


Whats bad about the ignore users features of vB and this mod ?
when a user LOGS OUT he/she can read all comments ( if non members can view posts )

File edits: 1
File name: showthread.php
Time to do: 19.4 seconds
No other file changes

Instructions
BACKUP FILE, BACK UP, did I say BACK UP file showthread.php in case you want to revert back

Instruction continued: open showthread.php and find around line 1043 to 1045


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



SAVE FILE = DONE

reupload/FTP showthread.php back to your forum root overwriting

recap:
this basically replaces line 1045

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



But I use the top instructions just so I can keep the original showthread.php code in tact by commenting it out with //


copyright: NONE, anyone is free to modify, enhance, add, create plug-in and do whatever is allowed by vBulletin.com

hiiped
23 Mar 2006, 17:44
-- reserved because everyone does it ---

projectego
23 Mar 2006, 18:27
Nice idea, I like it. :)

kall
23 Mar 2006, 19:28
Please put the instructions into a text file. :)

hiiped
23 Mar 2006, 23:45
Please put the instructions into a text file. :)
done ;)

Nathan2006
27 Mar 2006, 09:00
Thank you great idea :)

Install

Taco John
18 Jun 2006, 06:54
Is there a way to make it so that their threads are ignored too?

moonclamp
25 Jun 2006, 13:02
Wouldn't something like this also be possible with a series of template conditionals connected to a custom profile field?

In that way a user can choose whether to completely ignore a user or keep the message.

*thinks out loud*

If so, the same conditional might be able to wrap around the "last poster" name or threads they start ... Or would this use too many resources?

SpankMe
03 Jul 2006, 01:41
Yep, needs a way for the user to pick ignore or completly ignore. Stop viewing threads is another thing it needs to do. Also needs to work on PMs.

Carlos2
19 Sep 2007, 17:42
Works in 3.6? This is a administrator plugin, isnt it?

Carlos2
02 Oct 2007, 23:04
It works in 3.6. Thankssss ;)
Is any way to dont see in WHOS ONLINE the ignore users?

AndrewRich
10 Apr 2009, 03:38
Very clever and very simple. Thanks.

furnival
09 Oct 2011, 13:33
Appears to work fine for me on VB 3.8.1 (changed line 1095). Thanks to the thread starter!