G0F0RBR0KE
07-12-2007, 01:11 PM
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?
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?