Back to vBulletin 3.5 Add-ons

Hide View-Posts-link to post from User who is on posters Ignore List
Mod Version: 1.00, by hiiped

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 12
Released: 23 Mar 2006 Last Update: 24 Mar 2006 Downloads: 24
Not Supported Code Changes Is in Beta Stage  

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:
		$parsed_postcache = array('text' => '', 'images' => 1, 'skip' => false);
		$postbits .= $postbit_obj->construct_postbit($post);
replace with
Code:
		$parsed_postcache = array('text' => '', 'images' => 1, 'skip' => false);
//		$postbits .= $postbit_obj->construct_postbit($post);
// replaced below 
//don't get postbit if ignored post 
// start changes 
if ($ignore[$post[userid]] AND $post['userid'] != 0) { 
    // do nothing 
} else { 
      $postbits .= $postbit_obj->construct_postbit($post); 
}  
// end changes
SAVE FILE = DONE

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

recap:
this basically replaces line 1045
Code:
$postbits .= $postbit_obj->construct_postbit($post);
with
Code:
if ($ignore[$post[userid]] AND $post['userid'] != 0) { 
    // do nothing 
} else { 
      $postbits .= $postbit_obj->construct_postbit($post); 
}
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

Download

This modification is archived and cannot be downloaded.

Screenshots

   

Similar Mods

Add User to Buddy/Ignore List in Post Menu vBulletin 3.0 Full Releases
Hide Moderators/Admins from Top Posters List vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024