![]() |
Help with Close With Reason
I have 228 and it is asking me to . . find this in posting.php
Find: if ($s!=$session['dbsessionhash']) { Replace with: if ($s!=$session['dbsessionhash'] && $reasonentered!=1) { well I found this . . . // ############################### start do open / close thread ############################### if ($HTTP_POST_VARS['action'] == 'openclosethread' OR ($action == 'openclosethread' AND $s == $session['dbsessionhash'])) { $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); if (!ismoderator($threadinfo[forumid],"canopenclose")) { $permissions=getpermissions($threadinfo[forumid]); if (!$permissions[canview] or !$permissions[canopenclose]) { show_nopermission(); } else { $firstpostinfo=$DB_site->query_first("SELECT userid FROM post WHERE threadid='$threadid' ORDER BY dateline LIMIT 1"); if ($bbuserinfo[userid]!=$firstpostinfo[userid]) { show_nopermission(); } } } updateuserforum($threadinfo['forumid']); if ($threadinfo[open]) { thats just some stuff, and I would think it would be somewhere in there, well what do I find and replace with??? Thankx |
you can completly ignore this step.
i already posted it in the supportthread |
All times are GMT. The time now is 01:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|