MyBB Hacks

Full Version: Xthreads Cutsom Image Uploader not working in GoMobile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a problem with XThread image in MyBB GoMobile 1.8.
The image uploader works fine in regular MyBB desktop version, but it doesn't work in the GoMobile version.

This is the trdf_postbit_first template I use for the image upload:

<a href="{$GLOBALS['threadfields']['trdfimg']['url']}"><img src="{$GLOBALS['threadfields']['trdfimg']['url']}/thumb160x120" alt="" title="" /></a>

After uploading, this is what's been generated in HTML:

<a href=""><img src="/thumb160x120" alt="" title=""></a>

It's missing the image url, perhaps some php or js file wan't fired or missing in mobile?
Please help.

Thanks.
Please help, I'm stuck.
If you need more information, please let me know.
Can you anybody recommend a good IDE to debug MyBB site?
I have MyBB running on my localhost, so I can put breakpoints in PHP to debug.

Thanks.
If it's a theme, there's possibly some broken Javascript or the like, so try using the browser's Javascript debugger/console.
If you're sure that isn't the issue, see if PHP is getting it (do a die(var_dump($_FILES)); or similar at the top of a script).
Reference URL's