vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=195884

Digital Jedi 06 Jan 2009 22:15

5 Attachment(s)
***UPDATES***

Okay gang, here's your first set of updates for 2009. The Local Hosted ZIP has been added to this thread (though, not all will use the global sizing variables) and the individual XML files are available as well in DJ's AMEs.zip. You, however, don't have to go through those files if you've already had these imported. I've created an update ZIP or XML file for your convenience.

WHAT"S NEW

**Internal Linking
You may notice the new set of defs towards the top of your list called Internal Linking. This set is entirely optional, of course, but will auto convert internal links using the info between your forum's <title></title> tags. It will also add a small image to the start of the tag based on your forums favicon image. (NOTE: If no favicon shows up, make a copy of the favicon in your website's root directory and add it to your forum's root directory)

This set includes defs that will convert Threads, Posts, Forums and Categories, as well as auto format a link to a member's profile page with their User Name. (The member link doesn't include a favicon image. You can add it if you want.)

This has not been thoroughly tested on a forum other then my own. So give me some feedback on if you like it or not. It also has not been optimized for people running SEOs of some kind. If you want support for your SEO you need to send me a link to your forum as well as let me know what SEO modification your running.



AllPosters (Thumbnails) et.al.
This set will convert almost all product links form AllPosters.com into thumbnails like the Amazon and CafePress definitions. There's very few products that will not convert, and these appear to be only frames, or anything that's been framed.

Also note that you can use your own affiliate ID with AllPosters if you have one just by replacing the three instances of mine in the Replacement HTML. Or you can leave it. Again, won't hurt my feelings.


CannabisTV
I'm not sure what this site's about, but I think it has something to do with botany.


Google (Search Results) (Let Me Google That For You)
Two new defs for Google include one that will convert search result links into a shorter formatted Google link.
Attachment 91862Google: Star+Wars

And a humorous one that will convert links into a redirect to LetMeGoogleThatForYou.com


The Let Me Google That For You definition is a variation on the one created by Vitaly.

There's two icons available, the old Google favicon Attachment 91863 and the new one Attachment 91862. Save them to your images/misc directory. It uses the new icon by default, but you can change the definition to the old one just by changing the Replacement HTML image source from _new to _old.

Imeem (Photos)
Didn't realize this site had embeddable photos, so here's a small def to correct that oversight.


Wikipedia (Links)
Here's a handy definition for auto converting Wikepdia links with a little icon at the front. Save this image to your images/misc directory. Attachment 91864


YouTube (HQ/HD)
By now you should all know what this is as often as it's been requested. This will embed High Def and High Quality YouTube videos based on the URL. Most of you already know to add the special string of characters to the end of the URL when you want to link to it. However, for these to convert, you'll need to add the string after the watch?, before the v=, like so:


This is the concession I had to make just to get HD and HQ videos to work with AME. Remember that this will only work if a corresponding HQ/HD video for a given URL exists. Here's the code you need for each type of video:


High Def: fmt=22&
High Quality:fmt=18&




WHAT'S UPDATED

The following defs where updated mostly because of code changes by the supported sites.


Imeem (Music)
Imeem (Videos)
MySpace

YouTube
Somewhere along the way, the Full Screen option disappeared from this definition. I've worked it back in along with a new feature. Deep Linking. Sounds like something you'd get from the back end of the video store, right? Not in this case. Deep linking is YouTube's relatively new ability to jump to a fixed time frame inside a video. In order to do this, append the URL of your YouTube video with #t=XXs where XX is the number of seconds into the video you want to jump. (NOTE: I know some of you already know of this, but what's different here is that you cannot use minutes and seconds in the URL. You have to use seconds only, so you'll have to do just a little head math.)

For example, click http://www.youtube.com/watch?v=FuQRmtBq-ls#t=120s and playback will begin exactly 120 seconds or 2 minutes into the video. This will not work with the HD videos, but will work for any other YouTube link.


As always, the updates have been added to the Main ZIP and the Master XML. But you can download them here absolutely free!.

And that's all! Hope you all enjoy!

Digital Jedi 06 Jan 2009 22:19

**NAME CHANGE**
In addition, I'm changing the name of DJ's Master XML in this set to Delta, because, well, DJ's Master XML 2 sounds lame, and Delta helps me to better distinguish things. So lemmelone'...

ArnyVee 06 Jan 2009 22:48

Okay, we'll let you use Delta ;)

DJ, will it be safe for me to use the new definitions? I know that you had tested out some 'fixes' with the Amazon and AllPosters on my sites and just wanted to make sure before I imported these. :D

Digital Jedi 07 Jan 2009 02:54

Quote:

Originally Posted by ArnyVee (Post 1703616)
Okay, we'll let you use Delta ;)

DJ, will it be safe for me to use the new definitions? I know that you had tested out some 'fixes' with the Amazon and AllPosters on my sites and just wanted to make sure before I imported these. :D

This "should" work on your site Arny. The only thing you won't need are the AllPosters definitions, since your site is where I first did my trial runs of them. You've already got the finalized versions of those. But other then those, the updated defs should all work on your board.

Could have been worse. I was considering Delta Force prior to sanity taking hold again.

hoangzu 07 Jan 2009 06:41

Thank you so much DJ
I just update Delta and I justed embed Imeem (Music) that it didn't work before. Now It worked like charm
Thank's so much for your work hard :)

Digital Jedi 07 Jan 2009 10:34

Glad I could be of service.

I've just updated the Danny's FAQ for AME 2.5 as well as my Definitions FAQ. They've been spread out amongst the first five posts of this thread. Please review them for any questions you may have.

Annapurna 07 Jan 2009 15:57

At least I'm in the right thread now ;)...

Downloaded the master.xml but google-Video (hosted) still doesn't work.

Unfortunately the four Internal Linking definitions don't work either.
No matter which link I use, it's always reduced to trekkingforum.com/forum/
no more. The rest of the link ie the "showthread.php" part is missing.

One minor issue:
Wikipedialinks only work if there's no "(" or anything in the link:
http://de.wikipedia.org/wiki/Venus_(Planet) is not working
http://de.wikipedia.org/wiki/Venus is working

A.

Digital Jedi 07 Jan 2009 17:19

Quote:

Originally Posted by Annapurna (Post 1704208)
At least I'm in the right thread now ;)...

Downloaded the master.xml but google-Video (hosted) still doesn't work.

Unfortunately the four Internal Linking definitions don't work either.
No matter which link I use, it's always reduced to trekkingforum.com/forum/
no more. The rest of the link ie the "showthread.php" part is missing.

Let me see an example of that, as it may have something to do with AME 2.5 that I can tweak right quick.

Quote:

One minor issue:
Wikipedialinks only work if there's no "(" or anything in the link:
http://de.wikipedia.org/wiki/Venus_(Planet) is not working
http://de.wikipedia.org/wiki/Venus is working

A.
Let me see this one, too. Check to make sure that vBulletin is not parsing the link like it's doing above where it stops parsing the link right before the final ")". Try moving the closing [/url] tag in Standard Editor mode to be sure.

Annapurna 07 Jan 2009 20:45

I can show it in my forum.
Please check your PM.

Andreas

badmediakarma 08 Jan 2009 01:05

I have a question, for some reason whenever anything is embedded it doesn't seem to show the correct title. ie. it'll just say "YouTube" or "**Internal Linking (Threads)".

I'm pretty sure I have that setting set to "Yes", but still nothing. It's been like that since I installed the definitions back in November, but I didn't realize it until now.

Any thought on how I could fix that?

Digital Jedi 08 Jan 2009 03:24

Quote:

Originally Posted by Annapurna (Post 1704408)
I can show it in my forum.
Please check your PM.

Andreas

Looks like that particular video is blocked from being embedded.


Quote:

Originally Posted by badmediakarma (Post 1704602)
I have a question, for some reason whenever anything is embedded it doesn't seem to show the correct title. ie. it'll just say "YouTube" or "**Internal Linking (Threads)".

I'm pretty sure I have that setting set to "Yes", but still nothing. It's been like that since I installed the definitions back in November, but I didn't realize it until now.

Any thought on how I could fix that?

Check to see that Extract Destination Data is enabled on both the definitions and under Settings. If it's disabled under settings, then it will be turned off globally.

Nadeemjp 08 Jan 2009 03:42

Dear DJ
wonderful job you have done so far.

i do have a suggestion though. is it possible that the master xml you always update, have the ability to over write the existing definitions and not add them?

if this can be done, then our work would be cut off to a great deal. in this way we dont have to go through each definition everytime to confirm whether it is a new or an old one. please do take this into consideration:)

Digital Jedi 08 Jan 2009 08:39

Quote:

Originally Posted by Nadeemjp (Post 1704714)
Dear DJ
wonderful job you have done so far.

i do have a suggestion though. is it possible that the master xml you always update, have the ability to over write the existing definitions and not add them?

if this can be done, then our work would be cut off to a great deal. in this way we dont have to go through each definition everytime to confirm whether it is a new or an old one. please do take this into consideration:)

There's no way to get definitions to overwrite with the way AME is designed, and that's probably for the best, as you could easily loose definitions that you didn't want to loose by an accidental import.

However, you don't have to go through the Master XML or the Main ZIP to get just the updated definitions. I always attach those updates separately in my **UPDATES** posts for people who've already gotten started. And I always post What's New and What's Updated so people know what to delete. And now I'm going to start attaching the the Updates files as XMLs and ZIPs for everyone's convenience, like I did here: http://www.vbulletin.org/forum/showp...&postcount=196

Nadeemjp 08 Jan 2009 08:53

oh ok if you can do that, it would be great:)

MarkJW 08 Jan 2009 19:11

Is it possible to get the HD/HQ videos to show up in a wide/widescreen format? Because currently they're windowboxed.


All times are GMT. The time now is 11:15.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.