Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Xthreads lryics site?
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #39
RE: Xthreads lryics site?
A little update:

  1. Related Song ID custom thread fields Display Format:

    Code:
    <setvar xtl_sid>THIS_SCRIPT == 'showthread.php' ? get_thread(intval({VALUE})) : ''</setvar>
    <setvar xtl_rsid>$tplvars['xtl_sid'] && $tplvars['xtl_sid']['fid'] == $fid ? '<a href="'.get_thread_link(intval($tplvars['xtl_sid']['tid'])).'">'.htmlspecialchars_uni($tplvars['xtl_sid']['subject']).'</a>' : ''</setvar>

  2. xtlyrics_showthread template:
    Find (around line #63):

    Code:
    63
    {$GLOBALS['threadfields']['xtlyrics_rsid']}

    Replace with:

    Code:
    63
    {$GLOBALS['tplvars']['xtl_rsid']}


I've updated the example application post.
Modify it as our needs.

(This post was last modified: 05-30-2011 03:23 AM by RateU.)
05-30-2011 03:22 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Xthreads lryics site? - Mark2x - 11-01-2010, 06:11 AM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-01-2010, 09:31 AM
RE: Xthreads lryics site? - 1master1 - 11-02-2010, 05:39 PM
RE: Xthreads lryics site? - RateU - 11-03-2010, 02:06 AM
RE: Xthreads lryics site? - 1master1 - 11-03-2010, 05:45 PM
RE: Xthreads lryics site? - leefish - 11-04-2010, 12:48 AM
RE: Xthreads lryics site? - Mark2x - 11-04-2010, 01:03 PM
RE: Xthreads lryics site? - Mark2x - 11-06-2010, 05:20 AM
RE: Xthreads lryics site? - RateU - 11-06-2010, 05:29 AM
RE: Xthreads lryics site? - 1master1 - 11-06-2010, 04:10 PM
RE: Xthreads lryics site? - Mark2x - 11-08-2010, 01:01 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-08-2010, 01:51 PM
RE: Xthreads lryics site? - leefish - 11-08-2010, 07:18 PM
RE: Xthreads lryics site? - Mark2x - 11-12-2010, 10:43 AM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-12-2010, 01:29 PM
RE: Xthreads lryics site? - RateU - 11-14-2010, 07:42 AM
RE: Xthreads lryics site? - 1master1 - 11-14-2010, 07:12 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-14-2010, 07:49 PM
RE: Xthreads lryics site? - 1master1 - 11-14-2010, 09:24 PM
RE: Xthreads lryics site? - Mark2x - 11-15-2010, 10:18 AM
RE: Xthreads lryics site? - RateU - 11-17-2010, 12:15 PM
RE: Xthreads lryics site? - 1master1 - 11-17-2010, 03:17 PM
RE: Xthreads lryics site? - RateU - 11-18-2010, 06:54 AM
RE: Xthreads lryics site? - 1master1 - 11-18-2010, 07:26 PM
RE: Xthreads lryics site? - RateU - 11-19-2010, 08:01 AM
RE: Xthreads lryics site? - leefish - 11-19-2010, 08:23 AM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-19-2010, 09:36 AM
RE: Xthreads lryics site? - 1master1 - 11-19-2010, 09:56 AM
RE: Xthreads lryics site? - Glas - 11-19-2010, 01:37 PM
RE: Xthreads lryics site? - RateU - 11-20-2010, 05:20 AM
RE: Xthreads lryics site? - Glas - 11-20-2010, 06:04 AM
RE: Xthreads lryics site? - RateU - 11-20-2010, 06:31 AM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-20-2010, 08:12 AM
RE: Xthreads lryics site? - RateU - 11-20-2010, 08:42 AM
RE: Xthreads lryics site? - Bumiayu - 11-28-2010, 01:45 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 11-28-2010, 02:34 PM
RE: Xthreads lryics site? - Bumiayu - 11-28-2010, 07:01 PM
RE: Xthreads lryics site? - leefish - 11-28-2010, 07:28 PM
RE: Xthreads lryics site? - RateU - 05-30-2011 03:22 AM
RE: Xthreads lryics site? - terzier - 03-10-2012, 06:35 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 03-10-2012, 07:13 PM
RE: Xthreads lryics site? - terzier - 03-10-2012, 07:59 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 03-11-2012, 10:20 AM
RE: Xthreads lryics site? - terzier - 03-17-2012, 08:13 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 03-17-2012, 11:04 PM
RE: Xthreads lryics site? - terzier - 03-18-2012, 02:14 PM
RE: Xthreads lryics site? - ZiNgA BuRgA - 03-18-2012, 08:46 PM
RE: Xthreads lryics site? - Sama34 - 05-07-2012, 02:04 PM
RE: Xthreads lryics site? - RateU - 05-08-2012, 06:33 AM
RE: Xthreads lryics site? - Sama34 - 05-08-2012, 01:45 PM
RE: Xthreads lryics site? - RateU - 10-08-2012, 02:44 AM

 Standard Tools
Forum Jump: