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)

Chuk 01-06-2010 04:15 PM

Thanks for developing this mod, which is really great.

But I have one problem when using it
When there is a link in a post like this [URL="http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie =UTF-8&q=vbulletin"]http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie =UTF-8&q=vbulletin[/URL], and afterwards the post is quoted, in the quoted post there appear unnecessary symbols like "/".

The same post is normally quoted when AME 3 is disabled.

You can see this behavior here in my forum

Also I have noticed that this problem doesn't appear with all links, but I can't figure out this special cases.
Can you please have a look at this, and provide some help.

The Geek 01-06-2010 06:10 PM

Quote:

Originally Posted by meissenation (Post 1948898)
Doesn't work for me.
http://www.mifbody.com/vbulletin/showthread.php?34280-Welcome-to-MiFbody-com-VBulletin-4!&p=529143#post529143

I have it in there and the checkbox is checked to parse it into video. Youtube is defined and it's a new post that was done after installing AME so it's not a matter of rebuilding posts. It's simply not doing anything to the youtube link.

Did you make the change outlined in the installation instructions to the required hook?

Quote:

Originally Posted by Chuk (Post 1948901)
Thanks for developing this mod, which is really great.

But I have one problem when using it
When there is a link in a post like this [URL="http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie =UTF-8&q=vbulletin"]http://www.google.com/search?rlz=1C1CHOT_enAM350AM351&sourceid=chrome&ie =UTF-8&q=vbulletin[/URL], and afterwards the post is quoted, in the quoted post there appear unnecessary symbols like "/".

The same post is normally quoted when AME 3 is disabled.

You can see this behavior here in my forum

Also I have noticed that this problem doesn't appear with all links, but I can't figure out this special cases.
Can you please have a look at this, and provide some help.

Ill see if I can replicate and fix tomorrow.

Lighting90 01-06-2010 09:12 PM

Hi Geek,

I am having problems with the installation on VB4 Patch 2, I have followed your instructions to the letter... well, I think I did... and it is not showing up as it was before..

For example this post showed it as an embedded video when it was vB3.8, now it isn't...

http://forum.landrovernet.com/showth...androver-Films

Tried a few times now going over the instructions again, just to make sure, including editing the files again as per the instructions... and still the same result... not sure if they have changed something somewhere else or I have not switched something else on or switched it off...

The Geek 01-06-2010 09:17 PM

That link is borked. For some odd reason you have [video][/url[url][/video] going on. Thats just wrong. Are other posts doing that? Was that a conversion from AME2x?

Lighting90 01-06-2010 10:11 PM

Yep, they are, and was an upgrade from 2.0, not sure what happened, but even new links just put in give the video tag and still no embedding.

Though I am slowly working through the system, so I may have missed something

InfoAddict 01-06-2010 11:02 PM

I too have the same problem - vb4 upgrade from vb3 and previous version of AME.

I then upgraded to AME3 and did a convert on my posts to change all ame= to the below video format.

For instance - check this page:

http://dev.gamers-underground.com/me...his-match.html

This is the code for the link:

Code:

[video=youtube;apWrS2uPBTg]http://www.youtube.com/watch?v=apWrS2uPBTg[/video]
Only thing I can think of is that I left the vb3 version installed when I did the upgrade.

I have removed the link from the hook xml file - it just doesn't seem to kick in.

Chuk 01-06-2010 11:05 PM

Quote:

Originally Posted by The Geek (Post 1948982)
Ill see if I can replicate and fix tomorrow.

The problem was solved after deleting the following string in ame_prep.php file:
PHP Code:

$text preg_replace('%(\[(quote|php|html|code|nomedia)([^\]]*)\](.*?)\[/(\2)\])%sime''$this->substitute(\'\1\', $this->_subbed)'$text); 

May I leave this file without that string?

Cface 01-07-2010 06:23 AM

Mine doesn't work :\
"This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0)"
And i don't have a includes/xml/hooks_vbcms.xml file.

Lighting90 01-07-2010 10:01 AM

@ The Geek

Just to let you know, I can post a video with the video tags and it embeds okay, I assume that is the vB version as it is fairly basic...

The Geek 01-07-2010 01:09 PM

Quote:

Originally Posted by Cface (Post 1949352)
Mine doesn't work :\
"This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0)"
And i don't have a includes/xml/hooks_vbcms.xml file.

You can edit the includes/product-ame.xml product and remove this line:

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" />

You don't have to do the hook edit if you don't have hooks_vbcms.xml

HTHs


All times are GMT. The time now is 12:19 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.01646 seconds
  • Memory Usage 1,752KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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