The Arcive of vBulletin Modifications Site. |
|
Help with Close With Reason Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
you can completly ignore this step.
i already posted it in the supportthread |
![]() |
|
|