MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have updated both boards to the last MyBB and xThreads version and the issue doesn't seems to be related to those two scripts directly.
For the review_movie_madmax.jpg image, what is the file name saved in the ts_* ?

Code:
./xthreads_ul/ts_1434/file_1_16b96aa8_review_movie_madmax_jpg.160x120.thumb
./xthreads_ul/ts_1434/file_1_16b96aa8_review_movie_madmax_jpg.320x240.thumb
./xthreads_ul/ts_1434/file_1_16b96aa8_review_movie_madmax_jpg.88x66.thumb
./xthreads_ul/ts_1434/file_1_16b96aa8_review_movie_madmax_jpg.upload


Which seem about correct.

What happen if you use this URL?

Code:
xthreads_attach.php?file=1_1434415750_16b96aa8|028b459df8314833b2f2d278662b0920|review_movie_madmax.jpg

Same white page.
What happen if you use a random URL? For example:

Code:
xthreads_attach.php?file=9_1111111111_aaaaaaaa|bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb|blah.jpg

Same white page.

Edit: This does not happens in the functioning board..
Ugh.... It should displaying 404 Not Found page: Specified attachment not found.
I tracked the issue to the following line in xthreads_attach.php:

PHP Code:
$match[3] = dechex(xthreads_attach_decode_hash(hexdec($match[3])));


I reverted XTHREADS_EXPIRE_ATTACH_LINK from 604800 to 0 to stop this in the meanwhile.

Now I can access the file directly but thumbnails were not available, so I reverted XTHREADS_ATTACH_USE_QUERY as well from 2 to 0 and it all seems to be functional.

Thank you RateU!

Never thought about the expire link setting before.
But I think it should displaying the 404 "Specified attachment not found. It's possible that the link has expired - try going back, refresh the page, and access the attachment again." page, not only a blank/white page.

I don't know whether it is a bug or not, but you need to wait Yumi to reply.
Reference URL's