MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I imagine it should be possible either by modifying settings on-the-fly or clobbering the internal plugins list.
pshh.. i really need a hook lol imma add my own

since i need to parse the files before it is saved to the database by xthreads

EDIT:
where is that thing in xthreads wherein I can catch when XThreads is about parse a file and save its entry to the database
I think you can find it in xt_updatehooks.php and xt_upload.php
Ohh found it thanks!

Now i'm gonna make urls dynamic..
File Url isn't find anywhere? (or did i just overlooked it?)

is xthreads gonna have dynamic/expiring urls?
or something like attachments.php do.. checking permissions lol
(04-08-2012 12:11 AM)jim7777 Wrote: [ -> ]is xthreads gonna have dynamic/expiring urls?
I think we'll have the feature in the next release:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=288&pid=1028
I love the feature Biggrin
Hmm, it looks very cool, but what about image links in text and things? I have a lot of my images at a preset size in a bbcode where the image url is part of the BBCode. If the urls change dynamically would that break my images in my BBcodes?
(04-08-2012 08:45 AM)leefish Wrote: [ -> ]Hmm, it looks very cool, but what about image links in text and things? I have a lot of my images at a preset size in a bbcode where the image url is part of the BBCode. If the urls change dynamically would that break my images in my BBcodes?
Yes it would, which is one reason why the feature is disabled by default.

Updated to v1.50:
  • add ability to override configuration settings on a per forum basis; the "force postbit layout" and "threads per page" options have been migrated to this and the options have been removed (arguably more difficult to understand by newbies, but oh well)
  • add ability to specify custom HTML for thread field inputs
  • allow display labels to be associated with list/option/checkbox inputs' values (thanks to RateU for the idea)
  • add check for bad syntax in conditionals when setting them in the ACP (moderator tools' conditionals aren't checked yet)
  • fix paging bug on search results page (thanks to masterj for pointing out)
  • add option to expire attachment links and/or tie them to IP address ranges; enable in cache/xthreads.php (requested by Sama34)
  • add ability to override default attachment MIME types - see cache/xthreads.php for instructions on how to enable
  • fix multipage links containing filter URLs with Google SEO (thanks to glas for finding)
  • fix conflict with Add Forum Options plugin (thanks to Sama34 for pointing out)
  • add "xthreads_inputrow" class for table rows on newthread/editthread containing extra thread field inputs

The upgrader will modify your threadfields_inputrow template.
Wow,new update.
Thanks,Yumi. Smile
Zinga - sorry to reask the question: but these dynamic urls will only affect images links where I link directly to the "real" image url rather than a specified thumbnail? Will it still show the thumbnails?

Example: {$GLOBALS['threadfields']['pfapic2']['value']}  <- That image would not be affected? pfapic is my threadfield key.
Yes, if you reference the image through an XThreads function/variable, it will always work.
Reference URL's