MyBB Community Forums

Full Version: Rate Posts mod error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I go to active the Rate Posts plugin I get this message:

Quote:Fatal error: Call to undefined function rebuild_settings() in D:\inetpub\vhosts\discourseboard.com\httpdocs\forum\inc\plugins\post_rating.php on line 110

Does anybody have any idea why I would get this or any suggestions on how to rectify the situation?
If it is any help, under my AdminCP > Board Settings > Change
there is four instances of Rate Post. It looks like this:

Quote:Rate Post (4 Settings)
Allows users to rate every post

Rate Post (4 Settings)
Allows users to rate every post

Rate Post (4 Settings)
Allows users to rate every post

Rate Post (4 Settings)
Allows users to rate every post
I removed "postrating.js" and "post_rating.php" (the two files the readme asks you to install) and I removed all four instances of the Rate Post settings.

Tried to install it again, carefully following the directions in the readme... Same results.
Hey, what do you know, I figured it out!

In case anybody reading this has the same problem, this is the simple solution.

On line 110, I changed "rebuild_settings()" to "rebuildsettings()"

Resolved.
cam8755 Wrote:Hey, what do you know, I figured it out!

In case anybody reading this has the same problem, this is the simple solution.

On line 110, I changed "rebuild_settings()" to "rebuildsettings()"

Resolved.

In MyBB 1.4 its changed again to rebuild_settings() =P
Are these changes going to make it difficult to upgrade from 1.2.9 to 1.4.x? I am going to wait until the newest update is ready for full release, but I hope the transition is not too difficult.
Every plugin who uses that function will probably need an update as there are other changes too =P As for the 'forum-upgrade' it should be reuploading files && follow the upgradeguide =P