xthreads error
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #11
RE: xthreads error
(01-12-2011 07:32 PM)1master1 Wrote:  found that the xthread custom field permissions are not synchronizing withe the default mybb permissions.
i had made some forums only viewable for awaiting activation members and they cannot see the threads inside it and had the thread description field installed.
now when they click on the forum name, it is giving the error which is in first post. i tried custom setting the permissions of the xthread field. but didnt worked.

Could you post the forum setting and the custom thread fields setting?
I can't reproduce it (MyBB 1.6).

01-13-2011 01:56 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #12
RE: xthreads error
Here are the settings screenshots, rateu

   
   
   
01-13-2011 05:09 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #13
RE: xthreads error
Still, I can't reproduce it with your setting.
What XThreads version you are using?

01-13-2011 05:23 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #14
RE: xthreads error
xthreads 1.32
01-13-2011 05:26 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #15
RE: xthreads error
Not quite sure whether this will solve your problem or not. Try to upgrade your XThreads version. XThreads already in v 1.337 now.

01-13-2011 05:46 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #16
RE: xthreads error
(01-12-2011 07:32 PM)1master1 Wrote:  found that the xthread custom field permissions are not synchronizing withe the default mybb permissions.
It's not meant to.

It appears that the join is not being put into your query.
XThreads searches for the WHERE statement and part of it to replace it:

PHP Code:
                'WHERE t.fid=' => 'LEFT JOIN `'.$db->table_prefix.'threadfields_data` tfd ON t.tid=tfd.tid'.$sortjoin.' WHERE t.fid=',

You said you've done some core file edits.  Have you modified this query in forumdisplay.php in any way?

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
    // Start Getting Threads
    $query = $db->query("
        SELECT t.*, p.displaystyle AS threadprefix, {$ratingadd}{$select_rating_user}t.username AS threadusername, u.username
        FROM ".TABLE_PREFIX."threads t
        LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid = t.uid){$select_voting}
        LEFT JOIN ".TABLE_PREFIX."threadprefixes p ON (p.pid = t.prefix)
        WHERE t.fid='$fid' $tuseronly $tvisibleonly $datecutsql2
        GROUP BY t.tid
        ORDER BY t.sticky DESC, {$t}{$sortfield} $sortordernow $sortfield2
        LIMIT $start, $perpage
    ");


My Blog
01-13-2011 09:29 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #17
RE: xthreads error
nope. added the thread description field in "show thread" template. Other than that i didnt made any edits.
checked the forumdisplay file and the code is intact.
(This post was last modified: 01-13-2011 05:21 PM by 1master1.)
01-13-2011 05:09 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #18
RE: xthreads error
Please try disabling all other plugins then.
Alternatively, set up a completely clean test forum and document every single step you take after the install to reproduce the bug - I'll be able to see what happens from there.

My Blog
01-13-2011 07:20 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #19
RE: xthreads error
though it is hard to disable each and every plugin as i have lots of plugins installed, i will work on localhost of my live board copy
01-14-2011 09:15 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #20
RE: xthreads error
Thanks.

My Blog
01-15-2011 09:47 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: