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)

The Geek 04-12-2010 10:51 AM

vBulletin 4.0.3 has totally changed the way video codes are processed. I have looked through the code and as it stands now, there isn't an obvious way to quick fix. In fact, I am not even sure how to fix it yet without at least a file edit.

I will try to come up with a solution, but note that I am migrating to IPB so I have my hands full. So sorry to say that until further notice: vb4.0.3 and AME3 are incompatible.

snerd 04-12-2010 11:28 AM

Can't say that I balme you. Every other VB update seems to completely change "something" in the code. I'm seriously starting to look elsewhere myself.

MichelangeloITA 04-12-2010 01:25 PM

Quote:

Originally Posted by The Geek (Post 2019872)
I will try to come up with a solution, but note that I am migrating to IPB

Why??????? http://www.betashare.it/images/smilies/fermocry.gif

zelnik 04-12-2010 01:37 PM

Quote:

Originally Posted by The Geek (Post 2019872)
vBulletin 4.0.3 has totally changed the way video codes are processed. I have looked through the code and as it stands now, there isn't an obvious way to quick fix. In fact, I am not even sure how to fix it yet without at least a file edit.

I will try to come up with a solution, but note that I am migrating to IPB so I have my hands full. So sorry to say that until further notice: vb4.0.3 and AME3 are incompatible.

Thanks for the response it's much appreciated.

Since you are moving away from vbulletin and going with IPB does this mean you will eventually abandon your vbulletin addons?!

I'm only asking as if vbulletin keep changing it so we need updating mods all the time and you're not around it will be problematic.

I would prefer to know sooner rather than later so not to get my users used to having AME on vb4 and then for it to be taken away in a few weeks/months when they (vb) decide to change things again. Since vb4.0.3 is my first experience of vb4.

Thanks Geek

JulianD 04-12-2010 01:37 PM

This is really sad news for me. I can't believe vBulletin is destroying its modding community this way!

jkcerda 04-12-2010 01:44 PM

thanks for the heads up, my installation is new and only has 30 or so members, time to get them used to whatVB offers :pukey:

Geek, you have doen great work, sorry if you go.

The Geek 04-12-2010 01:57 PM

My mods are unsupported to begin with - regardless of that, no one can give you a guarantee that their mods will continue to be developed as time goes on.

Personally I believe that vB will eventually fold this functionality into the core product. vB3x didn't have any embedding apart from AME - now AME only transforms links into vB4 video bbcode so its actually vB4 doing all the work under the hood.

In short - even IF AME stays|becomes incompatible, the only thing that will STOP working is automatic transformation of links to videos. The videos already embeded will stay and moving forward, users will just have to use vB's video bbcode. Its not like you won't be able to show videos any more.

As to why I am moving to IPB - it is because I believe it is the right move for my communities. It isn't 100% for sure (about 85%!) and it will still take some time to do so who knows what the future holds.

Thanks for understanding.

The Geek 04-12-2010 02:55 PM

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


cad2go 04-12-2010 03:24 PM

Works a treat! Thanks a lot

zelnik 04-12-2010 05:53 PM

Thanks for the edit Geek.

However and I'm not completely confident of it yet but it does seem to be (after an hour of testing)

As soon as I made the edit to the php and posted my first video I notice the majority of normal posts since were doubling up (double posts) at first I thought it was coincidence and then it happened to me.

I've since replace the old original php back and disabled the ame plugin and it seems no users have double posted yet.

Is anyone else having this problem?


All times are GMT. The time now is 10:46 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.02091 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_printable
  • (2)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