Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Help with Custom WOL Text
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #1
Help with Custom WOL Text
EDIT: sorry I didn't notice this forum isn't for help. I should have posted in the Xthreads release topic.

Hello,

I am currently trying to figure out the custom text for when users view the who's online list. currently, I have these fields entered for my youtube video gallery:

Forum Display: Viewing <a href="{1}">{2}</a>
New Thread: Adding a new video
New Reply: Replying to <a href="{1}">{2}</a> video
Show Thread: Watching <a href="{1}">{2}</a> video

The first 2 work the way they should be. the second two do not. they simply show the default text that shows when viewing whos online. ("Replying to Thread" and "Reading Thread")

i tried search for this but did not find any answers. any direction in regards to this would be very helpful. Thank you!
(This post was last modified: 08-07-2012 08:15 AM by Gstone.)
08-07-2012 07:39 AM
Find all posts by this user Quote this message in a reply
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
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #3
RE: Help with Custom WOL Text
Very nice, thank you again ZiNgA BuRgA. Fix works great.
08-07-2012 11:21 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: