MyBB Hacks

Full Version: thumbails in similar threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
So did you use the text mask specified in the guide?
You say you think it's wrong, yet you don't actually post what you've put there.  Smart.
yes i did that I  want to say that there´s missing something in the query, but not the text mask, I´m talking about the query becasuse with

{$GLOBALS['threadfields']['vidid']} =  LX8gbhth-rk

but with

{$GLOBALS['similar_thread']['vidid']} = http://img.youtube.com/vi/http://www.you...http://img.youtube.com/vi/http://www.youtube.com/watch?v=EXZVCfmF_Zw/mqd

I don´t know what is wrong.

Zinga Do not get me wrong, sorry for my english :c
So, what is your text mask filter set to?
What's your display format set to?
The text mask filter is working fine but not in similar threads.

The text mask is the same " ^(?Frown[a-zA-Z0-9_\-+]{8,16})$|http\://(?:[a-z]{1,4}\.)?youtube\.com/watch\?v=([a-zA-Z0-9_\-+]{8,16})) "

It´s not working in similar thread because is displaying all the URL of the video not the ID like other places

for example {$GLOBALS['threadfields'][vidid]} this is fine because is displaying just the ID of the video and is more simple to take the image of the video, but in similar thread it´s not working because is displaying all the URL :/

I don´t know why, I guess because something is blocking the text mask (?) or just doesn´t put the text mask in the query (?)

if this is resolved this will help the others Smile
(05-20-2013 02:20 PM)ZiNgA BuRgA Wrote: [ -> ]What's your display format set to?
dispformat  {VALUE$1}{VALUE$2}

Textmask:

Code:
^(?:([a-zA-Z0-9_\-+]{8,16})$|http\://(?:[a-z]{1,4}\.)?youtube\.com/watch\?v=([a-zA-Z0-9_\-+]{8,16}))



{$GLOBALS['threadfields'][vidid]} = Yes, this displays only the ID of the video
{$GLOBALS['similar_thread'][vidid]} = No, this doesn´t display the ID, this display all the URL, the text mask doesn´t work here :/

Thank you.
I changed my previous post - haven't tested, but see if it works for you.
It didn´t work zinga :/

That displays nothing... Ouch
My bad, I've changed it again.
Could you please try it?
I actually tried it but it looks like I forgot a semicolon when I posted that.
Should be fixed.
Pages: 1 2 3
Reference URL's