MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, I don't know about the other conditional statement that can reproduce it.

But, if we forget to close a conditional statement like this (for example only) in our Display Format or Blank Replacement Value:

Code:
<if $mybb->user['uid'] == 1 then>{VALUE}

we will get a blank page.

I guess I could try putting in a syntax check for conditionals...
at least some basic checks would be nice!
One question, threads already posted can't be edited with the new xthread fields?


Never mind, the xthreads variable was not added to the editpost template, who knows the reason.
I think XThreads tries to search {$posticons} variable in the editpost template to put the {$extra_threadfields} variable.
How can I get the current Xthread filter (filtertf_*) from a template/plugin? I want to display the current filter so the user knows it.
I could check mybb->input, just like xthreads does, but is there some way to retrieve the xthreads data? In a human readable format?
Do you mean which filter being active?
If so, you can use $filters_set array.
that's what I meant. Thanks!
Thank you ,
i have an idea to add for your plugin Xthreads, when you wanna edit a forum (simple forum XThreads not applied ) i don't wanna a shown XThread options (Normally sall be Hieden ), so you need to add a Button ON/OFF for that.

If i wanna a apply XThreads option "Yes" then show : Template Prefix, Language File Prefix, ....
If "No" it look simple as Default .
it's just a suggestion ,
hopp you undestand my idea and also My English Biggrin
It really doesn't take up that much space, and it's at the bottom of the page...
Reference URL's