The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editing "showthread.php"
I'm trying to convert a modification from 3.5.x to 3.6.7
However, I think I got everything set up except for the .showthread.php Find: // ************************************************** ****************************** * // check if there is a forum password and if so, ensure the user has it set verify_forum_password($foruminfo['forumid'], $foruminfo['password']); Add ABOVE: // M/DD/YY PRIVATE THREADS PORT include_once('./includes/functions_privatethread.php'); if (private_thread_not_allowed($threadinfo)) { eval(standard_error(fetch_error('privatethread_not allowed'))); } // END PRIVATE THREADS PORT ^^^^^ That for 3.5.x So, how should it be for 3.6.x so it won't give a blank page? |
#2
|
|||
|
|||
it could possible be a problem with functions_privatethread.php
|
#3
|
|||
|
|||
Here's the attachment
|
#4
|
||||
|
||||
Kewl. The file says I helped write it. Must have been one of my other heads.
Anyway, you said you are getting a blank page. In what context? what file are you loading to test the hack, and have you installed the rest of the private thread stuff? Is a php error being generated? Looks like my colleagues have not released the 3.6 version of this hack. |
#5
|
|||
|
|||
Only when using
Code:
// M/DD/YY PRIVATE THREADS PORT include_once('./includes/functions_privatethread.php'); if (private_thread_not_allowed($threadinfo)) { eval(standard_error(fetch_error('privatethread_notallowed'))); } // END PRIVATE THREADS PORT |
#6
|
||||
|
||||
Right, yes, so you said. Have you looked to see if there is a php error? have you turned on error reporting to screen? Have you added the phrase to the database?
|
#7
|
|||
|
|||
Have you looked to see if there is a php error? I do not get no error for the php.
have you turned on error reporting to screen? No Have you added the phrase to the database? No |
#8
|
||||
|
||||
Quote:
add the phrase to the error section of the phrase table. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|