Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Using XThreads Custom Thread Fields For Plugin Settings
av8r_bra Offline
Junior Member
**
Posts: 11
Joined: Jun 2011
Post: #35
RE: Using XThreads Custom Thread Fields For Plugin Settings
Thanks again lee, will change my latestthreads block Smile

Btw, I've found that my portal page only works when I'm logged as a user, if not logged in I get an error loading the page:

Erro de SQL:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '66','61','66','58','62','61').' ORDER BY t.dateline desc LIMIT 5' at line 6
Consulta:
SELECT t.*, t.username AS tusername, u.username, u.avatar, u.usergroup, u.displaygroup, f.name FROM mybb_threads t LEFT JOIN mybb_users u ON (u.uid=t.uid) LEFT JOIN mybb_threadfields_data td ON (td.tid=t.tid) LEFT JOIN mybb_forums f ON (f.fid=t.fid) WHERE t.visible=1 AND td.xtdispportal='Yes' AND t.closed NOT LIKE 'moved|%''. AND t.fid NOT IN ('66','61','66','58','62','61').' ORDER BY t.dateline desc LIMIT 5

Removing custom thread block solves the problem, I've double checked and everything seems to be ok =/
06-20-2011 11:42 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Using XThreads Custom Thread Fields For Plugin Settings - av8r_bra - 06-20-2011 11:42 AM

 Standard Tools
Forum Jump: