MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I suppose some webserver setups may intercept 404 responses and do their own thing rather than display what they're told to.

(12-11-2015 04:19 PM)Sama34 Wrote: [ -> ]Though the image link is correctly generated as ./xthreads_attach.php?file=2_1449778966_5258e46e/44833aea44667d56d5969d30c23d6b60/monster.jpg the image is not visible anyways.
Did you mean that the link works sometimes?
Do you have XTHREADS_ATTACH_LINK_IPMASK set?
Have you modified MyBB's default MYBB_ROOT define?
(12-18-2015 10:10 AM)ZiNgA BuRgA Wrote: [ -> ]I suppose some webserver setups may intercept 404 responses and do their own thing rather than display what they're told to.

The image is now displayed correctly and if an incorrect url is visited the expected error message is displayed. This after reverting XTHREADS_EXPIRE_ATTACH_LINK back.

(12-18-2015 10:10 AM)ZiNgA BuRgA Wrote: [ -> ]Did you mean that the link works sometimes?

I don't remmeber if it worked the first time I did set a value for XTHREADS_EXPIRE_ATTACH_LINK but I just noticed it a few days ago (I never finished the project and just went back to finalize it..). My assumption is that the link was never updated and the image stopped working without displaying an error message when accessing directly to it.

(12-18-2015 10:10 AM)ZiNgA BuRgA Wrote: [ -> ]Do you have XTHREADS_ATTACH_LINK_IPMASK set?

No.

(12-18-2015 10:10 AM)ZiNgA BuRgA Wrote: [ -> ]Have you modified MyBB's default MYBB_ROOT define?

No.
:/
Okay, thanks for the info.
Updated to v1.68:
  • fix showthread WOL text not working on MyBB 1.8 (thanks to RateU for reporting)
  • fix a case of data loss when editing thread and no threadfield data was changed
  • PHP 7 compatibility fixes
I'm using PHP7.0-FPM, Nginx 1.9.12, and MariaDB (but maybe switching to PostgreSQL), will I run into any compatibility issues or should your recent update as of 12-25-2015 resolve any problems running on a bleeding-edge stack?
XThreads isn't compatible with PostgreSQL, but otherwise that configuration should be fine.
Hi, has anyone tried the new 1.8.7 version with xThreads, PHP Template Conditionals and Thread Tooltip Preview? everything works?
Thanks
Everything works Biggrin

Only doesn't work this code, in forumdisplay (after 4 or 8 threads I see condition):

PHP Code:
<if (($threadcounter - 4) % $mybb->settings['threadsperpage'] == 0) then>
- condition -
    
<elseif (($threadcounter - 8) % $mybb->settings['threadsperpage'] == 0) then>
- condition -

I'm still using and loving this plugin Heart Thanks a lot!


I wanted to know if it is possible to show some of the fields in the profile? I have a plugin that gives an overview over some of Threads a User has in specific areas and I'd love to show the Prefixes and Thread Descriptions too. (Link to the used Plugin: Ingame Scenes)
You'd need a custom modification for that to work unfortunately.
Reference URL's