vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

Makc666 07-07-2009 10:27 AM

Quote:

Originally Posted by DemoVFW (Post 1818155)
Had the same problem. You need to set "Extract destination data" to YES in vb cpanel-> AME-> Settings. I'm able to embed daily motion now.

Daily Motion

Regular expression by default:
PHP Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+ 

Extract destination data by default:
PHP Code:

http://[w\.]*dailymotion\[/url].[com|alicet\.]+/swf/([\w]*) 

In any way [com|alicet\.]must be [com|alice\.it]

Also the only way I was able to make Daily Motion working is to set:
  • Regular expression to:
    PHP Code:

    http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+) 

  • And set off "Extract destination data".
  • And remove "Embedding Regexp"

The Geek 07-07-2009 11:13 AM

Quote:

Originally Posted by daihlo (Post 1843670)
I get this message

Parse error: syntax error, unexpected '~' in /home/wwwcage/public_html/forum/includes/ame_bbcode.php(242) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://www.cagefilm.com/video/1475/M...king-4-MMA-DVD&quot;, &quot;&quot;, 1, &quot;~swf\?config=http://www\.cagefilm\.com/nuevo/econfig\.php\?key=([\w]*?)\\&quot;~sim&quot;, $ameinfo) in /home/wwwcage/public_html/forum/includes/ame_bbcode.php on line 242


Any ideas?

thanks - daihlo

Are you using the file cache? That doesn't look right at all.

The Geek 07-07-2009 11:15 AM

Quote:

Originally Posted by TMH63 (Post 1843698)
Anyone??

I'm not sure I follow what you are trying to do. If the definition is set to extract info from the destination page, the name of the page will appear in the media title. Otherwise the definition title appears.

The Geek 07-07-2009 11:17 AM

Quote:

Originally Posted by MonkYZ (Post 1843792)
Thanks again. Unfortunatelly i think there is a small letter missing (and i can't find where that is. Here is the title i get for the videos (i think the letter "R" is missing from [/COLOR]):

You are pasting a link with color and font encoding into the IE WYSIWYG editor. Take a 'clean' URL (i.e. copy from the address bar of the destination page).

The Geek 07-07-2009 11:40 AM

1 Attachment(s)
Quote:

Originally Posted by abdulbasitsaeed (Post 1844301)
Is it possible to update the definitions for Scribd documents? They do not display properly with this mod.

Here is scribd, though I only tested a couple permutations of the URLs.

BTw: Extraction must be on to obtain the embed key.

HTHs

TMH63 07-07-2009 11:52 AM

Quote:

Originally Posted by The Geek (Post 1844438)
I'm not sure I follow what you are trying to do. If the definition is set to extract info from the destination page, the name of the page will appear in the media title. Otherwise the definition title appears.


I guess that I was under the assumption that one could change the title name that comes up as the definition of the video. Like X video @ YOURWEBSITENAME or whatever you wanted to put there.

The Geek 07-07-2009 12:01 PM

Guess you could edit the ame_container template and change:

<a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>

to

<a href="$ameinfo[url]" title="$ameinfo[title] @ YOURSITENAME" target="_blank">$ameinfo[title] @ YOURSITENAME</a>

The Geek 07-07-2009 02:13 PM

1 Attachment(s)
Quote:

Originally Posted by Makc666 (Post 1844418)
Daily Motion

Regular expression by default:
PHP Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+ 

Extract destination data by default:
PHP Code:

http://[w\.]*dailymotion\[/url].[com|alicet\.]+/swf/([\w]*) 

In any way [com|alicet\.]must be [com|alice\.it]

Also the only way I was able to make Daily Motion working is to set:
  • Regular expression to:
    PHP Code:

    http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+) 

  • And set off "Extract destination data".
  • And remove "Embedding Regexp"

As per my other post, I think you were over thinking this one (at least from the examples I saw).

Dailymotions URL structure is

domain.suffix/various/paths/depending/on/things/name_of_video

In the embed code, you see a couple of references:

http://www.dailymotion.com/swf/name_of_video

and

http://www.dailymotion.com/swf/name_of_video

So, all we need is the name_of_video which can be taken from the URL and put into the replace code.

See attached definition

Makc666 07-07-2009 02:30 PM

Quote:

Originally Posted by The Geek (Post 1844510)
As per my other post, I think you were over thinking this one (at least from the examples I saw).

Dailymotions URL structure is

domain.suffix/various/paths/depending/on/things/name_of_video

In the embed code, you see a couple of references:

http://www.dailymotion.com/swf/name_of_video

and

http://www.dailymotion.com/swf/name_of_video

So, all we need is the name_of_video which can be taken from the URL and put into the replace code.

See attached definition

The Geek, thanks for reply.

I understand that I can use only Regular expression .

This is OK for me.

I am trying to understand why Embedding Regexp doesn't work for me on that Daily Motion?

As I understand AME does this one:
  1. Finds an URL of Daily Motion in post using Regular expression for example the URL:
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation
  2. Then if Embedding Regexp is filled
  3. AME takes that URL from post
  4. Extracts HTML Source of that page it got from the URL
  5. Using Embedding Regexp AME tries to find some "text" for that Regexp from that HTML Source
  6. If AME finds, then it uses it to build Replacement

Am I right?

The Geek 07-07-2009 02:43 PM

You only use the Embedding Regexp if the data needed to embed cannot be found within the URL itself.

For example:

if the embed code for www.myvideo.com/watch.php?v=123456 looks like:
<embed src="http://www.myvideo.com/watch.php?v=abcdef" ... />

In this instance, the URL doesnt 'tie up' to the embed HTML so AME needs to go to www.myvideo.com/watch.php?v=123456 and find the abcdef part. With the Embedding Regexp, AME pulls down the page and runs something like:

http://www\.myvideo\.com/watch\.php\?v=(\w+)

Which grabs the abcdef part so the video will properly embed.

In the event that the URL contains the information you need (i.e. the dailymotion definition I just posted) then this process is redundant and a time waster. Furthermore, the Embedding Regexp is generally different than the regexp used to match the URL in the first place.

Hope this helps.

applebeef 07-07-2009 10:58 PM

Hi the geek, I'm interested in using AME for two things:

-Youtube (works beautifully out of the box)

-local hosted .swf


The second one is what I'm having trouble with... I've imported the definition for it and configured my hostname for it (only 2 instances right?)


I can't get it to work though. It embeds the .swf, and shows the background or first frame of it, but otherwise is unresponsive. For an example see this: http://charles-song.com/testvb/showt...hp?p=17#post17

The .swf (a slideshow) works fine in other areas of my site, and by itself, if I put the direct url in my browser.

What am I doing wrong?

Makc666 07-08-2009 07:39 AM

Quote:

Originally Posted by The Geek (Post 1844533)
You only use the Embedding Regexp if the data needed to embed cannot be found within the URL itself.

For example:

if the embed code for www.myvideo.com/watch.php?v=123456 looks like:
<embed src="http://www.myvideo.com/watch.php?v=abcdef" ... />

In this instance, the URL doesnt 'tie up' to the embed HTML so AME needs to go to www.myvideo.com/watch.php?v=123456 and find the abcdef part. With the Embedding Regexp, AME pulls down the page and runs something like:

http://www\.myvideo\.com/watch\.php\?v=(\w+)

Which grabs the abcdef part so the video will properly embed.

In the event that the URL contains the information you need (i.e. the dailymotion definition I just posted) then this process is redundant and a time waster. Furthermore, the Embedding Regexp is generally different than the regexp used to match the URL in the first place.

Hope this helps.

The Geek, 1st, I am much appreciated that you speak with me.

2nd, I understand that for the current moment the dailymotion can work only with "Regular expression". This is 100% clear for me.

3rd, I am just trying based on dailymotion to make it working also with "Extract destination data".

As I understand this one can be done so?

And at this point I meet with the problem.

Here is my test case.
  1. I use URL
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creatio
  2. There in HTML Source I see:
    HTML Code:

        <link rel="canonical" href="/video/x9m63m_canarias-timelapse_creation" />[*]
  3. I am trying to get the needed video name from this line.
  4. So I make:
    • Regular expression
      PHP Code:

      http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 

    • Extract destination data
      Yes
    • Embedding Regexp
      PHP Code:

      <link rel="canonical" href="/video/([a-z_0-9-]+)" 

      • I also tried:
        PHP Code:

        href="/video/([a-z_0-9-]+)" 


And this one doesn't work.

I am trying to understand - why?

What I am doing wrong? :(

daihlo 07-08-2009 10:12 AM

Hi 'The Geek' firstly thanks for looking into CAgeFilm.com before.
I have disabled the registration process on the site to ask if you could have another quick look for me, see if this site will work with AME?

I would realy appreciate your help. Am trying to launch my forum this weekend and the vid embedding is a key feature!

Thanks - Tim

The Geek 07-08-2009 10:57 AM

Quote:

Originally Posted by applebeef (Post 1844836)
Hi the geek, I'm interested in using AME for two things:

-Youtube (works beautifully out of the box)

-local hosted .swf


The second one is what I'm having trouble with... I've imported the definition for it and configured my hostname for it (only 2 instances right?)


I can't get it to work though. It embeds the .swf, and shows the background or first frame of it, but otherwise is unresponsive. For an example see this: http://charles-song.com/testvb/showt...hp?p=17#post17

The .swf (a slideshow) works fine in other areas of my site, and by itself, if I put the direct url in my browser.

What am I doing wrong?

Sadly, I can't really help with the local files as I haven't ever even looked into it before. Its a question best suited for DJ ;)

The Geek 07-08-2009 11:00 AM

Quote:

Originally Posted by Makc666 (Post 1844996)
The Geek, 1st, I am much appreciated that you speak with me.

2nd, I understand that for the current moment the dailymotion can work only with "Regular expression". This is 100% clear for me.

3rd, I am just trying based on dailymotion to make it working also with "Extract destination data".

As I understand this one can be done so?

And at this point I meet with the problem.

Here is my test case.
  1. I use URL
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creatio
  2. There in HTML Source I see:
    HTML Code:

        <link rel="canonical" href="/video/x9m63m_canarias-timelapse_creation" />[*]
  3. I am trying to get the needed video name from this line.
  4. So I make:
    • Regular expression
      PHP Code:

      http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 

    • Extract destination data
      Yes
    • Embedding Regexp
      PHP Code:

      <link rel="canonical" href="/video/([a-z_0-9-]+)" 

      • I also tried:
        PHP Code:

        href="/video/([a-z_0-9-]+)" 


And this one doesn't work.

I am trying to understand - why?

What I am doing wrong? :(

I don't think I totally understand what you are trying to do. The embed Regexp is designed to extract important parameters from a web page where the URL doesnt contain enough data that it needs. This feature won't extract other information for other uses (i.e. the title), though I suppose I could add a hook into the system which would make it easier.

The Geek 07-08-2009 11:01 AM

Quote:

Originally Posted by daihlo (Post 1845032)
Hi 'The Geek' firstly thanks for looking into CAgeFilm.com before.
I have disabled the registration process on the site to ask if you could have another quick look for me, see if this site will work with AME?

I would realy appreciate your help. Am trying to launch my forum this weekend and the vid embedding is a key feature!

Thanks - Tim

I responded to your last post here: https://vborg.vbsupport.ru/showpost....&postcount=642

applebeef 07-08-2009 03:43 PM

Quote:

Originally Posted by The Geek (Post 1845047)
Sadly, I can't really help with the local files as I haven't ever even looked into it before. Its a question best suited for DJ ;)

Thanks, hopefully DJ will chime in. I really need to get this ironed out before I take it on my 'real' forum. :up:

Makc666 07-08-2009 08:25 PM

Quote:

Originally Posted by The Geek (Post 1845048)
I don't think I totally understand what you are trying to do. The embed Regexp is designed to extract important parameters from a web page where the URL doesnt contain enough data that it needs.

The Geek, I am trying to extract data from HTML source of that page.

As I can see there is no meter if the URL does contain enough data or URL doesn't contain enough data.
We can extract in both cases.

Quote:

Originally Posted by The Geek (Post 1845048)
This feature won't extract other information for other uses (i.e. the title), though I suppose I could add a hook into the system which would make it easier.

I didn't understand this one.

Any HTML page consists smth like this:

HTML Code:

<HTML>
<TITLE>Test</TEST>
<BODY>
</BODY>

That future Embedding Regexp can't extract data from any part of HMTL Source? Can extract from only specific one? :eek:

LI_Pets 07-10-2009 10:11 AM

I recieved the message

YouTube
Duplicate key.This key would clash with an existing item

I understand an old one needs to be deleted.

Where do I find it to delete it?

Then I assume I need to upload the xml again?

When I get to the media definitions page do I "add new" or "save"?

The Geek 07-10-2009 03:47 PM

Quote:

Originally Posted by LI_Pets (Post 1846287)
I recieved the message

YouTube
Duplicate key.This key would clash with an existing item

I understand an old one needs to be deleted.

Where do I find it to delete it?

Then I assume I need to upload the xml again?

When I get to the media definitions page do I "add new" or "save"?

It means that you are importing a definition that you already have, or that conflicts with one that is installed. Change the key and/or delete the one that is installed you are replacing.

The Geek 07-10-2009 03:49 PM

Quote:

Originally Posted by Makc666 (Post 1845356)
The Geek, I am trying to extract data from HTML source of that page.

As I can see there is no meter if the URL does contain enough data or URL doesn't contain enough data.
We can extract in both cases.


I didn't understand this one.

Any HTML page consists smth like this:

HTML Code:

<HTML>
<TITLE>Test</TEST>
<BODY>
</BODY>

That future Embedding Regexp can't extract data from any part of HMTL Source? Can extract from only specific one? :eek:

The embed extraction extracts items to complete the embed code, it isn't really designed to scrape other elements from the page (although it does the title for you).

LI Pets 07-10-2009 04:41 PM

Quote:

Originally Posted by The Geek (Post 1846428)
It means that you are importing a definition that you already have, or that conflicts with one that is installed. Change the key and/or delete the one that is installed you are replacing.

I never installed any other than the ame mod?

Where is it!

The Geek 07-10-2009 08:10 PM

AME comes with Youtube and Amazon definitions. You are most likely importing replacement versions. Either don't import those or delete the ones that come with ame.

HTHs

daihlo 07-10-2009 08:18 PM

Quote:

Originally Posted by The Geek (Post 1844437)
Are you using the file cache? That doesn't look right at all.

Not sure what you mean?

The Geek 07-11-2009 10:36 AM

It is an option in your settings.

Peacelily 07-11-2009 03:48 PM

Has anyone seen a way to embed "multiply.com" videos?

kylek 07-11-2009 09:07 PM

I still cant get my head around the regex, so hoping someone can figure it out. Trying to get http://www.pokerhandreplays.com so videos can be used on our site.

They have code for a converter:

<object width="480" height="360"><param name="movie" value="http://www.pokerhandreplays.com/flash/TexasI.swf"></param><param name="bgcolor" value="#FFFFFF" /></param><param name="quality" value="high" /></param><param name="allowScriptAccess" value="always" /></param><param name="scale" value="Exactfit"></param><embed src="http://www.pokerhandreplays.com/flash/TexasI.swf" bgcolor="#FFFFFF" allowScriptAccess="always" scale="Exactfit" type="application/x-shockwave-flash" width="480" height="360"></embed></object>

And url example for video:

[flash]http://www.pokerhandreplays.com/flash/replayer.swf?pokerhandid=665885[/flash]

I had it working using bbcode but dont like the fact that it would have no usergroup permissions, would rather have it through ame.

Thanks in advance!

skcyber 07-12-2009 06:47 AM

Has anyone seen a way to embed the new deezer ?
http://www-v3.deezer.com/fr/

thk ! :)

music legend 07-12-2009 07:36 AM

can we get justin.tv

Makc666 07-13-2009 08:11 AM

Quote:

Originally Posted by The Geek (Post 1846429)
The embed extraction extracts items to complete the embed code

I begin to fill stupid :)

Then from where the embed extraction extracts items to complete the embed code?

Quote:

Originally Posted by The Geek (Post 1846429)
it isn't really designed to scrape other elements from the page (although it does the title for you).

And what are those other elements?
And then for what it is designed?

Thanks

The Geek 07-13-2009 09:43 AM

Hey Mak,

I don't really know of any other way to explain it than how I have done :D. I think we are like passing ships with my explanation and my understanding of what you are wanting to do (I still have no clue what you are trying to do!). Let me try to sum up the way the Extraction regexp works another way.

Most of the time, the URL contains the information that is needed to embed without any additional work. For instance a URL may look like this:

www.yoururl.com/video=123456

And on that page, will be an 'Embed this video' box which will contain HTML that looks like:

<embed src="video" param="123456">

So the replace code in AME looks like:

<embed src="video" param="$p1">

So when AME looks at the URL, it pulls out the 123456 and puts it in the $p1 placeholder and Wham! You have your embedded video.

Where the extraction tool comes into place is when the URL looks like

www.yoururl.com/video=123456

But the Embedding HTML on the page looks like:

<embed src="video" param="abcdefg">

In this instance, there is no correlation between the URL and the embedding code so for the embedding to work, AME must go to www.yoururl.com/video=123456 and do a search for that parameter.

So if the definition includes an Embedding Regexp, AME knows to download the page the first time it is saved and run the Embed Regexp on the source code to lift the abcdefg out. That way, AME will then have all the information it needs to display the embedded media.

You cannot use the Embedding Regexp for anything other than putting parameters in the Replacement code as it wasn't designed to do anything else but what it is currently doing. Saying that, I can put a couple more hooks in so that if you wanted to extract additional information from the destination page at save then you could, however I still am at a loss as to what you are trying to achieve.

Makc666 07-13-2009 01:10 PM

Quote:

Originally Posted by The Geek (Post 1847987)
...

And on that page, will be an 'Embed this video' box which will contain HTML that looks like:

<embed src="video" param="123456">

So the replace code in AME looks like:

<embed src="video" param="$p1">

...

In this instance, there is no correlation between the URL and the embedding code so for the embedding to work, AME must go to www.yoururl.com/video=123456 and do a search for that parameter.

Just a control question :)

Do I understand right that Embedding Regexp searches (works with) ONLY

PHP Code:

<embed src=""

in page's HTML source code?

The Geek 07-13-2009 02:16 PM

It can technically grab anything from the page, however whatever is grabbed is intended to be used in the replacement code (the <embed>).

Makc666 07-13-2009 02:47 PM

Quote:

Originally Posted by The Geek (Post 1848109)
It can technically grab anything from the page, however whatever is grabbed is intended to be used in the replacement code (the <embed>).

lol. Then we have to begin from the start.

You said "It can technically grab".

But what can grab the current version???

You have said your-self in your previous post that:
Quote:

Originally Posted by The Geek (Post 1847987)
Saying that, I can put a couple more hooks in so that if you wanted to extract additional information from the destination page at save then you could

You also said:

Quote:

Originally Posted by The Geek (Post 1847987)
You cannot use the Embedding Regexp for anything other than putting parameters in the Replacement code as it wasn't designed to do anything else but what it is currently doing.

Look -->> for anything other than putting parameters in the Replacement code

From where "Embedding Regexp" takes those parameters?

Example :)

Edited:

Quote:

Originally Posted by The Geek (Post 1847987)
Where the extraction tool comes into place is when the URL looks like

www.yoururl.com/video=123456

But the Embedding HTML on the page looks like:

<embed src="video" param="abcdefg">

In this instance, there is no correlation between the URL and the embedding code so for the embedding to work, AME must go to www.yoururl.com/video=123456 and do a search for that parameter.

Look -->> and do a search for that parameter

Where it searches?

And what it can search and what it can't?

You have said "It can technically grab anything from the page."
But actually what it (Embedding Regexp) can grab?

Reycer 07-13-2009 03:28 PM

still can't get hardly any to work.

The Geek 07-13-2009 03:34 PM

Mak,

While running the embed regexp, it already has the entire page contents, therefore a hook can be placed (in an upcoming version) so that after the embed regecp is run you can do something else with it, but for right now it will grab whatever the result is and store it as a parameter for the embed code.

It would really help if you could elaborate on what you are trying to accomplish

EagleNick 07-13-2009 11:20 PM

Hello,

I'm having an odd issue with the "internal linking (threads)".
I deleted the definition and then re-imported it to be sure it wasn't something I messed up, but I still have the issue:

When I post a link to a thread (for example my-site.net/forums/showthread.php?t=123456), it is resolved as: [favicon]**Internal Linking (Threads) (as opposed to actually using the linked thread's title) and the URL leads to my-site.net/forums/showthread.php?p=123456. (Notice the P instead of the T that it should be)

This is the replacement code (which is the default) (and it looks fine to me):
Code:

<a href="$url" target="_self" title="$title"><img src="favicon.ico" border="0" alt="$title" height="16" width="16" /> $title</a>
I'm really not sure what the issue is. Any advice is appreciated.

Makc666 07-14-2009 07:51 AM

Quote:

Originally Posted by The Geek (Post 1848167)
Mak,
While running the embed regexp, it already has the entire page contents,

The Geek, I understand this one.

Quote:

Originally Posted by The Geek (Post 1848167)
but for right now it will grab whatever the result is and store it as a parameter for the embed code.

And this one two.

Quote:

Originally Posted by The Geek (Post 1848167)
It would really help if you could elaborate on what you are trying to accomplish

I already have posted my test case here https://vborg.vbsupport.ru/showthread.php?p=1844996.

Ok. Lets make steps :)

Step 1:
  1. Regular expression
    PHP Code:

    http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 

  2. URL is posted:
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creatio

  3. I don't want to use "x9m63m_canarias-timelapse_creatio" from the URL

Is step 1 is clear? Then continue.

Step 2:
  1. The HTML Source of above URL has such code:

    HTML Code:

        <link rel="stylesheet" href="http://ak.style.dailymotion.com/css/gen/widget/pack/baseskin-prod.css.v1198007225" />
        <link rel="canonical" href="/video/x9m63m_canarias-timelapse_creation" />
        <link rel="image_src" type="image/jpeg" href="http://www.dailymotion.com/thumbnail/160x120/video/x9m63m_canarias-timelapse_creation" />
        <link rel="video_src" href="http://www.dailymotion.com/swf/x9m63m?autoPlay=1" />
        <link rel="thumbnail" type="image/jpeg" href="/thumbnail/160x120/video/x9m63m_canarias-timelapse_creation" />

  2. I want to get one line from it (HTML Source) with Embedding Regexp and pass the result to Replacement.

Is step 2 is clear? Then continue.

Step 3:
  1. I set Extract destination data to Yes
  2. I set Embedding Regexp with:
    Code:

    <link rel="canonical" href="/video/([a-z_0-9-]+)"
  3. It doesn't work...

Is step 3 is clear?

The Geek 07-14-2009 08:32 AM

That will work. The regexp will capture x9m63m_canarias-timelapse_creation into $p1

So what you need to do is use $p1 in your replace code where you want it to appear.

HTHs

The Geek 07-14-2009 08:33 AM

Quote:

Originally Posted by EagleNick (Post 1848340)
Hello,

I'm having an odd issue with the "internal linking (threads)".
I deleted the definition and then re-imported it to be sure it wasn't something I messed up, but I still have the issue:

When I post a link to a thread (for example my-site.net/forums/showthread.php?t=123456), it is resolved as: [favicon]**Internal Linking (Threads) (as opposed to actually using the linked thread's title) and the URL leads to my-site.net/forums/showthread.php?p=123456. (Notice the P instead of the T that it should be)

This is the replacement code (which is the default) (and it looks fine to me):
Code:

<a href="$url" target="_self" title="$title"><img src="favicon.ico" border="0" alt="$title" height="16" width="16" /> $title</a>
I'm really not sure what the issue is. Any advice is appreciated.

Hey Nick,

Ill look into DJ's internal linking definition. It looks like it isn't updated for 2.5x, however it should still be working ok.


All times are GMT. The time now is 10:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02868 seconds
  • Memory Usage 1,935KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_html_printable
  • (14)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete