MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just a small bug in 1.52, I don't know if it was reported yet (if so, please excuse me).
For textarea (Multiline Textbox) the Field Input Width is ignored.
File xt_updatehooks.php, line 755. In this line $vars['WIDTH_PROP_SIZE'] should be $vars['WIDTH_PROP_COLS'] for the setting to work.
@Sama34: I think that logic may be a little too complex - you're probably better off writing a plugin for that...

@bogdan: Many thanks for finding that!
Updated to v1.53:
  • set default timezone in xthreads_attach.php if not set - PHP 5.3 may require it (thanks to Yin for finding)
  • fix textarea field width not having any effect (thanks to bogdan for reporting)
  • fix bad data type setting for non-text select/radio inputs (thanks to RateU for finding)
  • fix incorrect TABINDEX variable in default option button HTML code (thanks to RateU for finding)
  • slightly change the auto-detection for xtattachment URL type
(05-09-2012 10:40 AM)ZiNgA BuRgA Wrote: [ -> ]@Sama34: I think that logic may be a little too complex - you're probably better off writing a plugin for that...

@bogdan: Many thanks for finding that!

Yes I though so, was going to delete my post (I write them down before commenting) but well, I loss nothing for the comment.

Maybe something simpler, like hiding X field if Y field is not selected (for example, hide the download category if no file has been selected).

Also, can you explain how to get threadfields from another file?

I want to get fields of thread (which ID is, say, 15) that is inside forum with ID 3.

Thanks for the update BTW.
You can code that JS into the template yourself.

You pull thread fields simply by querying the threadfields_data table.
Thank you very much for the update, Yumi.
You are adding updates faster than I can install them. Just want to say - thank you. The MyBB forum software would be much less attractive and fun to modify without this plugin which you have developed and released to us all for free.
Just wondering, will settings overwrite work in the ajax file? A quick look at the code tells me it only loads when the global.php file is included.

Probably should think about an example here...
From memory XThreads won't do it in xmlhttp.php
i cant get this to show in specified forum
Reference URL's