Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Hide Links in Post to users who haven't replied
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #27
RE: Hide Links in Post to users who haven't replied
I'm going to assume the GroupID is 2 (replace the number "2" if not)
Find:

PHP Code:
if(is_moderator($fid) == 'yes')

Replace with

PHP Code:
if(is_moderator($fid) == 'yes' || $mybb->usergroup['gid']==2)


Find:

PHP Code:
if(is_moderator($quoted_post['fid']) != 'yes' && !isset($tids[$quoted_post['tid']]) && ($mybb->settings['hidelinkreply_firstpost'] != 'yes' || $quoted_post['firstpost'] == $quoted_post['pid']))

Replace with

PHP Code:
if(is_moderator($quoted_post['fid']) != 'yes' && $mybb->usergroup['gid'] != 2 && !isset($tids[$quoted_post['tid']]) && ($mybb->settings['hidelinkreply_firstpost'] != 'yes' || $quoted_post['firstpost'] == $quoted_post['pid']))


Find:

PHP Code:
if(is_moderator($quoted_post['fid']) != 'yes' && !isset($tids[$quoted_post['tid']]) && ($mybb->settings['hidelinkreply_firstpost'] != 'yes' || $quoted_post['firstpost'] == $quoted_post['pid']))

Replace with:

PHP Code:
if(is_moderator($quoted_post['fid']) != 'yes' && $mybb->usergroup['gid'] != 2 && !isset($tids[$quoted_post['tid']]) && ($mybb->settings['hidelinkreply_firstpost'] != 'yes' || $quoted_post['firstpost'] == $quoted_post['pid']))


Hope that helps.


My Blog
05-07-2008 12:26 AM
Find all posts by this user

« Next Oldest | Next Newest »

Messages In This Thread
RE: Hide Links in Post to users who haven't replied - ZiNgA BuRgA - 05-07-2008 12:26 AM

 Standard Tools
Forum Jump: