I'm using 3.5.6.
Running into a problem in includes/function_newpost.php.
The instructions say:
FIND:
// $errors will become any error messages that come from the checks before preview kicks in
global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $_REQUEST;
REPLACE WITH:
// $errors will become any error messages that come from the checks before preview kicks in
if ($rss_userid == '0')
{
global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $_REQUEST;
}
else
{
global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $_REQUEST;
$bbuserinfo = fetch_userinfo($rss_userid);
}
But my function_newpost.php has a different structure. If I implement this as is, it gives me "Fatal error: Registry object is not an object in /includes/class_dm.php on line 177" when I try to manually create a post.
Can you shed any light on what the proper structure of the function_newpost.php should be for version 3.5.6?
thanks
|