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)

tommac3 02-15-2010 12:00 AM

I love this mod ... however one improvement that i would like to request, suggest.

It does not work with the CMS
I would love if the video would show up on the first page on my CMS
this is how it looks ( note the video does not show ... just the link to youtube:
Post 1
by tom Published on 02-15-2010

http://www.youtube.com/watch?v=ZawrdYA0WXU ...
Read More

Digital Jedi 02-15-2010 12:19 AM

Quote:

Originally Posted by tommac3 (Post 1982568)
I love this mod ... however one improvement that i would like to request, suggest.

It does not work with the CMS
I would love if the video would show up on the first page on my CMS
this is how it looks ( note the video does not show ... just the link to youtube:
Post 1
by tom Published on 02-15-2010

http://www.youtube.com/watch?v=ZawrdYA0WXU ...
Read More

It works anywhere post BB Code does. But if your character code is set to cut off at a certain number of characters, it will truncate the embed code, too.

lebanon 02-15-2010 08:15 AM

Just an update ..
I went back to the original vb code and updated
bbcode_vb XML and the bbcode video template with the same regex...
The local wmv now work fine when using video bbcode tag..
So i re-activated your hack, once again now both work
With inserting video bbcode or without it, since your hack is wrapping the video bbcode successfuly and doing its job.

However am just curious, why wouldnt it work since its already loading as a hook before the post unless i manually added the html code to the bbcode template !

ShawnV 02-15-2010 09:35 PM

Anyone have luck with a working playlist.com "playlist" definition for this mod yet?

Moondust 02-17-2010 10:29 AM

Quote:

Originally Posted by lebanon (Post 1981559)
hi
ive been off vb for a long while and today i upgraded a forum to 4.0.1 , however we used your old hack for 3.8x with custom local wmv addition... now ive been trying to reload local wmv
after many many tries am still failing...
I tried disabling the hack and modifying bbcode xml file and adding our self as source and modify bbcode video template, still no luck
i retried using your hack with this

Code:


<?xml version="1.0" encoding="ISO-8859-1"?>

<AME3>
        <def>
                <providerid>80</providerid>
                <tagoption>ms</tagoption>
                <provider>ms</provider>
                <url>http://www.MYDOMAIN.ms</url>
                <regex_url><![CDATA[ (http://[\w]*[\.]*MYDOMAIN\.[\w/&;%-\.]+\.wmv) ]]></regex_url>
                <regex_scrape />
                <embed><![CDATA[ <object id="MediaPlayer" width="675" height="423" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components?" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
    <param name="filename" value="{vb:raw code}">
    <param name="Showcontrols" value="True">
    <param name="autostart" value="false">
    <embed type="application/x-mplayer2" src="{vb:raw code}" name="MediaPlayer" width="675" height="423" autoplay="false"></embed>
</object>]]></embed>
                <priority>0</priority>
        </def>
</AME3>


It does parse and changes the code but still no display of embed !
either a so simple mistake or donno ! hope you can help

The post shows nothing on display
however on edit :


video=ms;http://www.MYDOMAIN.ms/movies/lebmov...madina-low.wmv[/video]

so basically its being parsed after preg matches ... any advice on where i went wrong ?
regards

Thanks, this Code works. !!

The Geek 02-17-2010 01:56 PM

Quote:

Originally Posted by 993ti (Post 1981475)
Master XML imported fine :)
Getting this however with amazon rss feeds:
Code:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/ame_prep.php on line 556
Line 555 and 556:
Code:

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


There isn't an amazon definition that comes with this mod. Check with wherever you got the definition from.

Quote:

Originally Posted by ShawnV (Post 1983292)
Anyone have luck with a working playlist.com "playlist" definition for this mod yet?

I worked hard at playlist for the AMEfy addon and cannot make it work with vB's video system.

I think all the other questions are related to custom definitions, which sadly I don't have time to do so will leave to the community :)

The Geek 02-17-2010 02:00 PM

Quote:

Originally Posted by meissenation (Post 1979660)
I was moreso jabbing at the fact that this is the only mod I've ever installed (and I've installed at least a hundred...) that has to hide the product file inside the upload folder instead of putting it outside of the upload folder. :)

This isn't exactly true

All vB addons always store the product-xml in the includes/xml folder. I just started following suit. But if you were upgrading, then you already had the readme and already imported the product once so you knew where it was. That is, unless you were upgrading from 2.5x. In that case the readme contains important information that you should read about upgrading in the first place. Either way, you didn't read the readme and want to complain about it.

Sheesh ;)

Digital Jedi 02-17-2010 04:21 PM

Quote:

Originally Posted by The Geek (Post 1984626)
There isn't an amazon definition that comes with this mod. Check with wherever you got the definition from.

He's referring to that test Master XML I posted here a while back. A couple of folks reported that bug. I've got vB 4 installed on my demo board, so I hope to have better working definitions for this version here in a few weeks.

The Geek 02-17-2010 05:58 PM

gotcha. Thanks DJ :)

MoRa GFX 02-18-2010 07:21 PM

Not exactly sure how to make it work, I'm on 4.0.1, and just added all of the files, is that it?


All times are GMT. The time now is 02:29 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.02168 seconds
  • Memory Usage 1,755KB
  • 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_code_printable
  • (6)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