Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Xthreads lryics site?
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #31
RE: Xthreads lryics site?
(11-20-2010 05:20 AM)RateU Wrote:  [quote='glas' pid='4646' dateline='1290137873']
youtube regex is not working anymore
What do you mean by "not working anymore"?

In Lyrics Forum:
http://www.14.mynie.co.cc/showthread.php?tid=188

In YouTube Video Gallery (using the same method):
http://www.14.mynie.co.cc/showthread.php?tid=189

(11-19-2010 01:37 PM)glas Wrote:  <param name="movie" value="http://www.youtube.com/v/{VALUE}"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/{VALUE}" type="application/x-shockwave-flash" allowfullscreen="true" width="360" height="270" wmode="transparent"></embed></object>
It doesn't work, just gives a blank square that's why ive replaced it with this code
11-20-2010 06:04 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #32
RE: Xthreads lryics site?
Look at the Display Format in YouTube Video fields at the example post again.
Find:
http://www.youtube.com/v/{VALUE}{VALUE}

You will find there are two URL like that in the Display Format..

Replace the {VALUE}{VALUE} with {VALUE$1}{VALUE$2}

I can't fix the example post right now.

11-20-2010 06:31 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #33
RE: Xthreads lryics site?
Sorry for that, the posts broke because of a bug in another plugin.

My Blog
11-20-2010 08:12 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #34
RE: Xthreads lryics site?
@ glass: Just look at the YouTube Video field embed code at the example application post. It is my false that I didn't realize it yesterday. I'm sorry.

@ Yumi: Thank you very much, Yumi Smile

11-20-2010 08:42 AM
Find all posts by this user Quote this message in a reply
Bumiayu Offline
Junior Member
**
Posts: 4
Joined: Nov 2010
Post: #35
RE: Xthreads lryics site?
when i want change Input Field Type there is no File option chosen for image description on XThreads plugin or on Custom Thread Fields so my image doesnt shown on threads.

Help me please. Wink2
11-28-2010 01:45 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #36
RE: Xthreads lryics site?
You can only set type to File when creating a thread field (not when editing).  There is no way to convert a non-file input field to a file input field.

My Blog
11-28-2010 02:34 PM
Find all posts by this user Quote this message in a reply
Bumiayu Offline
Junior Member
**
Posts: 4
Joined: Nov 2010
Post: #37
RE: Xthreads lryics site?
(11-28-2010 02:34 PM)ZiNgA BuRgA Wrote:  You can only set type to File when creating a thread field (not when editing).  There is no way to convert a non-file input field to a file input field.

Thank you.... Smile

But i have error when i upload the picture on new thread. I've followed the instruction coreccted... Smile
11-28-2010 07:01 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #38
RE: Xthreads lryics site?
Hi there, when you get a picture upload error you need to check 3 things:

the size of the file (kbs)
The type of the file (png, jpg whatever)
The DIMENSIONS of the file. For example, if your setting is 100px by 200px and you upload a 200px by 100px file it will give an error.


[Image: leelink.gif]
MYBB1.6 & XThreads
11-28-2010 07:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
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
terzier Offline
Member
***
Posts: 91
Joined: Feb 2012
Post: #40
Toungue RE: Xthreads lryics site?
how to fix this problem, Biggrin

   

   

Un-Official MyBB from Indonesia| Facebook Page|Twitter
GARUDA DIDADA KU
03-10-2012 06:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: