View Single Post
  #670  
Old 11-30-2008, 03:36 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by h2ojunkie View Post
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 View Post
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 View Post
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 View Post
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 )).
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 View Post
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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,810KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete