Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Xthreads Cutsom Image Uploader not working in GoMobile
DallasCowboys Offline
Junior Member
**
Posts: 4
Joined: Apr 2017
Post: #1
Xthreads Cutsom Image Uploader not working in GoMobile
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.
(This post was last modified: 04-18-2017 08:27 AM by DallasCowboys.)
04-18-2017 07:02 AM
Find all posts by this user Quote this message in a reply
DallasCowboys Offline
Junior Member
**
Posts: 4
Joined: Apr 2017
Post: #2
RE: Xthreads Cutsom Image Uploader not working in GoMobile
Please help, I'm stuck.
If you need more information, please let me know.
04-19-2017 07:02 AM
Find all posts by this user Quote this message in a reply
DallasCowboys Offline
Junior Member
**
Posts: 4
Joined: Apr 2017
Post: #3
RE: Xthreads Cutsom Image Uploader not working in GoMobile
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.
04-20-2017 05:11 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #4
RE: Xthreads Cutsom Image Uploader not working in GoMobile
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).

My Blog
02-10-2018 10:24 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: