vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

edytwinky 05-25-2012 02:53 AM

Quote:

Originally Posted by indemand (Post 2331216)
For the life of me I could not get this to work after a fresh install on 4.1.12.

Turns out all of the forums defaulted to Not allow video code. Changed these in Forum Manager and it works as advertised. (with the extra "AME parse bbcode video" plugin code)

If you're having trouble I hope you're fix is this simple.

I'll have to give this a try. Thanks!

Chadi 05-25-2012 03:13 AM

I don't see anything in forum manager regarding video on my end and I have both AME and AME'fy installed.

edytwinky 05-26-2012 05:40 AM

Quote:

Originally Posted by Chadi (Post 2332593)
I don't see anything in forum manager regarding video on my end and I have both AME and AME'fy installed.


Tested this out and it's not working for me either after the upgrade. All my old videos from vb 3.8 with the old AME mod now just shows the coding and not the video

edytwinky 05-26-2012 12:18 PM

Quote:

Originally Posted by testbot (Post 2164682)
Editing core files is the incorrect way to do things. They did add the hook so the following will fix the issue.

1. AdminCP>Plugins & Producs>Plugin Manager>Add New
2.
Product: AME3
Hook: data_parse_bbcode_video (not data_preparse_bbcode_video_start)
Title: AME - Parse bbcode video
Execution Order: 1
Plugin Code:
Code:

global $vbulletin;
require_once(DIR . '/includes/ame_prep.php');
$providers = ame_data_preparse($pagetext);

3. Plugin is active 'Yes'
4. Save


If you have cache enabled you might have to clear that.

Trying this out.

Once I have it added, how do you check if you have cache enabled?

edytwinky 05-27-2012 02:16 PM

It's all working for me now.

mickknutson 06-03-2012 02:05 PM

I have a vimeo URL from a channel RSS like:
http://vimeo.com/channels/paragliding#43217467 but the actual individual video is

http://vimeo.com/43217467

is it possible to parse this out into the correct video?

JetLee 06-04-2012 01:14 AM

I just upgraded to vb4.2.0 and these two mods below got this working great for me.

https://vborg.vbsupport.ru/showpost....&postcount=608
Quote:

Originally Posted by The Geek (Post 2019974)
I have applied for a new hook to be added to take care of the issue in 4.0.3 so hopefully this will only be "broken" for this iteration. If you want to fix, you will need to apply the following file edit:

Note: THIS IS FOR VERSION 4.0.3.

Edit includes/functions_video.php and change:
PHP Code:

function parse_video_bbcode($pagetext)
{
    global 
$vbulletin

to

PHP Code:

function parse_video_bbcode($pagetext)
{
    global 
$vbulletin;
require_once(
DIR '/includes/ame_prep.php');
$providers ame_data_preparse($pagetext); 






https://vborg.vbsupport.ru/showpost....postcount=1002
Quote:

Originally Posted by testbot (Post 2164682)
Editing core files is the incorrect way to do things. They did add the hook so the following will fix the issue.

1. AdminCP>Plugins & Producs>Plugin Manager>Add New
2.
Product: AME3
Hook: data_parse_bbcode_video (not data_preparse_bbcode_video_start)
Title: AME - Parse bbcode video
Execution Order: 1
Plugin Code:
Code:

global $vbulletin;
require_once(DIR . '/includes/ame_prep.php');
$providers = ame_data_preparse($pagetext);

3. Plugin is active 'Yes'
4. Save


If you have cache enabled you might have to clear that.


mickknutson 06-05-2012 02:29 AM

Quote:

Originally Posted by mickknutson (Post 2336147)
I have a vimeo URL from a channel RSS like:
http://vimeo.com/channels/paragliding#43217467 but the actual individual video is

http://vimeo.com/43217467

is it possible to parse this out into the correct video?

Here is another video link I get:

http://vimeo.com/channels/31585#35423259

the video is actually http://vimeo.com/35423259

please help with a code for this. Thanks!

LouiseWilson 06-06-2012 05:11 PM

ok I got this working with VB 4.2.0 with the fixs in this thread

However Having an Issue adding the soundcloud deff
here is what I have

Code:

http://www.soundcloud.com

http://[w\.]*soundcloud\.com/([\w-]+)/(?!sets/)([\w-]+)

<object height="81" width="100%">
<param name="movie" value="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/$p1/$p2"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="wmode" value="transparent"></param>
<embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/$p1/$p2" type="application/x-shockwave-flash" width="100%" wmode="transparent"></embed></object>
<span style="text-align:center" class="smallfont"><a href="$ameinfo[url]">$ameinfo[title]</a></span>

however nothing shows any help appreciated

MajorFm.com 06-07-2012 05:05 PM

Installed on 4.2.0 and on AME CP

I see black white pages on all tabs, any advice?

terminator2k2 06-07-2012 05:35 PM

any amazon integration for affiliate links?

Manoel J?nior 06-08-2012 03:42 PM

How to include:

Code:

http://xhamster.com
http://sextubepromo.com
http://www.xtube.com
http://www.pornhub.com

?? Please!

Treeleaf 06-15-2012 02:44 AM

Does anyone have a working Justin.tv code?

Many thanks.

illkeyone 06-19-2012 04:43 PM

I just updated my forums to the latest version ( 4.2.0 PL2 ) but will it work? Do I need to do any edit?

May someone please respond :) Thanks & kind regards.

balastruka 06-21-2012 06:36 PM

Hi

For vimeo:

Quote:

Originally Posted by Alan_SP (Post 2303387)
Try this options (use to create new descriptions):

Provider: Vimeo - New (you can use whatever, but unique)
Tagoption: vimeon (you can use whatever, but unique)
URL: http://www.vimeo.com
Regex URL: https:\/\/(?:www\.)?vimeo\.com\/([0-9]+) (just add s to http)
Embed:
HTML Code:

<object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}">
        <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
        <param name="wmode" value="transparent" />
        <!--[if IE 6]>
        <embed width="640" height="360" type="application/x-shockwave-flash" src="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
        <![endif]-->
</object>

Priority: 0

This is what I have for old vimeo in Embed.

Anyway, this new settings works fine for me. Only thing that's different from old version is that you in Regex add s to http. And new names, as they need to be unique.

Change in Embed code this:

HTML Code:

<param name="wmode" value="transparent" />
for this:

HTML Code:

<param name="wmode" value="{vb:raw wmode}" />
Change in Regex URL:
Code:

https:\/\/(?:www\.)?vimeo\.com\/([0-9]+)
For this:
Code:

https?:\/\/(?:www\.)?vimeo\.com\/([0-9]+)
And works in vb4.1.12.

BR

mertiliuss 07-06-2012 06:57 PM

work in vbulletin 4.2.0?

whitey99 07-07-2012 04:11 AM

Quote:

Originally Posted by mertiliuss (Post 2345576)
work in vbulletin 4.2.0?

Yeap, you need to ensure you apply this patch

whitey99 07-07-2012 04:12 AM

Quote:

Originally Posted by illkeyone (Post 2341121)
I just updated my forums to the latest version ( 4.2.0 PL2 ) but will it work? Do I need to do any edit?

May someone please respond :) Thanks & kind regards.

Apply the patch

whitey99 07-07-2012 04:14 AM

Quote:

Originally Posted by LouiseWilson (Post 2337198)
ok I got this working with VB 4.2.0 with the fixs in this thread

However Having an Issue adding the soundcloud deff
here is what I have

Code:

http://www.soundcloud.com

http://[w\.]*soundcloud\.com/([\w-]+)/(?!sets/)([\w-]+)

<object height="81" width="100%">
<param name="movie" value="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/$p1/$p2"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="wmode" value="transparent"></param>
<embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/$p1/$p2" type="application/x-shockwave-flash" width="100%" wmode="transparent"></embed></object>
<span style="text-align:center" class="smallfont"><a href="$ameinfo[url]">$ameinfo[title]</a></span>

however nothing shows any help appreciated

This worked for me

Code:

http://soundcloud.com/

Regex: http://[w\.]*soundcloud\.com/([A-Za-z0-9_-]+/[A-Za-z0-9_-]+)

Embed:  <object height="81" width="90%">
<param name="movie" value="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/{vb:raw code}/$p2"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="wmode" value="transparent"></param>
<embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http://www.soundcloud.com/{vb:raw code}/$p2" type="application/x-shockwave-flash" width="100%" wmode="transparent"></embed></object>
<span><a href="http://www.soundcloud.com/{vb:raw code}/$p2">http://www.soundcloud.com/{vb:raw code}</a></span>


LouiseWilson 07-15-2012 10:02 AM

did you put anything in the Regex Scrape ?

as its still blank for me

Onion_Bag_Dave 07-21-2012 11:15 AM

Trying to get the soundcloud embed to work aswell. Not working, showing blank for me also! Perfect mod if can get it working.

Zerogamer 07-25-2012 01:44 PM

Kinda be cool if there was one for images?

DougCooper 08-25-2012 04:08 PM

can I use this mod to automatically convert soundcloud links ?

Use users can currently post soundcloud links with the [SC] URL [/SC] but i'd like to them to not have to both with code and just drop the links straight into a post.

whitey99 08-26-2012 07:56 AM

Quote:

Originally Posted by DougCooper (Post 2359912)
can I use this mod to automatically convert soundcloud links ?

Use users can currently post soundcloud links with the [SC] URL [/SC] but i'd like to them to not have to both with code and just drop the links straight into a post.

Yeap - when using this mod users just post a URL and the system changes it

DougCooper 08-26-2012 09:03 AM

How is this done ? i.e how do I configure plugin to accept Soundcloud ?

elfenny 08-26-2012 05:34 PM

It did not work, went up the folders via ftp but the document. Pdf does not open

LouiseWilson 08-27-2012 01:27 PM

you need the Pdf on your pc and have some sort of pdf reader installed on your os before you can read it.

gibigbig 08-28-2012 04:19 AM

Patch not working for 4.2 PL2

gibigbig 08-28-2012 04:22 AM

Patch not working for 4.2 PL2
uninstalled

whitey99 08-28-2012 10:42 AM

Quote:

Originally Posted by DougCooper (Post 2360088)
How is this done ? i.e how do I configure plugin to accept Soundcloud ?

Once you have the plug-in installed - refer to https://vborg.vbsupport.ru/showpost....postcount=1299 on how to add SoundCloud to your AME install

MidnighToker 09-03-2012 08:55 PM

[S]
Quote:

Originally Posted by gibigbig (Post 2360609)
Patch not working for 4.2 PL2
uninstalled

Same here. Was hoping to be able to stick with this, but constant "Error 500" on every post whether there was media involved or not.[/S]

UPDATE - I was able to get this working on v4.2 PL2. There was a conflict with an older plug-in that was causing the errors.

Thanks!

Draffi 09-06-2012 09:50 PM

Hello MidnighToker!

Please can you tell us the name from this older Plug-In ???

Superorb 09-07-2012 04:49 AM

For some reason I cannot do fullscreen on Vimeo. It works fine with Youtube though. Anyone else have this problem?

yjeanrenaud 09-07-2012 08:06 AM

Is there any way to get AME on the mobile style? I mean, right now in 4.2 pl2 it only displays a great, white space where a video should be. it'd already help if the url would be put out and linked so users could click them to watch the videos.

mradlin 09-12-2012 11:08 AM

Installed!
Works as described. ;)

Superorb 09-12-2012 02:58 PM

Quote:

Originally Posted by mradlin (Post 2364767)
Installed!
Works as described. ;)

Does Vimeo fullscreen work for you?

mradlin 09-12-2012 09:54 PM

Quote:

Originally Posted by Superorb (Post 2364817)
Does Vimeo fullscreen work for you?

I just tested it. The full screen part doesn't work for me either.

Superorb 09-12-2012 10:04 PM

Quote:

Originally Posted by mradlin (Post 2364949)
I just tested it. The full screen part doesn't work for me either.

I know other forums that use this plugin and Vimeo full screen works fine. It's an older 3.x vBulletin though.

Superorb 09-12-2012 10:24 PM

Ok I got it working. Seems AME3 is using an old, deprecated version of Vimeo's code. We can still get away with it by adding a single parameter just like the other ones are.

Code:

<param name="allowfullscreen" value="true" />

mradlin 09-13-2012 01:31 AM

Quote:

Originally Posted by Superorb (Post 2364954)
Ok I got it working. Seems AME3 is using an old, deprecated version of Vimeo's code. We can still get away with it by adding a single parameter just like the other ones are.

Code:

<param name="allowfullscreen" value="true" />

Where did you put the parameter?


All times are GMT. The time now is 05:36 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.03108 seconds
  • Memory Usage 1,849KB
  • 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
  • (10)bbcode_code_printable
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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