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)

ericgtr 10-29-2009 09:32 PM

Quote:

Originally Posted by The Geek (Post 1908016)
Are you sure you don't have duplicate definitions? Can you post an example URL?

I checked and I only have the two default definitions of youtube and Amazon, all else should also be default since I completely re-installed. I noticed that another mod that inserts copyright info https://vborg.vbsupport.ru/showthread.php?t=201986 also had a display:none in it so I removed that mod entirely. I am still getting an error though, here is a link so you can see http://www.politicalgroove.com/showthread.php?t=18139

The Geek 10-30-2009 03:32 AM

Quote:

Originally Posted by ericgtr (Post 1908040)
I checked and I only have the two default definitions of youtube and Amazon, all else should also be default since I completely re-installed. I noticed that another mod that inserts copyright info https://vborg.vbsupport.ru/showthread.php?t=201986 also had a display:none in it so I removed that mod entirely. I am still getting an error though, here is a link so you can see http://www.politicalgroove.com/showthread.php?t=18139

mmm. Are you using anything to track outbound links or another mod that somehow changes links? If not, have you recently installed an accelerator of any kind?

jayjenxi 10-30-2009 05:09 AM

YouTube videos are not showing up for me. An example here: http://adventdestiny.com/forum/f104/...-trailer-5377/

ericgtr 10-30-2009 02:30 PM

Quote:

Originally Posted by The Geek (Post 1908172)
mmm. Are you using anything to track outbound links or another mod that somehow changes links? If not, have you recently installed an accelerator of any kind?

I'm not sure what I did but it's definitely on my end, I'll keep digging. :)

Breakpoint 10-30-2009 02:51 PM

How good is this with Amazon referral links?

The Geek 10-31-2009 06:53 AM

Quote:

Originally Posted by jayjenxi (Post 1908195)
YouTube videos are not showing up for me. An example here: http://adventdestiny.com/forum/f104/...-trailer-5377/

er... shows for me? Check your permissions

The Geek 10-31-2009 06:54 AM

Quote:

Originally Posted by ericgtr (Post 1908321)
I'm not sure what I did but it's definitely on my end, I'll keep digging. :)

By the looks of its, its a mod that is hooking into URLs for one reason or another (usually to track outbound links or to add rel="nofollow"). That is conflicting with AME

The Geek 10-31-2009 06:55 AM

Quote:

Originally Posted by Breakpoint (Post 1908331)
How good is this with Amazon referral links?

I don't use them, but would assume its about as good as can get. You will need to edit the definition to include your affiliate code though, but that should be a quick one off.

The Ayatollah 11-01-2009 03:13 AM

When uploading the files, I am not entirely clear on which folder to choose to FTP.
1) the "upload" folder
2) The "forums" folder
3) the contents of the "forums" folder

Also, if you don't have a "forums" directory, where else would be appropriate to upload to?

MagicThemeParks 11-01-2009 01:16 PM

The Ayatollah,

If you don't have a 'forums' directory, simply use the root directory. You'll notice the files within the 'forums' folder should correspond to what is in your root.

emdee 11-01-2009 02:55 PM

the signature does not embed.

example the yellow user

any ideas why?

ForumUser210 11-01-2009 11:00 PM

It's not working! Gaaa!!!

YouTube links aren't being converted to Video.

Does it work with 3.8.4?

Saviour 11-04-2009 12:20 PM

Not sure if I'll get a response to this, since this mod appears to be un-supported, but will anyway...just in case.

Anyway, I use this mod...and it's great. I've run into one small issue, though. I have another mod installed that allows a person to list their PC Specs in a drop-down box...however, this dropdown menu is hidden by the player in a post.

Now...I know I can edit the <object> tag in order to fix this, but for the life of me can't find where to edit it.

Does anyone know how to resolve this...or can they point me in the right direction? I certainly would appreciate it.

oddmud 11-04-2009 06:10 PM

It works with 3.8.4 patch level 1, i followed the instructions and it works.

Kr33p3r 11-06-2009 10:46 PM

Quote:

Originally Posted by The Geek (Post 1907525)
If I understand correctly, you're trying to insert AME's into RSS feeds. You should be able to add a couple hooks for this, if you PM me a couple of RSS links, ill see if I can look into it when I get home next week.

Not into the feed, I think I have the same question.

I have an RSS plugin that will watch a feed, then create a post in a thread automatically.

The subsequent post isn't parsed by AME because it gets posted by a job that runs every 30 minutes.

If I edit then save the post, its parsed correctly.

Any thoughts to a workaround?

elroger 11-07-2009 12:34 AM

When I put a link like: [url] http://www.youtube.com/watch?v=nBiGrHc0Xy4 [/ url]
works and it embeds the video, but when I put it this way: http://www.youtube.com/watch?v=nBiGrHc0Xy4 not working

How do I fix?, (I have disabled the url's in the forum) and I want the url off, it continues to detect: http://www.youtube.com/watch?v=nBiGrHc0Xy4 but not using [url]. .. [/ url].

Greetings and thanks

Nadeemjp 11-07-2009 12:34 AM

hey will you be considering to upgrade for vb4? cause i dont wanna loose this mod

inciarco 11-07-2009 12:35 AM

I've Tried Uninstalling and Re-installing, (and Re-Uploading the Files, of course), and the same Error Occurs, when I Click "Preview Post" the Link "Automatically embed media" to Activate/Deactivate the Media Embedding (located below the "Automatically parse links in text") Dissapears, Leaving the Option Activated. :confused:

How can I Correct this? :confused:

Where should I look to Leave the Option Visible Always to be able to Activate/Deactivate it? :confused:

My Best Regards.

:)


Quote:

Originally Posted by inciarco (Post 1901406)
Possible Bug? :confused:

When I Create a Thread, or a New Post, or Edit a Thread, or Edit a New Post, (and go to the "Go Advanced" Editor, of course), on the First Displayed Page (newthread.php, newreply.php, editpost.php) the Option "Automatically embed media (requires automatic parsing of links in text to be on)." appears, but when I Click the "Preview Changes" Button the Option Dissapears, leaving only the other ones and unabling me to Unselect it for the URLs not to be Converted to Embedded Videos.

I'm Trying this Mod on my vB373 PL1 Test Forum.

Is Somebody Experiencing this Error Too, (on vB38x and vB37x)? :confused:

If so, what can I do to Correct it? :confused: What Should I Check and Change? :confused:

On the Version 2.2 this Error doesn't Happen, it Happened only on the Update to Verson 2.5.

My Best Regards.

:)


MasterofWorlds 11-08-2009 12:59 PM

Is there any chance to get version 2.5.4 back? v2.5.5 just will not code any of the ame tag links anymore.

ForumUser210 11-09-2009 03:58 AM

I need help!

I have -- vBulletin 3.8.4.

In my definitions, I have only YouTube. When I post a YouTube link, it does not convert to video embed.

I have cache set to on. But, when I look in /amecache/ameinfo.php and findonly.php, it still has Amazon codes (which I deleted in definitions, but they still appear here)! And, these files don't show any YouTube code! What is the deal?

How do I get this working?


Did I upload files to the right categories? Yes.
Did I chmod folder /amecache/? Yes.
Is the path to /amecache/ correct? Yes.
Are usergroup settings for AME set to Yes? Yes.
Is Setting 'Disable New Items' turned to No? Yes.
Is the definition for YouTube active? Yes.
What is the regex for your YouTube definition?

Code:

[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*)[&\w;=\+_\-]*

Never mind! I got it. It seems though my folder was chmoded 777, I had to also chmod ameinfo.php and findinfo.php to 777 also.

Cheers!

fatdr 11-12-2009 03:52 PM

3.8.4 PL1
good working
thanks;)

Gav-n-Tn 11-12-2009 11:00 PM

Got it loaded but can't get it to work. What am I missing? I'm not a coder either. Is it the definitions? Do I still need to load them from DJ's thread?

Gav-n-Tn 11-12-2009 11:17 PM

Alright. I downloaded the definitions but it is still not working. What were the misc. images for? I do not see them showing up anywhere.

z0diac 11-13-2009 03:34 PM

1: Will this mod work with vb 3.7.4
2: What I'm looking for is a media player that will play LOCAL (attached) videos - ones that are file attachments.

Gav-n-Tn 11-13-2009 03:45 PM

There is also an empty file named index.html that caused a major problem for me. It conflicted with the index.php file and was sending the site to a blank page. Easy to fix, once the problem was found, but did result in "I can't get on the site" e-mails. Oh yeah, still not working either.

apnifry 11-14-2009 04:34 AM

does it works in4.0 beta 3

The Geek 11-16-2009 11:03 AM

Quote:

Originally Posted by apnifry (Post 1913908)
does it works in4.0 beta 3

No this will not work in vB4, however someone posted that the 1.2 version works in vB4. Saying that, I would 'hold on' as I am just evaluating how to port this to vB4. It isn't straight forward as vB4 has a video bbcode system that I will be trying to hook into. I suspect it shouldn't be too hard to do and could have a solution as early as this week.

The Geek 11-16-2009 11:04 AM

Quote:

Originally Posted by Gav-n-Tn (Post 1913640)
There is also an empty file named index.html that caused a major problem for me. It conflicted with the index.php file and was sending the site to a blank page. Easy to fix, once the problem was found, but did result in "I can't get on the site" e-mails. Oh yeah, still not working either.

Sounds like you uploaded the mod to the wrong file location. The only blank index is in the amecahce folder which shouldnt stop anything on the site.

The Geek 11-16-2009 11:06 AM

Quote:

Originally Posted by MasterofWorlds (Post 1911616)
Is there any chance to get version 2.5.4 back? v2.5.5 just will not code any of the ame tag links anymore.

Nope. Try removing the 'validation regexp' from the youtube definitions and tell me if that works.

The Geek 11-16-2009 11:08 AM

Quote:

Originally Posted by Kr33p3r (Post 1911134)
Not into the feed, I think I have the same question.

I have an RSS plugin that will watch a feed, then create a post in a thread automatically.

The subsequent post isn't parsed by AME because it gets posted by a job that runs every 30 minutes.

If I edit then save the post, its parsed correctly.

Any thoughts to a workaround?

AME needs to check the text before it gets saved. Check the plugins and you will see how AME gets called when posts or blogs and such get saved.

HTHs!

cliffhanger 11-17-2009 05:49 AM

Hello, I'm an 8th grade teacher who uses tutorial videos within forum postings for my students.

I've been successful getitng a pencast (livescribe) into my forum (you can't download actual files for the pencasts, you have to put in an XML refererence within the embed code)

The regular expression I'm using is:

http://[\w]*[\.]*mywebsite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)

I did it this way so when I use $p1 I can just type in http://www.mywebsite/xmlfilename without using the extension because an extenstion like .mp4 will mess things up (as I'm referencing an XML file. However, the above expression is going to try and embed anything now that has 'mywebsite' domain in the URL.

Is there anyway that I can set $p1 or $p2, etc so it only grabs the filename (as an example, if I had video.mp4, it only grabs video to put in for $p1 instead of video.mp4 -- I don't want the .mp4 or whatever extension included in $p1). I need some kind of extension so AME only embeds the appropriate links. I've tried everything, and even went to http://www.regexbuddy.com and I got to the point that the above expression sets $p1 without the extension, but now everything embeds.

Help please. My 8th grades will be very appreciative, and me too :)

The Geek 11-17-2009 07:58 AM

Quote:

Originally Posted by cliffhanger (Post 1915735)
Help please. My 8th grades will be very appreciative, and me too :)

lol. Play my heart strings!

TBH, I couldn't really follow what you are trying to do. If you can provide actual examples of what users would type/paste in and what the site should show (embed code wise) I can see what I can do ;)

cliffhanger 11-17-2009 07:30 PM

:)

Here's the replacement embed code that I'm using

Code:

<object height="316" width="228" align="middle" id="myFlashContent3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=$p1" name="movie" /><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <object height="316" width="228" align="middle" data="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=$p1" type="application/x-shockwave-flash"><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a></object></object>
I have $p1 as a replacement, and the following text gets put in for $p1

0000C0A80116000009C5920D00000124F67ECAA959F4B88C

and that's it. There's no typical filename like .mp4 or .flv. So the actual code after the $p1 is replaced looks like:

Code:

<object height="316" width="228" align="middle" id="myFlashContent3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=0000C0A80116000009C5920D00000124F67ECAA959F4B88C" name="movie" /><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <object height="316" width="228" align="middle" data="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=0000C0A80116000009C5920D00000124F67ECAA959F4B88C" type="application/x-shockwave-flash"><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a></object></object>
The problem is when I had the regular expression as

Code:

(http://[\w]*[\.]*mysite\.[\w/&;%-\.]+\.mp4)
I could write 0000C0A80116000009C5920D00000124F67ECAA959F4B88C.m p4 even though it's not really an mp4 file, the $p1 includes the .mp4 extension. This way I can specify which linkes get embedded with a dummy .mp4 extension. But if I leave the regular expression as

Code:

http://[\w]*[\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)
$p1 replaces correctly as 0000C0A80116000009C5920D00000124F67ECAA959F4B88C but then every link that has my domain name in it tries to get embedded. I just need a way to set $p1 or have a $p2 so I can have the correct xml reference put in (like 0000C0A80116000009C5920D00000124F67ECAA959F4B88C)

I hope that makes more sense. If you'd rather me message you privately with my actual site name for my students, I can do that, but I don't want to say it here publicly since it's a site closed to the public only for my students and for their school work and tutorial videos.

Thanks!

Tim

morphin 11-17-2009 08:43 PM

is anyone havign problems with this plugin?? it says embedding disabled by request watch on youtube when I click the vid to watch

MagicThemeParks 11-18-2009 12:53 AM

Quote:

Originally Posted by morphin (Post 1916189)
is anyone havign problems with this plugin?? it says embedding disabled by request watch on youtube when I click the vid to watch

See notes here: https://vborg.vbsupport.ru/showpost....64&postcount=3

cliffhanger 11-18-2009 02:31 AM

To further clarify my previous post, I think really all I need help with is setting up the regular expression formula:

Either

Code:

http://[\w]*[/url][\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)
or

Code:

http://[\w]*[/url][\.]*mysite\.[\w/&;%-\.]+\.mp4)
to have a second backreference (on how to do that) so I can use $p2. I've tried altering the formula many times, and so far nothing seems to be working.

Thanks,

Tim

cliffhanger 11-18-2009 03:18 AM

I think I finally figured it out. I must have finally put the right symbol by trial and error into my regular expression. The following works in order for me to get a livescribe pencast correctly embedded:

Code:

http://[\w]*[\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)\.live
The .live is just a dummy extension so I'm able to identify which links are livescribe video pencasts. Thanks for your offering to help earlier -- I think I have it all figured out now.

Tim

furst 11-19-2009 03:22 AM

Is there any way to make the container re-sizable to a greater width and height by pressing a collapse button in the corner?

webgroup 11-19-2009 06:22 PM

This hack has stopped working since yesterday, seems like it needs to be updated for new Youtube settings.

jca2112 11-19-2009 07:19 PM

Yeah, I can also confirm the hack has stopped parsing all YouTube links since yesterday -- it simply shows the url with the "External Embedding Not Available" title on all links (regardless whether external embedding has been enabled or not.)

Maybe something changed with YouTube's 1080p rollout?


All times are GMT. The time now is 03:23 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.03543 seconds
  • Memory Usage 1,853KB
  • 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
  • (8)bbcode_code_printable
  • (14)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