First newreply.php is not in the admin directory as stated in the .txt file Iam assuming you mean the newreply.php in the root?
second when I try this and make the additions to the newreply.php I see
Code:
$posts=$DB_site->query("
SELECT IF(post.userid=0,post.username,user.username) AS username,
post.pagetext,post.allowsmilie,post.userid,usergroupid FROM post
LEFT JOIN user ON user.userid=post.userid
WHERE ".iif($bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7,"","post.visible=1 AND ")."post.threadid='$threadid'
ORDER BY dateline DESC");
instead of this
Code:
$posts=$DB_site->query("
SELECT IF(post.userid=0,post.username,user.username) AS username,
post.pagetext,post.allowsmilie,post.userid FROM post
LEFT JOIN user ON user.userid=post.userid
WHERE post.visible=1 AND post.threadid='$threadid'
ORDER BY dateline DESC");
which is in the .txt file and what i should find in the newreply.php
is this due to the hidden reply hack being added for admins/mods on my forum, and if so, how can this be intergrated into this new hack?
I tried adding the usergroupid to the second line as stated in the instruction but that only threw up errors when someone went to make a reply.
Hoping this hack will be able to get up and running as it's use would fix several repeat offenders of the "I've been banned so i'll change my host mask and re register" type person.