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)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

The Geek 07-24-2009 10:35 AM

Quote:

Originally Posted by SMMensans (Post 1854470)
This mod is great. Thanks to everyone involved.

Is there a way to change the color of the font above the videos without changing the color in the actual forum style? If not is there a way to change which font color (First Alternating Color), it pulls from in the forum style?

See the image below:

https://vborg.vbsupport.ru/external/2009/08/42.jpg

You can customise the container and such by editing the relevant ame templates.

HTHs

The Geek 07-24-2009 10:36 AM

Quote:

Originally Posted by PossumX (Post 1854398)
Same issue here on vB 3.8.3 and AME 2.5.5, no matter what, the videos will no longer embed and only show up as titles.

I need URLs as examples otherwise I can't test. Try turning off extraction and/or removing the validation regexp from the youtube definition.

InTeNsE-HuMoR 07-24-2009 07:36 PM

I'm getting the following error when attempting to embed a game from gamesopoly.com:

Quote:

Parse error: syntax error, unexpected T_STRING in /home/----/public_html/forums/includes/ame_bbcode.php(323) : 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.gamesopoly.com/game/1979/...orcements.html&quot;, &quot;&quot;, 1, &quot;~value=&quot;http://www\.([\w]+\.[\w]+/[\w-=%/]+)\.swf~sim&quot;, &quot;&quot;,$ameinfo) in /home/----/public_html/forums/includes/ame_bbcode.php on line 323
Can anyone help?

SMMensans 07-28-2009 05:11 AM

Quote:

Originally Posted by The Geek (Post 1854589)
You can customise the container and such by editing the relevant ame templates.

HTHs

Appreciate the help. From the AME Container template
Quote:

<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="$ameinfo[width]" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="panelsurround" align="center">
$ameinfo[code]
</td>
</tr>
</tbody>
</table></div>
I can see where it grabs the tcat image but I don't see any info about the fonts. I'm sure it's there but I'm new to this.

webgroup 07-29-2009 06:07 PM

does this hack includes definitions for hulu?
or how can I make hulu to work with this??

thanks

wolfstream 07-29-2009 06:14 PM

Quote:

Originally Posted by webgroup (Post 1858000)
does this hack includes definitions for hulu?
or how can I make hulu to work with this??

thanks

Use the linked definitions file, and that will work.

webgroup 07-30-2009 04:29 AM

it did not worked in my forum

jca2112 07-31-2009 02:36 PM

The default Amazon.com link definition seems to have trouble parsing certain Amazon links.

The preferred (and shortest) url to link to an Amazon product page for affiliates is:
Code:

http://www.amazon.com/dp/ASIN/?tag=yourID
(where ASIN is the 10 digit Amazon product ASIN number and yourID would be the Amazon Affiliate ID)

An example of a working url would be:
Code:

http://www.amazon.com/dp/B00005QGAT/?tag=yourID

Unfortunately AME's Amazon definition parses and rewrites this url as:
Code:

http://www.amazon.com/d/p/B00005QGAT/?tag=yourID
An extra / (slash) is being added between the d and p which breaks the link.

I assume this can be corrected with a different regular expression setting? Does anyone know what the fix would be?

ski diva 08-02-2009 09:44 AM

I have 3.8.2, and this plug-in made it impossible for users to edit or change their signatures.

Anyone else have this problem?

Yellow Slider 08-03-2009 12:20 PM

I can't install the xml file, I have 3+ million posts on my board, what can I do? importing it takes more then 2-3 hours and then it stuck.
I'm now trying to delete the ame_flad field from the post table and reinstall it, but the query to drop the ame_field takes a lot of time too.

do you know about problems with the AME on big boards? is there anything I can do in order to install it in another way?

The Geek 08-03-2009 12:46 PM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1854811)
I'm getting the following error when attempting to embed a game from gamesopoly.com:



Can anyone help?

That is a custom definition. Not sure what the problem is without knowing the definition. If it is in DJ's add on thread, try posting the problem (including an example URL and attach an export of the definition to your post). I have just erturned from vacation so am pretty swamped, but will try to look at it when I get some time

The Geek 08-03-2009 12:47 PM

Quote:

Originally Posted by SMMensans (Post 1856929)
Appreciate the help. From the AME Container template


I can see where it grabs the tcat image but I don't see any info about the fonts. I'm sure it's there but I'm new to this.

The info will be in the tcat css definition (or it will be inherited from the parent element). You can use the style attribute to override the fonts though.

HTHs

The Geek 08-03-2009 12:52 PM

Quote:

Originally Posted by jca2112 (Post 1859087)
The default Amazon.com link definition seems to have trouble parsing certain Amazon links.

The preferred (and shortest) url to link to an Amazon product page for affiliates is:
Code:

http://www.amazon.com/dp/ASIN/?tag=yourID
(where ASIN is the 10 digit Amazon product ASIN number and yourID would be the Amazon Affiliate ID)

An example of a working url would be:
Code:

http://www.amazon.com/dp/B00005QGAT/?tag=yourID

Unfortunately AME's Amazon definition parses and rewrites this url as:
Code:

http://www.amazon.com/d/p/B00005QGAT/?tag=yourID
An extra / (slash) is being added between the d and p which breaks the link.

I assume this can be corrected with a different regular expression setting? Does anyone know what the fix would be?

AME is designed to accept the URL formats that users will copy and paste from Amazon itself (which I suspect wouldnt normally be this example). You can however customize the replae code how you see fit. Though I have no idea the correct format you need, I suspect something like:

PHP Code:

<a href="http://www.amazon.$p1/dp/$p3/?tag=yourid" target="_blank" title="$ameinfo[title]"><img src="images/misc/amazon_icon.gif" border="0" alt="$ameinfo[title]/></a> <a href="http://www.amazon.$p1/dp/$p3/?tag=yourid" target="_blank" title="$ameinfo[title]">$ameinfo[title]</a

Note that in the above change, I changed:
http://www.amazon.$p1/$p2/$p3/

to

http://www.amazon.$p1/dp/$p3/?tag=yourid

HTHs

The Geek 08-03-2009 12:53 PM

Quote:

Originally Posted by ski diva (Post 1860020)
I have 3.8.2, and this plug-in made it impossible for users to edit or change their signatures.

Anyone else have this problem?

Nope, never seen that reported before. Do you have another Signature modification. What happens if you disable AME in signatures?

The Geek 08-03-2009 12:56 PM

Quote:

Originally Posted by Yellow Slider (Post 1860673)
I can't install the xml file, I have 3+ million posts on my board, what can I do? importing it takes more then 2-3 hours and then it stuck.
I'm now trying to delete the ame_flad field from the post table and reinstall it, but the query to drop the ame_field takes a lot of time too.

do you know about problems with the AME on big boards? is there anything I can do in order to install it in another way?

There isn't any reported issue with AME running on big boards, however during installation AME adds a TINYINT column to the post table for perfomance reasons. This installation is what is slowing down your install.

My suggestion is to manually add the column using phpMyAdmin or similar tools preferably closing down the site during the install.

Then run the install and AME will skip that process elegantly as the column would already exist.

HTHs

ski diva 08-03-2009 05:22 PM

Quote:

Originally Posted by The Geek (Post 1860687)
Nope, never seen that reported before. Do you have another Signature modification. What happens if you disable AME in signatures?

No, no other signature modifications. When I disable AME, the problem goes away,

Verionia 08-04-2009 10:38 PM

This work for 3.83?

thegrissom 08-04-2009 10:42 PM

Quote:

Originally Posted by Verionia (Post 1861498)
This work for 3.83?

yes not soucy.

Verionia 08-05-2009 01:57 AM

Thankks, it works for 3.83!

Bonee70 08-05-2009 10:32 PM

Hello, I really love this piece of software but it is not really working for the EA-Sports links.

I run a EA-Madden-League and members post their Game-Highlights as links on the EA-Sports site.

The posted links to the Videos can look like this:

1) http://www.easportsworld.com/en_US/video/8157415

and is automatically converted into

2) http://beta.easports.com/media/play/video/8157415

When posting the first link on my board, AME converts the link into the container, showing a nice EA-Logo and the link on top of the container is directing the user to the correct EA site, but the video won't start. Instead I get the triangle with a exclamation mark in it.

When people post the converted link (#2) it just shows up unconverted (without the container) as a simple link.

I have made an example on my board to show the problem. May anyone give me a hint what to change in the EA-Sports definition so that the replay videos can be played within the post on my board when either #1 or #2 link gets posted? Thank you very much!

Here is the example how the EA links (#1 and #2) show up within a post on my board:

http://www.maddenliga.de/forum/showt...2271#post12271

The Geek 08-06-2009 07:02 AM

Quote:

Originally Posted by ski diva (Post 1860798)
No, no other signature modifications. When I disable AME, the problem goes away,

I can't reproduce this. Do you have any custom definitions installed that could be causing the problem?

The Geek 08-06-2009 07:05 AM

Quote:

Originally Posted by Bonee70 (Post 1862213)
Hello, I really love this piece of software but it is not really working for the EA-Sports links.

I run a EA-Madden-League and members post their Game-Highlights as links on the EA-Sports site.

The posted links to the Videos can look like this:

1) http://www.easportsworld.com/en_US/video/8157415

and is automatically converted into

2) http://beta.easports.com/media/play/video/8157415

When posting the first link on my board, AME converts the link into the container, showing a nice EA-Logo and the link on top of the container is directing the user to the correct EA site, but the video won't start. Instead I get the triangle with a exclamation mark in it.

When people post the converted link (#2) it just shows up unconverted (without the container) as a simple link.

I have made an example on my board to show the problem. May anyone give me a hint what to change in the EA-Sports definition so that the replay videos can be played within the post on my board when either #1 or #2 link gets posted? Thank you very much!

Here is the example how the EA links (#1 and #2) show up within a post on my board:

http://www.maddenliga.de/forum/showt...2271#post12271

SOunds like a problem with the custom definition that you are using. Sadly I can't really offer direct support in this thread for custom definitions, but if you post in DJs thread (assuming thats where you got it from) with example URLs then I will see if I can set some time aside to investigate it for you.

Bonee70 08-06-2009 10:26 AM

Thanks for the reply Geek, I have put my post into DJs thread (post #740).

quasan 08-06-2009 03:54 PM

@the developer:
edited. i am sorry . I should have checked that it was an extension to your mod

sorry for the mess

The Geek 08-06-2009 04:41 PM

Quote:

Originally Posted by quasan (Post 1862653)
@the developer:

you should cleary state that you add your referal id to the amazon links. I am really annoyed that hundreds of amazonlinks on my board now have your amazon-referral id on it before i noticed it

Look. I really like your mod and have nothing against that you earn some bucks with this mod, but be transparent please.

#fail

Huh? I don't have a referral id nor have I ever been part of their (or any) network. Are you sure you are using only the default version? Maybe you imported a custom definition? I have just checked the source code and the default definition does not contain an affiliate code (at least one that I can see)

ski diva 08-06-2009 05:37 PM

Quote:

Originally Posted by The Geek (Post 1862393)
I can't reproduce this. Do you have any custom definitions installed that could be causing the problem?

Nope.

tkam 08-06-2009 06:58 PM

Quote:

Originally Posted by quasan (Post 1862653)
@the developer:

you should cleary state that you add your referal id to the amazon links. I am really annoyed that hundreds of amazonlinks on my board now have your amazon-referral id on it before i noticed it

Look. I really like your mod and have nothing against that you earn some bucks with this mod, but be transparent please.

#fail

Don't blame AME this is not a part of the default install, it's from DJ's AME definitions: https://vborg.vbsupport.ru/showthread.php?t=195884. You can edit out the referral id, it's in like 5 or 6 spots I think.

quasan 08-06-2009 09:12 PM

i updated my post. i am really sorry for the mixup :(

nick-harper 08-07-2009 10:14 AM

How can I make it so that guests do not get a link but an error message saying "Please Register to View the Video"?

The Geek 08-07-2009 11:17 AM

Quote:

Originally Posted by nick-harper (Post 1863002)
How can I make it so that guests do not get a link but an error message saying "Please Register to View the Video"?

set usergroup permissions so they don't get the video, then edit the ame_templates to show your registration link instead of the URL.

HTHs!

Nadeemjp 08-07-2009 11:23 AM

hi the geek
i am having a trouble at my forum displaying the you tube videos.
when a link is posted, two videos are displayed.
please see the following link for reference:
http://www.familybunker.com/forums/m...html#post85664
any solutions?

Ossedis 08-07-2009 12:31 PM

Seems to be you have tryed to install more than 1 youtube implementer?

Hence all the code around one of the 2 videos.

Nadeemjp 08-07-2009 01:57 PM

how do i correct it?

Nadeemjp 08-07-2009 01:59 PM

i have the following definitions of youtube, which ones should i delete?

YouTube
Embed YouTube.com Videos! DUPLICATE_youtube_1248346015_2
YouTube (HQ/HD)
Embed YouTube.com High Quality and High Definition Videos (fmt=18& or fmt=22&) youtube_hqhd
YouTube (Playlists)
Embed YouTube.com Playlists!
You Tube
Automatically youtubes your entries!

The Geek 08-07-2009 02:18 PM

Quote:

Originally Posted by Nadeemjp (Post 1863026)
hi the geek
i am having a trouble at my forum displaying the you tube videos.
when a link is posted, two videos are displayed.
please see the following link for reference:
http://www.familybunker.com/forums/m...html#post85664
any solutions?

Ossedia is right. As per the troubleshooting and readme posts, double videos appear when you have duplicate definitions. You need to delete one of the duplicates.

HTHs

Nadeemjp 08-07-2009 02:47 PM

i understand i have to delete the duplicate, but as per my last post, which one is the duplicate one?

The Geek 08-07-2009 03:18 PM

Quote:

Originally Posted by Nadeemjp (Post 1863139)
i understand i have to delete the duplicate, but as per my last post, which one is the duplicate one?

Don't know as AME only comes with 1. My guess is that it is one of the ones that only have YouTube in the title (not HD or playlists). You can try making each one inactive one by one then edit and save a post that is currently double dipping.

Nadeemjp 08-08-2009 05:06 AM

yeah u were right geek, the problem is solved

jmillsss 08-08-2009 08:51 PM

Installed - awesome mod!

Is it possible to get rid of the blue bar above the video?

https://vborg.vbsupport.ru/external/2009/08/33.jpg

kalisekj 08-09-2009 04:31 PM

Ok Folks I am desperate for a solution to this dilemma. I had Goldbrick media installed , which put tags on all supported media as [media]URL[/media] . How can I have Ame go and change all tags from Media to ame or url? Or How Can I remove all [media] tags and have ame then see the url's to embed them?


All times are GMT. The time now is 04:02 PM.

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.02405 seconds
  • Memory Usage 1,860KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (21)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