MyBB Hacks

Full Version: xmlhtttp.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, the first problem:
http://mybbhacks.zingaburga.com/showthread.php?tid=126

If we do what zinga said (add the function to the bottom of the file) we wil not be able to "buy" the username color (per example), this error will be returned:

http://www.website../error.png) center no-repeat; background-position: 7px 7px; text-align: left; margin: 5px 15px 5px 15px; padding: 13px 20px 13px 45px; border-top: 2px solid #FEABB9; border-bottom: 2px solid #FEABB9; line-height: 150%; font-weight: bold; width: 90%;">A connection error occurred!

THIS IS THE EXACT ERRROR.

Any idea to fix this, zinga?
Gah, I knew it would have issues.
My bugfix uses a better approach anyway, and should get around this issue.
Basically, don't add that function to the bottom.
Instead, before the line 423 (call to format_variable()), add the line:

PHP Code:
require_once MYBB_ROOT.'inc/plugins/myplaza/userformat.php';

I guessed that, but did not try it lol.
Thank you.

Guest

hi, sorry to hijack this thread, but it seems i gotta register to start a new thread (sorry, feeling a wee bit lazy atm)

really cool mod though, and looking forward to the full release.

Anyway, something related to the ajax mode of mybb and this mod:

When post messages have their length reduced, the author's money is reduced accordingly, but this doesn't seem to work for for quick-edit mode.

Thanks.
Reference URL's