Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Help with Custom WOL Text
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Help with Custom WOL Text
Looks like some version of MyBB 1.6.x changed a query and broke it.
Can fix by editing inc/xthreads/xt_mischooks.php
find:

PHP Code:
							if(!$done && !$write_query && substr(trim($string), 0, 73) == "SELECT t.fid, t.tid, t.subject, t.visible, p.displaystyle AS threadprefix") {

replace with:

PHP Code:
							if(!$done && !$write_query && (substr(trim($string), 0, 73) == "SELECT t.fid, t.tid, t.subject, t.visible, p.displaystyle AS threadprefix" || substr(trim($string), 0, 80) == "SELECT t.uid, t.fid, t.tid, t.subject, t.visible, p.displaystyle AS threadprefix")) {


Thanks for finding.


My Blog
08-07-2012 10:41 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Help with Custom WOL Text - Gstone - 08-07-2012, 07:39 AM
RE: Help with Custom WOL Text - ZiNgA BuRgA - 08-07-2012 10:41 AM
RE: Help with Custom WOL Text - Gstone - 08-07-2012, 11:21 AM

 Standard Tools
Forum Jump: