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)

MotMann 01-21-2012 02:34 PM

Quote:

Originally Posted by Lifesupporters (Post 2288567)
Unless I missed it, this fix should be added to the first post.

How you fix that?
on 4.1.8 its not running.

Mooff 01-21-2012 04:33 PM

Working in our 4.1.10 testboard.

SuperJETT 01-24-2012 04:01 PM

Quote:

Originally Posted by kmckay (Post 2290571)
This doesn't seem to work anymore in vb 4.1.10 .. I know about the patches and extra plugins, we've have this running perfectly on most of our sites, however I just installed it on a vb 4.1.10 and it's not displaying the links properly.. I'll post if I find the issue.

Same here, tried a few things but no love.

Quote:

Originally Posted by Mooff (Post 2290608)
Working in our 4.1.10 testboard.

Can you say what you did?

Selene 01-24-2012 04:11 PM

Quote:

Originally Posted by Mooff (Post 2290608)
Working in our 4.1.10 testboard.

yepscan you share with us, what you had to do to make it work fully.

Mooff 01-24-2012 10:59 PM

Check post 1238.

We use this fix since (uh i don't know 4.0.8?). We don't need to do anything special during upgrades, it just keeps on working.

SuperJETT 01-25-2012 03:44 PM

Yeah, no go for me. I've had that fix in for a while but 4.1.10 killed auto-embedding. Using the video button/code works but it's hard to get over 1000 active users to change their habits.

oatsy 01-31-2012 06:58 PM

Worked fine for me in 4.1.10

Install as per instructions (copy across the folders/files). But that isn't enough on it's own. You also have to ...

... then follow post 1008

Worked for me then.

NB it doesn't correct any previously posted YouTube (for example) links, it only works on newly posted links. Although if you Edit then save a post with a link in it, it will change it to an embedded vid then.

doobiefillin 02-15-2012 02:01 PM

anyone have a fix to the new vimo https url?

Alan_SP 02-17-2012 02:19 PM

How does look new vimeo url?

Place few examples.

fortunately102s 02-18-2012 01:56 PM

Quote:

Originally Posted by oatsy (Post 2294708)
Worked fine for me in 4.1.10

Install as per instructions (copy across the folders/files). But that isn't enough on it's own. You also have to ...

... then follow post 1008

Worked for me then.

NB it doesn't correct any previously posted YouTube (for example) links, it only works on newly posted links. Although if you Edit then save a post with a link in it, it will change it to an embedded vid then.

still doesnt work on my forum :/

crzy 02-18-2012 02:33 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.

thanks for this i have been trying last past 2 hours to fix this

Moncha 02-23-2012 05:24 PM

Works a treat on 4.1.10 with the post 1008 mod...

thaminder 02-23-2012 07:23 PM

can you add 2 more sites please looking for
rutube.ru example:
Code:

<lj-embed> <OBJECT width="470" height="353"><PARAM name="movie" value="http://video.rutube.ru/a3613c2883a821b6603299040e405c09"></PARAM><PARAM name="wmode" value="window"></PARAM><PARAM name="allowFullScreen" value="true"></PARAM><EMBED src="http://video.rutube.ru/a3613c2883a821b6603299040e405c09" type="application/x-shockwave-flash" wmode="window" width="470" height="353" allowFullScreen="true" ></EMBED></OBJECT></lj-embed>
and for
putlocker.com example
Code:

<iframe src="http://www.putlocker.com/embed/57119D6F2A015859" width="600" height="360" frameborder="0" scrolling="no"></iframe>
thanks for this mod

doobiefillin 02-24-2012 08:59 PM

Quote:

Originally Posted by Alan_SP (Post 2300513)
How does look new vimeo url?

Place few examples.

direct link:

https://vimeo.com/36745150

embed code:

HTML Code:

<iframe src="http://player.vimeo.com/video/36745150" width="600" height="340" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

BoneDust 02-25-2012 04:11 PM

Still doesn't work on my board with the fix posted.

edit: fixed it. Typo on my part; works great with this fix in vb 4.1.10

cheers

Alan_SP 02-25-2012 08:18 PM

Quote:

Originally Posted by doobiefillin (Post 2303068)

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.

sweetpotato 03-04-2012 07:31 AM

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.

Thank you very much. This is an innovative way instead of changing vb file.

mmllc 03-04-2012 04:04 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.

Did this, No Luck :(


Quote:

Originally Posted by acast (Post 2286517)
It doesn't work for me. I have 4.1.9. I did this too:https://vborg.vbsupport.ru/showpost....postcount=1002 but still not working at all.

Edit: I apparently solve the problem. Thanks! :)


Do you know how you solved it exactly?

I'm having the same problem as everyone else is, just can't get this to work on a new forum I started - the embed codes for youtube are parsed as URL's. I have another forum still on VB3.8 where AME works flawlessly that I was thinking about upgrading to 4 but I won't if AME doesn't work.

It's that good of a mod.

:up:

ozvr4com 03-21-2012 09:21 AM

Got it all working no problems!
Works well so far except one of member wants to embed photobucket videos.

I have tried two expamles and both do not work.
one is https://vborg.vbsupport.ru/showpost....4&postcount=50
and the other is DJs Media definitions.

Both of which dont work.
Ideas?

metalguy639 04-04-2012 06:02 AM

Serious problems with vb 4.1.11 on this one. I've followed everything I can find to follow and still no luck on getting this to work properly on my newly upgraded vb site.

We went from vb 3.8 to vb 4.1.11 in the last week on the site and I've upgraded all our other hacks, but this one is giving some problems. On each page that has a video previously embedded on it I get this error:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1403) : eval()'d code on line 8
I tried THIS post fix to no avail.

I have recounted the posts etc in the tools menu for AME as well I still get this error. Plus the previous links that were videos are now just plain links and they were not converted to video tags successfully. Is there something I'm missing here?

jca2112 04-08-2012 01:59 PM

Is AME3 Auto Media Embeding and Video Extender no longer being developed?

The reason I ask is the mod is marked as last being updated on 17 Jan 2010 and I've been trying to review later posts in this thread about manually updating AME3 to get it working. Since I haven't read this entire thread -- has there been any activity or info about the future of this mod beyond user-contributed hacks/fixes?

Either way, thanks to the developer for all the hard work on the current and past versions of the mod.

We (unfortunately) had to upgrade from vBulletin 3 to vBulletin 4, so we're new to using AME3 versus the previous AME2 version. It looks like AM3 is changed significantly to work with vB 4's built-in [video] tag. One thing missing is the extraction of the page title of embedded linked videos (the old $ameinfo[title] variable in the previous AME). Are there any plans or way of getting that page title extraction back? If that is not possible or planned for AME3, does anyone know of a vB mod that extracts page titles of links/embeds? I can find PHP scripts for doing that, but I'm not familiar with how to write a plugin to make that work.

Appreciate any help/info.

Alan_SP 04-08-2012 08:26 PM

There are two ways how can you make AME3 to work with new vB versions. But, searching for them I'll leave to you. Most simple is mentioned quite a bit. :)

jca2112 04-09-2012 12:20 AM

Quote:

Originally Posted by Alan_SP (Post 2318134)
There are two ways how can you make AME3 to work with new vB versions. But, searching for them I'll leave to you. Most simple is mentioned quite a bit. :)

Thanks, but I already linked to a "fix" in my previous post -- the plug-in method -- I assume that's the one you are referring to? If that is the right "fix" link, maybe it will save someone else having to search through a 85+ page thread. :)

But my post was asking about the current status of the plug-in. I'm not comfortable relying on user submitted "hacks" to keep a mod working -- that can create a lot of problems. Anyone have any more info or know of any alternatives?

Appreciate any help.

Alan_SP 04-09-2012 12:02 PM

With this fix mod works just fine.

Of course, if you're asking if someone will continue to develop this mod in event of future changes in code that might broke it completely, that's uncertain for any mod, not just this. We can only hope that someone will find solution at the time when new solution will be needed.

metalguy639 04-09-2012 09:28 PM

Quote:

Originally Posted by jca2112 (Post 2318003)
Is AME3 Auto Media Embeding and Video Extender no longer being developed?

The reason I ask is the mod is marked as last being updated on 17 Jan 2010 and I've been trying to review later posts in this thread about manually updating AME3 to get it working. Since I haven't read this entire thread -- has there been any activity or info about the future of this mod beyond user-contributed hacks/fixes?

Either way, thanks to the developer for all the hard work on the current and past versions of the mod.

We (unfortunately) had to upgrade from vBulletin 3 to vBulletin 4, so we're new to using AME3 versus the previous AME2 version. It looks like AM3 is changed significantly to work with vB 4's built-in [video] tag. One thing missing is the extraction of the page title of embedded linked videos (the old $ameinfo[title] variable in the previous AME). Are there any plans or way of getting that page title extraction back? If that is not possible or planned for AME3, does anyone know of a vB mod that extracts page titles of links/embeds? I can find PHP scripts for doing that, but I'm not familiar with how to write a plugin to make that work.

Appreciate any help/info.

Thanks tried that fix and still no luck on converting the old videos to be shown. Does anyone know how to convert the old AME 2.5 video links to work with the built in vb system?

Alan_SP 04-10-2012 10:04 AM

Converting of some old videos could be done only manually. Just remove ame BBcode around it, leave video link and post it.

Some videos are converted fine (simpler ones as I remember).

metalguy639 04-10-2012 12:32 PM

Quote:

Originally Posted by Alan_SP (Post 2318628)
Converting of some old videos could be done only manually. Just remove ame BBcode around it, leave video link and post it.

Some videos are converted fine (simpler ones as I remember).

Ugh! I think there are quite a few videos on the forum. :( Was hoping there might be an easier answer.

cutsomeat 04-11-2012 11:00 AM

Is there an alternative to this mod that is supported?

egclive 04-15-2012 04:01 PM

doesn't work for shit for me.

pete_brady 04-15-2012 04:16 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2019974&postcount=608" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=608</a>

is still needed

doobiefillin 04-18-2012 02:01 AM

anyone getting this error:

Fatal error: Call to a member function verify_db() on a non-object in /home/airsocie/public_html/forums/includes/ame_prep.php on line 29

edytwinky 05-01-2012 04:08 AM

Anybody having problems getting this to work? The links are not automatically converting to the video like in vb3

PimvanJ 05-01-2012 05:43 PM

Quote:

Originally Posted by edytwinky (Post 2325124)
Anybody having problems getting this to work? The links are not automatically converting to the video like in vb3

try this.

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

It work for me on VB 4.1.6

edytwinky 05-10-2012 11:10 PM

I uninstalled AME from my site and reinstalled it. Now when I try to go post a youtube video, it just posts the link. I'm on 4.1.12.

I also do not have these files on my server:
- admincp/ame.php
- amecache/*
- includes/xml/cpnav_ame.xml
- includes/xml/hooks_ame.xml
- includes/ame_cache.php
-includes/ame_prep.php

00glenn 05-18-2012 01:28 PM

Quote:

Originally Posted by PimvanJ (Post 2325295)
try this.

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

It work for me on VB 4.1.6


Yep it's all working now, Thanks :p

00glenn 05-19-2012 05:36 PM

Quote:

Originally Posted by yjeanrenaud (Post 2232376)
bryanb,
sure, here you are:
Code:

url:
http://www.liveleak.com/

Code:

regex url:
http:\/\/www\.liveleak\.com\/view\?i=([a-zA-Z0-9-_]+)

Code:

Embed:
<object width="450" height="370"><param name="movie" value="http://www.liveleak.com/e/{vb:raw code}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.liveleak.com/e/{vb:raw code}" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" width="450" height="370"></embed></object>


Works for me, thanks

indemand 05-21-2012 10:37 AM

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.

Alan_SP 05-21-2012 06:50 PM

Strange thing is, I'm just starting new site and there first forums were without enabled video BBcode, but after I set this up, new forums I'm creating allow video BBcode by default.

Chadi 05-25-2012 01:36 AM

I need only YouTube and GodTube if someone could please help me on this since GodTube is not there and I don't know how to properly add it.

Also, get this error when I click on amefy_lichous link, which I have no idea what it is anyway

Quote:

Warning: file_get_contents([path]/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/includes/class_core.php on line 1149

Warning: file_get_contents(/home/xxxxx/public_html/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/xxxx/public_html/includes/class_core.php on line 1256

Chadi 05-25-2012 02:08 AM

Using vb 4.2.0

This is not working for me, the links are not converted to embedded videos at all.

Did I miss something?


All times are GMT. The time now is 08:58 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.05055 seconds
  • Memory Usage 1,857KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_html_printable
  • (18)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