MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Seems like the cache file is not being updated after modifying thread fields. Check the folder permissions for the cache directory. I may be wrong though.
I'll double check that Sama34, didn't think of that.
the cache directory is 777.
just on a whim, I removed the '1' from 'pfrating' in the key, saved it and the forum is now accessible.
when I go into the 'edit forum settings' tab and hit 'save settings' without making any changes whatsoever, I get the following errors:

[attachment=939]

any reason why?
Open inc/xthreads/xt_admin.php, find:

PHP Code:
if(isset($tf['fileimgthumbs'])) {

replace with

PHP Code:
if(isset($tf['fileimgthumbs']) && is_array($tf['fileimgthumbs'])) { // will be an empty string if there's no thumbnails set

(04-03-2013 02:21 PM)ZiNgA BuRgA Wrote: [ -> ]Open inc/xthreads/xt_admin.php, find:

PHP Code:
if(isset($tf['fileimgthumbs'])) {

replace with

PHP Code:
if(isset($tf['fileimgthumbs']) && is_array($tf['fileimgthumbs'])) { // will be an empty string if there's no thumbnails set


thanks.
Zinga,

Does xthreads have to be applied to a category in order for it to work or can it be applied to a sub-forum on its own and still function?

I'm currently trying to get it to work like this on my forum:

Category
- Forum
-- Sub-forum (I want the xthreads mod to only apply here)

but it doesn't seem to be applying the custom thread fields to that sub-forum.
(04-04-2013 03:55 AM)Shemo Wrote: [ -> ]Does xthreads have to be applied to a category in order for it to work
Applying it to a category does nothing.
(04-04-2013 10:01 AM)ZiNgA BuRgA Wrote: [ -> ]
(04-04-2013 03:55 AM)Shemo Wrote: [ -> ]Does xthreads have to be applied to a category in order for it to work
Applying it to a category does nothing.

gotcha.

the reason I ask is because the custom thread fields are working on the default mybb theme, but not on 2 themes I added to the site.

is there some code I can manually try adding to the theme if it's not present already?
Reference URL's