Not Solved Post on registration MOD (error)
#1
Not Solved
This user has been denied support. This user has been denied support.
I Get this error when i try to register on the forum.

Fatal error: Call to undefined function updatethreadcount() in /home/alexzand/public_html/forum/inc/plugins/postonreg.php on line 205

Also on the forum
{username} 
Don't Work .
Reply
#2
Not Solved
1) Open the plugin file and replace the name of the function updatethreadcount with update_thread_count.

2) Try this: Open the plugin file and search for:
$message = str_replace('{username}', htmlspecialchars_uni($username), $mybb->settings['postonreg_message']);
$subject = str_replace('{username}', htmlspecialchars_uni($username), $mybb->settings['postonreg_subject']); 
Replace with:
$message = str_replace('{username}', htmlspecialchars_uni($mybb->user['username']), $mybb->settings['postonreg_message']);
$subject = str_replace('{username}', htmlspecialchars_uni($mybb->user['username']), $mybb->settings['postonreg_subject']); 
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
After ive maded all you said i get this error:

Fatal error: Call to undefined function updateforumcount() in /home/alexzand/public_html/forum/inc/plugins/postonreg.php on line 206
Reply
#4
Not Solved
get the latest version from the mods site.
Reply
#5
Not Solved
This user has been denied support. This user has been denied support.
ive installed this MOD:

http://mods.mybboard.com/view.php?did=247

is the LAST VERSION

I Use MyBB 1.2 .
Reply
#6
Not Solved
Replace the function updateforumcount() with update_forum_count() or download the mod again.
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
Reply
#7
Not Solved
This user has been denied support. This user has been denied support.
After ive re-installed the plug in
i got this error:

Fatal error: Call to undefined function updatethreadcount() in /home/alexzand/public_html/forum/inc/plugins/postonreg.php on line 205

Look what i have on line 205:
		updatethreadcount($tid);

So.. I can't find this "updateforumcount()" .
Reply
#8
Not Solved
This user has been denied support. This user has been denied support.
Problem solved. (MOd have been Updated by Developer)

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)