MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The forumbit_* templates are a bit special.
It's even possible to have two prefixes applied to them - they can pull the prefix from the forum they represent, as well as the forumdisplay page's forum.

This is somewhat to facilitate using prefixes on the index page (but will propagate to the forumdisplay page) - I guess the note can be a little misleading in this case, although it going down into child forums isn't exactly correct either.

Hope that helps.
OK, thanks for clarifying it.
Hey Zinga Biggrin
can you add some thread field like it will fetch users from the database? or sumthin like auto highlight of the text inputted to the field if that text exists as a username of a user in the database? just like in vBulletin's Download plugin in the Author's field

because i want something like that author field xD
Did you look to see how it was accomplishes here? http://mybbhacks.zingaburga.com/showthread.php?tid=293
^ I don't think he means that.
Custom vocabulary was an idea I had (in this case, you'd have a username vocab) so it may be implemented in the future.

Updated to v1.46 - just a simple bugfix:
  • fix bad pre-defined URL regexes for Text Mask Filtering in the ACP thread fields editor - it wouldn't allow numbers in the URL host (thanks to Shemo for pointing out); note that the upgrader will try to automatically fix these bad regexes - this should not be a problem but if you've got some special hand crafted regex that deliberately acts bad (lol rly?) you may wish to act like a madman
This is probably a very simple question, but how do I take out the users avatar from the announcements shown in the portal?
Thanks for the update, Yumi Smile

(08-31-2011 02:36 AM)thepilotguy Wrote: [ -> ]This is probably a very simple question, but how do I take out the users avatar from the announcements shown in the portal?
Not quite sure why you post it in this threads? Assuming you use XThreads to create a prefix portal template, you can remove the {$avatar} from your prefix_portal_announcement template (depends on what prefix template you use).
I'm considering using Xthreads for a project (gotta wait til I get an appropriate theme for it first), in lieu of having to ask for two plugins to be made - cookbook and ratings (for restaurants). I think I saw a thread on how to make recipes, but I don't know if I can modify one of the two reviews to work.

Update: I decided against using it, as I use My Advertisements (but I think I had it and that plugin both activated with no problems at one point at one of my sites) and am not a good programmer. I was wrong about the recipes, so I'd have to figure that out myself (probably would fail due to me knowing very little PHP), and I don't think I could modify the book review enough to fit. Oh well, MyTabs organized it good enough for now.
are there any ways to use {$ratethread} in postbit_first ?? i would like just to move the ratings template inside the postbit_first template Oh

oh nvm {$GLOBALS['ratethread']} is working Biggrin
I've just encountered an error whilst using this plugin after having setup a new custom field of type File. Here's the error:

Code:
PHP Fatal error:  Call to undefined function xthreads_evalcache_article_image() in /var/www/xboxgeneration.com/public/inc/plugins/xthreads.php on line 501


And here are the field settings:

[attachment=592]
[attachment=593]


This only happens when there's another custom thread field applied to the same forum for some reason. When it's the only field, it's perfectly happy.

Reference URL's