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)

kmohamed 04-20-2010 06:08 PM

Not Supported : do you really mean it lol
is a great mod thanx
+ i add my own video site and is working fine just play with the codes is so easy
+ is is not working with you guys you need to edit the includes/functions_video.php file

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); 



War.Frog 04-20-2010 10:50 PM

For whatever reason, editing the functions_video.php file results in serious double-posting issues. Even simply reversing the two-line edit didn't correct it...I had to replace the file with the one from my vB4 package download.

movslow 04-22-2010 04:09 PM

I noticed that after the 4.03 upgrade, AME quite working.
:confused:

movslow 04-22-2010 04:16 PM

Quote:

Originally Posted by movslow (Post 2025457)
I noticed that after the 4.03 upgrade, AME quite working.
:confused:

Reinstalled, no luck.
:confused:

movslow 04-22-2010 04:24 PM

I just saw where you posted a fix for 4.03..and it worked fine.

Thanks.
:up:

josh2007 04-22-2010 08:09 PM

I saw the same post for the fix and I tried it with no luck. This is how my includes/functions_video.php reads:

PHP Code:

<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.3
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

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

    if (
stripos($pagetext'[video]') !== false)
    {
        require_once(
DIR '/includes/class_bbcode_alt.php');
        
$parser = new vB_BbCodeParser_Video_PreParse($vbulletin, array());
        
$pagetext $parser->parse($pagetext);
    }

    return 
$pagetext;
}

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 22:02, Fri Apr 9th 2010
|| # CVS: $RCSfile$ - $Revision: 27207 $
|| ####################################################################
\*======================================================================*/
?>


Jabong82 04-27-2010 01:01 AM

I did the same fix. With the code edit I am able to parse the videos fine, however now whenever someone posts/replies/previews a post the formatting is all messed up.

Not sure why, but doing that single file edit fixes the video portion, but it messes up the posting. Could be a conflict but I don't know.

I hate these VB updates.

GoTTi 04-27-2010 01:49 AM

i just upgraded the forum to vb4 and put this on here, and the videos arent showing, just lniks. youtube videos. any ideas? thanks.

Jabong82 04-27-2010 03:53 AM

This mod is currently not working with 4.0.3 as far as i can see.

War.Frog 04-28-2010 03:04 AM

Quote:

Originally Posted by Jabong82 (Post 2027948)
This mod is currently not working with 4.0.3 as far as i can see.

That's correct. The posted workaround is actually more problematic, so I've returned to using the included tag until this is functional again.


All times are GMT. The time now is 11:35 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.01749 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (3)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