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)

zelnik 04-13-2010 11:20 AM

Quote:

Originally Posted by The Geek (Post 2020461)
Hi there, Try removing the old video codes. Those won't work at all. In fact, the upgrade process called for uninstallation of the previous system before upgrading.

HTHs

Argh did it? I just overwrote files and then installed the xml :(

Can you give me some pointers of where to look for the old video codes?!

Thanks mate

War.Frog 04-13-2010 10:55 PM

Quote:

Originally Posted by zelnik (Post 2020049)
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?

Yeah I'm double-posting a lot today.

shooterdfl 04-14-2010 04:08 AM

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


This worked like a champ for me. Thanks Geek!

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

Very strange - be careful with this file edit. I applied it yesterday and it seemed to fix the problem for a short while. However, after a day or so I began experiencing terrible double-posting problems and the Post Quick Reply stopped working in the AJAX way and started spawning the Redirecting... page, also resulting in duplicate posts.

Even more strangely, I went back in and simply deleted those two lines suggested in the code above but the problem persisted. Only when I overwrote the file with my original download did the problem go away.

WEIRD!

The Geek 04-14-2010 07:51 AM

Not trying to argue - just not sure how on earth this file edit could cause double posts or any other issues. It is essentially the code that was in the hook that was there before. Now, if the file edit wasn't done correct, maybe that could cause a problem - but its not a very complex edit. Maybe some sort of corruption during the upload after edit?

FWIW - Freddie has sorted a solution for vb 4.0.4

zelnik 04-14-2010 08:09 AM

Quote:

Originally Posted by The Geek (Post 2020964)
Not trying to argue - just not sure how on earth this file edit could cause double posts or any other issues. It is essentially the code that was in the hook that was there before. Now, if the file edit wasn't done correct, maybe that could cause a problem - but its not a very complex edit. Maybe some sort of corruption during the upload after edit?

FWIW - Freddie has sorted a solution for vb 4.0.4

I very much doubt it was anything to do with the file edit as for me it was the first time I had used AME3 so it was probably something else in AME3 that did it and when the file edit brought the plugin back into life then that's when the double posts happened.

I went back and traced my steps and I followed the upgrade instructions to the ticket in your pdf and as you said the file edit is an easy one so it's not that.

I uninstalled it completely (using the guide in the pdf) reinstalled it and within mins of it enabled i was getting double posts.

I disabled it and uninstalled and reinstalled the next morning and for whatever reason (i've double checked the install method) it's not working at all now (converting urls automatically)

So I think I'll wait for 4.0.4 and try again!

I suppose it could be a conflict with another addon perhaps?!

Chicken Racer 04-14-2010 09:22 AM

Just for the record I found that many styles stop the mod from working.
The default style works fine , but once I installed a number of other styles the mod would only embed the standard videos such as youtube and others.

The Geek 04-14-2010 09:27 AM

This product has nothing to do with styles at all. More than likely another issue.

@Zelnik - possibly a conflict. If you can give me steps to reproduce on a clean board, then I can fix it - but as it stands now, it works perfectly fine on a fresh install with the file edit made.

ellinofatsa 04-14-2010 09:37 AM

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]\includes\class_bootstrap.php(1146) : eval()'d code on line 38

the problem is the same any tip for fix it;

ellinofatsa 04-14-2010 09:48 AM

now i go to make a new post and i see this

http://www.ellinofatsa.gr/forums/new...ostthread&f=73


All times are GMT. The time now is 03:10 PM.

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.03631 seconds
  • Memory Usage 1,753KB
  • 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
  • (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