vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - AME 2.0 -Auto Media Embedding for posts, blogs, visitor and group messsages (https://vborg.vbsupport.ru/showthread.php?t=189267)

jerx 11-27-2008 05:34 PM

Quote:

Originally Posted by Breakpoint (Post 1674124)
How easy will it be to upgrade from version 2.0 to 2.5 when it releases?

Do I also have to uninstall the mod when a new version of VB is released, or what will happen to the mod when you upgrade?

Thanks, Im new to VB and would like to add this mod :)

I haven upgraded this mod yet, but I think upgrades will be easy. Just overwrite the existing add-on. If it does not work, you could uninstall the mod and install the updated version.

If you update vbulletin, you do not need to uninstall any mods. I have been doing quite a few updates recently (vb 3.73 -> 3.8b2 -> 3.8b3 -> 3.8b4) and never uninstalled my mods. Just follow the update instructions.

But to make sure, you might want to test updates on a test installation. Sometimes you will face problems on updates. Some mods require changes after updating to a new vb version. As I said before, I did not need to do any changes to my mods, so most vb 3.7 mods should also work on vb 3.8.

Quote:

Originally Posted by MotMann (Post 1674004)
The Update yes.. but i can get that from the Add-On Thread right now. That's i understand :)

And i don't found that one ;)

Oh, come on. Just admit that you have been wrong instead of hiding the most important words in your quote.

He said, that it will be part of his next definition update and that his definitions are available in one of his add-on threads. And you know that, because you have already used his definitions. But if you do not want to believe that, go ahead and search for it. Good luck! :D

JVSP 11-28-2008 06:10 PM

I have 2.5 installed on my board but it affects the vbgooglemap plug in. Half the pins on the map disappear with 2.5 enabled, when I disable the AME plug in, the pins reappear. I did not have this problem with the previous version of AME.

Thanks

dkawika 11-29-2008 03:10 AM

for some reason every video posted says sorry this video is not availible right after its been posted and i know the video wasnt deleted on youtube because i can still watch it on youtube, anyone know why?

Roi Danton 11-29-2008 12:08 PM

I've changed width & height for all zones, it got changed in the database but not in my posts (resized videos look crap), e.g.
Code:

                        <a href="http://www.gametrailers.com/player/28558.html" title="Hexer Review" target="_blank">Hexer Review</a>
                </td>
        </tr>
</thead>
<tbody>
        <tr>
                <td class="panelsurround" align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392">   
                <param name="allowScriptAccess" value="sameDomain">
    <param name="allowFullScreen" value="true">
                <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=28558">
                <param name="quality" value="high">
                <embed src="http://www.gametrailers.com/remote_wrap.php?mid=28558" swliveconnect="true" name="gtembed" allowscriptaccess="sameDomain" allowfullscreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="middle" width="425" height="350">

I try to find out why.

EDIT: You have to reedit the post if you change the AME Zone size settings afterwards for posts that were created before AME was installed. There should be a hint in the AME help to renew the post cache.

Embed size
Btw, I think the embed size shouldn't be globally if an AME definition has its own size. The default size sucks for e.g. Game Trailers. The quality of passiveVid is much higher since it doesn't resize (resp has the correct size for Gametrailers). The admin should be able to disable Zone sizes and only use Definition sizes.

Tools
EDIT #2: "How far back to go" doesn't seem to work in 2.5 RC1 and "Ignore previous" doesn't work as well if I did "Remove [ame] codes" before and want to get the ame tags back again ("no changes" for any post).

Due to (fixable) resizing issues I've uninstalled AME again and continue using passiveVid 1.x.
Besides that your module seems to be quite good and fast and uninstallation works as well (only data left in table datastore -> usergroupcache and table administer and the cache is not deleted, too (good for lazy admins :D )).

MonkYZ 11-29-2008 06:47 PM

Quote:

Originally Posted by fxlr8 (Post 1674678)
I have 2.5 installed on my board but it affects the vbgooglemap plug in. Half the pins on the map disappear with 2.5 enabled, when I disable the AME plug in, the pins reappear. I did not have this problem with the previous version of AME.

Thanks

I have the same issue (plus more others). I think i'll go back to older AME version untill 2.5 gets final....

chrisdowns 11-30-2008 01:40 AM

Hi,

At the bottom of my Youtube video embedments i get this coding

" title="YouTube - Up and at 'em, Clay!" target="_blank">YouTube - Up and at 'em, Clay!

Naturally it changes with the title but how do i get rid of it

Arnall 11-30-2008 02:26 PM

Hi The Geek,

thanks a lot for this fantastic mod (AME 2.5 RC1).
It seems that there's a problem if the vB forum has the UTF8 charset.

take this vid (french video, with accents in the title):
http://fr.youtube.com/watch?v=TjlMa1...eature=related

if you put it on an UTF8 forum AME gives you :

Quote:

[ame="http://fr.youtube.com/watch?v=TjlMa14-WfQ&feature=related"]YouTube - Soci
in the post.

or this one :
http://www.dailymotion.com/ti-dav/vi...on-fling_music
gives you :

Quote:

[ame="http://www.dailymotion.com/ti-dav/video/x64vls_renaud-o-cest-que-jai-mis-mon-fling_music"]Dailymotion - Renaud- O
i've found a workaround, in the file ame_bbcode.php :

you got :
PHP Code:

function ame_fetch_www_title(&$content)
{
    

    if(
preg_match("|<[\s]*title[\s]*>([^<]+)<[\s]*/[\s]*title[\s]*>|Ui"$content$match))
    {
        
        
$title trim(str_replace(array("\t","\n"), ""$match[1]));
        
$title unhtmlspecialchars(utf8_decode($title), true);
        return 
$title;
        
    }
    else
    {
        
        return 
false;
        
    }



The utf8_decode seems to be the problem, if your forum has the UTF8 charset you don't have to convert the title in ISO ...

My workaround :
PHP Code:

function ame_fetch_www_title(&$content)
{
    global 
$vbulletin;

    if(
preg_match("|<[\s]*title[\s]*>([^<]+)<[\s]*/[\s]*title[\s]*>|Ui"$content$match))
    {
        
        
$title trim(str_replace(array("\t","\n"), ""$match[1]));
        if ( 
strtolower($vbulletin->config['Mysqli']['charset'] )!= 'utf8')
        {
            
$title utf8_decode($title);
        }
        
$title unhtmlspecialchars($titletrue);
        return 
$title;
        
    }
    else
    {
        
        return 
false;
        
    }



Not sure it's a clean code but works for me.
Now every videos work on my UTF8 forum !

Birute 11-30-2008 02:27 PM

Quote:

Originally Posted by Creative Liquid (Post 1610994)
never mind, figured it out. You may have to reinstall your flash plugin.

Is this a flash plugin with FF?
What about Chrome?
Have Mac users had any problems with the embedded video play?

Digital Jedi 11-30-2008 03:36 PM

Quote:

Originally Posted by h2ojunkie (Post 1673856)
Maybe we aren't on the same page as you said.

I'm talking about a conversion specifically for the PB offered IMG Code - Forums & Bulletin Boards for videos.

When I tested the photobucket (videos) definition with:

[url=http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/?action=view&current=100_2877.flv][img]https://vborg.vbsupport.ru/external/2008/12/103.jpg[/img][/url]


Here's the HTML rendered by the Photobucket (Videos) definition:
HTML Code:

<A title="<img src="
href="http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/?action=view&amp;current=100_3043.flv"
alt="" border="0" th_100_3043.jpg? motorcycle%20related%20stuff Whitey818 i237
albums i73.photobucket.com http:>
" target="_blank"&gt;<IMG alt=""
src="http://i73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/th_100_3043.jpg"
border=0>
</A> </TD></TR></THEAD>
<TBODY>
<TR>
<TD class=panelsurround align=middle><EMBED
src=http://photobucket.com/player.swf?file=http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/100_3043.flv
width=430 height=389 type=application/x-shockwave-flash
wmode="transparent">
</EMBED>

As you can see, I ended up with a broken layout. The page was rendering the default photobucket image that is shown for videos, followed by the video player rendered by your product.

I was assuming your Photobucket (Videos) definition was written just to do replacements on the url portion only, and wasn't designed to account for the embed code PB provides as shown above. (at least that's what the regex looked like)

I got the idea of adding support for the PB embed code from use of this mod:
https://vborg.vbsupport.ru/showthrea...ht=photobucket

It adds a photobucket image/video search and upload when making posts using:
http://photobucket.com/landing/plugin_wizard.php

And, if you search photobucket using that mod for a video, the only URL photo bucket gives you for the video via the IFRAME used by that mod, is the IMG code I listed above.

Anyway, I personally love that PB image search/upload since it gives an easy way for users to post videos to the site without having to allow users to upload attachments.

I had to shut off your Photobucket (Videos) definition since it broke the page whenever someone would use the PB code provided by the IFRAME uploader.

Hopefully, I'm explaining myself better this time.

Thanks again for a killer product.

We probably should discuss this in my Add-On thread after this, that's a good point. I forget where I am sometimes.

I understand what you mean now, and I don't think I recall seeing the embed code for thumbnails videos before. Yeah, it's parsing the URL of the video so the HTML for the thumbnails gets shattered. RegEx for BBCode is tricky, but not impossible I don't think. I'd just have to give it a try.


Quote:

Originally Posted by Breakpoint (Post 1674124)
How easy will it be to upgrade from version 2.0 to 2.5 when it releases?

Do I also have to uninstall the mod when a new version of VB is released, or what will happen to the mod when you upgrade?

Thanks, Im new to VB and would like to add this mod :)

So far, the old 3.6 version continued to work into the 3.7 series. The Geek only updated it because, well one, he had some free time, but to add support for 3.7 features that weren't in 3.6, like blogs and profile comments. He also added the resizing feature. Unless there are some significant changes to vBulletin, or a change to a key feature that AME uses, it's unlikely you'd have to do anything when upgrading.


Quote:

Originally Posted by dkawika (Post 1674914)
for some reason every video posted says sorry this video is not availible right after its been posted and i know the video wasnt deleted on youtube because i can still watch it on youtube, anyone know why?

If the author of the video has disabled embedding, then it will show up as not available.



Quote:

Originally Posted by Roi Danton (Post 1675141)
I've changed width & height for all zones, it got changed in the database but not in my posts (resized videos look crap), e.g.
Code:

                        <a href="http://www.gametrailers.com/player/28558.html" title="Hexer Review" target="_blank">Hexer Review</a>
                </td>
        </tr>
</thead>
<tbody>
        <tr>
                <td class="panelsurround" align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392">   
                <param name="allowScriptAccess" value="sameDomain">
    <param name="allowFullScreen" value="true">
                <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid=28558">
                <param name="quality" value="high">
                <embed src="http://www.gametrailers.com/remote_wrap.php?mid=28558" swliveconnect="true" name="gtembed" allowscriptaccess="sameDomain" allowfullscreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="middle" width="425" height="350">

I try to find out why.

EDIT: You have to reedit the post if you change the AME Zone size settings afterwards for posts that were created before AME was installed. There should be a hint in the AME help to renew the post cache.

Embed size
Btw, I think the embed size shouldn't be globally if an AME definition has its own size. The default size sucks for e.g. Game Trailers. The quality of passiveVid is much higher since it doesn't resize (resp has the correct size for Gametrailers). The admin should be able to disable Zone sizes and only use Definition sizes.

Tools
EDIT #2: "How far back to go" doesn't seem to work in 2.5 RC1 and "Ignore previous" doesn't work as well if I did "Remove [ame] codes" before and want to get the ame tags back again ("no changes" for any post).

Due to (fixable) resizing issues I've uninstalled AME again and continue using passiveVid 1.x.
Besides that your module seems to be quite good and fast and uninstallation works as well (only data left in table datastore -> usergroupcache and table administer and the cache is not deleted, too (good for lazy admins :D )).

Naturally it changes with the title but how do i get rid of it[/quote]
The 2.5 definitions are kind of a BETA thing as well. But if you had wanted to ignore the global sizing issues with GameTrailers, you could have deleted the GamerTrailers definition and imported the other one from my "Third Times the Charm" thread, or you could have edited the Replacement HTML directly and removed the $ameinfo[height] $ameinfo[width] tags and put in the default sizes.


Quote:

Originally Posted by chrisdowns (Post 1675492)
Hi,

At the bottom of my Youtube video embedments i get this coding

" title="YouTube - Up and at 'em, Clay!" target="_blank">YouTube - Up and at 'em, Clay!

You have duplicate definitions for YouTube's videos. You'll need to delete one.

KidCharlemane 11-30-2008 08:44 PM

I cant get this to install. I suspect like the other guy is due to the size of my database.. we have 1.5 million posts.. mod just hangs on install.. its been sitting there a while.. I guess ill let it sit a while longer. A way to get this to install on large forums would be a plus.


All times are GMT. The time now is 07:31 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,820KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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