Version: , by Scott MacVicar
Developer Last Online: Mar 2016
Version: 2.2.x
Rating:
Released: 11-03-2001
Last Update: Never
Installs: 23
No support by the author.
I'm actually suprised that you can't stop guests from viewing threads themselves in forum and the only solution is to stop them Viewing others and that includes the thread titles on forumdisplay.
This lets guests see threads made by someone else on the forumdisplay page but not the thread itself, they'll get a nice error telling them to register.
Can be enabled on a forum by forum basis within the forum options.
I use this for a member forum on my board and I would rather show a guest what the thread title is, instead of showing no title at all
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by supernut when i go to change a forum to not allow guest view and save it, when i look back in admin its still turned on and all the posts they can still read ?
any advise what i may have done wrong ?
Not 100% sure but i guess this in the /admin/forum.php file:
PHP Code:
a couple of lines below that look for
$DB_site->query("INSERT INTO forum
(forumid,styleid,title,description,active,displayorder,parentid,
parentlist,allowposting,cancontainthreads,daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allowsmilies,allowicons,
styleoverride,allowratings,countposts,moderateattach)
VALUES
(NULL,'$styleset','".addslashes($title)."','".addslashes($description)."','$isactive','$displayorder','$parentid',
'','$allowposting','$cancontainthreads','$daysprune','".addslashes($newpostemail)."','".addslashes($newthreademail)."',
'$moderatenew','$aallowhtmlcode','$aallowbbcode','$aallowimgcode','$aallowsmilies','$aallowicons',
'$styleoverride','$allowratings','$countposts','$moderateattach')");
change to
$DB_site->query("INSERT INTO forum
(forumid,styleid,title,description,active,displayorder,parentid,
parentlist,allowposting,cancontainthreads,daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allowsmilies,allowicons,
styleoverride,allowratings,countposts,moderateattach,allowguestpostview)
VALUES
(NULL,'$styleset','".addslashes($title)."','".addslashes($description)."','$isactive','$displayorder','$parentid',
'','$allowposting','$cancontainthreads','$daysprune','".addslashes($newpostemail)."','".addslashes($newthreademail)."',
'$moderatenew','$aallowhtmlcode','$aallowbbcode','$aallowimgcode','$aallowsmilies','$aallowicons',
'$styleoverride','$allowratings','$countposts','$moderateattach', '$allowguestpostview')");