vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

ArnyVee 05-10-2009 12:08 AM

Mine is still not working for quite some time. :(

Old embeds work, but new ones I'm getting this.....

Code:

<!-- BEGIN TEMPLATE: ame_output -->
<div style="display: none;" id="ame_noshow_post_1241917615_3">
<a href="" title="YouTube" target="_blank">YouTube</a>
</div>
<div style="display: inline;" id="ame_doshow_post_1241917615_3">
<!-- BEGIN TEMPLATE: ame_container -->
<div align="center">
<table class="tborder" cellpadding="6" cellspacing="1" width="425" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="" title="YouTube" target="_blank">YouTube</a>
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="panelsurround" align="center">
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/CGTVRbpAuRo&start="></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/CGTVRbpAuRo&start=" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="350" wmode="transparent"></embed></object>
</td>
</tr>
</tbody>
</table></div>
<!-- END TEMPLATE: ame_container -->
</div>
<!-- END TEMPLATE: ame_output -->

....any suggested fixes for this? Pretty please! :D

Saviour 05-10-2009 10:43 AM

ArnyVee...

In the Admin Control Panel, vbulletin options/General settings...

Turn off Add Template Name in HTML Comments.

SnapOff Racing 05-10-2009 08:09 PM

Never worked for me on 3.8.2 until I disabled the "extract destination data" option...weird.

on a different note, how do I make the videos show up aligned to the left instead of centered?

EagleNick 05-10-2009 10:16 PM

Quote:

Originally Posted by SnapOff Racing (Post 1808242)
Never worked for me on 3.8.2 until I disabled the "extract destination data" option...weird.

THANK YOU - this resolved my problem as well.
Quote:

Originally Posted by SnapOff Racing (Post 1808242)
on a different note, how do I make the videos show up aligned to the left instead of centered?

In the ame_container template, find this code and remove the bit in red:
Code:

<td class="panelsurround" align="center">
That should do it. If not, replace center with left.

SnapOff Racing 05-10-2009 10:22 PM

Quote:

Originally Posted by EagleNick (Post 1808278)
THANK YOU - this resolved my problem as well.

In the ame_container template, find this code and remove the bit in red:
Code:

<td class="panelsurround" align="center">
That should do it. If not, replace center with left.

you're welcome.


i tried removing the code and replacing center with left, neither worked :(

ArnyVee 05-10-2009 10:36 PM

Quote:

Originally Posted by Saviour (Post 1807936)
ArnyVee...

In the Admin Control Panel, vbulletin options/General settings...

Turn off Add Template Name in HTML Comments.

Didn't work. :(

Now, I get this when I post the link URL.....

Code:

http://www.waltdisneyboards.com/redirect-to/?redirect=http%3A%2F%2F%3Cdiv+style%3D%22display%3A+none%3B%22+id%3D%22ame_noshow_post_1241998405_3%22%3E%3Cbr+%2F%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/div%3E%3Cbr%20/%3E%3Cdiv%20style=%22display:%20inline;%22%20id=%22ame_doshow_post_1241998405_3%22%3E%3Cbr%20/%3E%3Cdiv%20align=%22center%22%3E%3Cbr%20/%3E%3Ctable%20class=%22tborder%22%20cellpadding=%226%22%20cellspacing=%221%22%20width=%22425%22%20style=%22margin:10px%200%22%3E%3Cbr%20/%3E%3Cthead%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22tcat%22%20colspan=%222%22%20style=%22text-align:center%22%3E%3Cbr%20/%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/thead%3E%3Cbr%20/%3E%3Ctbody%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22panelsurround%22%20align=%22center%22%3E%3Cbr%20/%3E%3Cobject%20width=%22425%22%20height=%22350%22%3E%3Cbr%20/%3E%3Cparam%20name=%22movie%22%20value=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%3E%3C/param%3E%3Cbr%20/%3E%3Cparam%20name=%22allowFullScreen%22%20value=%22true%22%3E%3C/param%3E%3Cbr%20/%3E%3Cembed%20src=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%20type=%22application/x-shockwave-flash%22%20allowfullscreen=%22true%22%20width=%22425%22%20height=%22350%22%20wmode=%22transparent%22%3E%3C/embed%3E%3C/object%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/tbody%3E%3Cbr%20/%3E%3C/table%3E%3C/div%3E%3Cbr%20/%3E%3C/div%3E


Quote:

Originally Posted by SnapOff Racing (Post 1808242)
Never worked for me on 3.8.2 until I disabled the "extract destination data" option...weird.

Tried this as well. Still getting this. :(

Code:

http://www.waltdisneyboards.com/redirect-to/?redirect=http%3A%2F%2F%3Cdiv+style%3D%22display%3A+none%3B%22+id%3D%22ame_noshow_post_1241998565_3%22%3E%3Cbr+%2F%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/div%3E%3Cbr%20/%3E%3Cdiv%20style=%22display:%20inline;%22%20id=%22ame_doshow_post_1241998565_3%22%3E%3Cbr%20/%3E%3Cdiv%20align=%22center%22%3E%3Cbr%20/%3E%3Ctable%20class=%22tborder%22%20cellpadding=%226%22%20cellspacing=%221%22%20width=%22425%22%20style=%22margin:10px%200%22%3E%3Cbr%20/%3E%3Cthead%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22tcat%22%20colspan=%222%22%20style=%22text-align:center%22%3E%3Cbr%20/%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/thead%3E%3Cbr%20/%3E%3Ctbody%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22panelsurround%22%20align=%22center%22%3E%3Cbr%20/%3E%3Cobject%20width=%22425%22%20height=%22350%22%3E%3Cbr%20/%3E%3Cparam%20name=%22movie%22%20value=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%3E%3C/param%3E%3Cbr%20/%3E%3Cparam%20name=%22allowFullScreen%22%20value=%22true%22%3E%3C/param%3E%3Cbr%20/%3E%3Cembed%20src=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%20type=%22application/x-shockwave-flash%22%20allowfullscreen=%22true%22%20width=%22425%22%20height=%22350%22%20wmode=%22transparent%22%3E%3C/embed%3E%3C/object%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/tbody%3E%3Cbr%20/%3E%3C/table%3E%3C/div%3E%3Cbr%20/%3E%3C/div%3E

Then, I tried to put the "Add Template Name in HTML Comments" back to "YES" and got this again......

Code:

http://www.waltdisneyboards.com/redirect-to/?redirect=http%3A%2F%2F%3C%21--+BEGIN+TEMPLATE%3A+ame_output+--%3E%3Cbr+%2F%3E%3Cdiv%20style=%22display:%20none;%22%20id=%22ame_noshow_post_1241998654_3%22%3E%3Cbr%20/%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/div%3E%3Cbr%20/%3E%3Cdiv%20style=%22display:%20inline;%22%20id=%22ame_doshow_post_1241998654_3%22%3E%3Cbr%20/%3E%3C!--%20BEGIN%20TEMPLATE:%20ame_container%20--%3E%3Cbr%20/%3E%3Cdiv%20align=%22center%22%3E%3Cbr%20/%3E%3Ctable%20class=%22tborder%22%20cellpadding=%226%22%20cellspacing=%221%22%20width=%22425%22%20style=%22margin:10px%200%22%3E%3Cbr%20/%3E%3Cthead%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22tcat%22%20colspan=%222%22%20style=%22text-align:center%22%3E%3Cbr%20/%3E%3Ca%20href=%22%22%20title=%22YouTube%22%20target=%22_blank%22%3EYouTube%3C/a%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/thead%3E%3Cbr%20/%3E%3Ctbody%3E%3Cbr%20/%3E%3Ctr%3E%3Cbr%20/%3E%3Ctd%20class=%22panelsurround%22%20align=%22center%22%3E%3Cbr%20/%3E%3Cobject%20width=%22425%22%20height=%22350%22%3E%3Cbr%20/%3E%3Cparam%20name=%22movie%22%20value=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%3E%3C/param%3E%3Cbr%20/%3E%3Cparam%20name=%22allowFullScreen%22%20value=%22true%22%3E%3C/param%3E%3Cbr%20/%3E%3Cembed%20src=%22http://www.youtube.com/v/-nQtRSHKDpg&start=%22%20type=%22application/x-shockwave-flash%22%20allowfullscreen=%22true%22%20width=%22425%22%20height=%22350%22%20wmode=%22transparent%22%3E%3C/embed%3E%3C/object%3E%3Cbr%20/%3E%3C/td%3E%3Cbr%20/%3E%3C/tr%3E%3Cbr%20/%3E%3C/tbody%3E%3Cbr%20/%3E%3C/table%3E%3C/div%3E%3Cbr%20/%3E%3C!--%20END%20TEMPLATE:%20ame_container%20--%3E%3Cbr%20/%3E%3C/div%3E%3Cbr%20/%3E%3C!--%20END%20TEMPLATE:%20ame_output%20--%3E

Yikes, this is not fun :(

EagleNick 05-10-2009 10:39 PM

Quote:

Originally Posted by SnapOff Racing (Post 1808281)
you're welcome.


i tried removing the code and replacing center with left, neither worked :(

Hmm... try removing the align="center" from this line which is in the very beginning of the template:
Code:

<div align="center">

ArnyVee 05-10-2009 10:43 PM

Quote:

Originally Posted by EagleNick (Post 1808288)
Hmm... try removing the align="center" from this line which is in the very beginning of the template:
Code:

<div align="center">

This is from DJ's add-on thread.....

Quote:

How do I align the videos to the left or right, instead of having it aligned centered in posts?

Answer: To align the video to the left or right instead of having it centered, change your Container HTML: Admin CP >>> AMECP >>> Settings >>> Container HTML >>> Open. Look for this line of code
Code:

<div align="center">
and change "center" to "left" or "right".
Hopefully this works for you and then with that "good karma" thing I can get an answer to my issues :up:

The Geek 05-11-2009 08:26 AM

Hey Arny, I know you've had this problem for awhile, but I really don't know what the issue is. I suspect it is a conflict with another mod as it is taking the HTML output from AME and transforming all the HTML into entities. In other words, instead of your browser getting:
<div align="center">
your browser is getting
&lt;div align=&quote;center&quote;&gt;

There isn't anything in AME that would do that, so again I suspect a conflict with another hack. Another thing that would point to another hack is the odd behaviour you get doing things like turning template names on/off. That is pretty odd. Normally I would offer to log in and try to resolve, however I simply lack any time to right now. I hope the above may give you some indication on how to resolve the problem though :)

The Geek 05-11-2009 08:30 AM

Quote:

Originally Posted by SnapOff Racing (Post 1808242)
Never worked for me on 3.8.2 until I disabled the "extract destination data" option...weird.


on a different note, how do I make the videos show up aligned to the left instead of centered?

If your server doesn't support ccurl or fopen, you MUST turn off the extraction option because one of those 2 functions are needed for extracting info from other sites. The good news is that extracting isn't a necessity, however a few definitions out there and a couple minor features do require it to be on.


All times are GMT. The time now is 08:39 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.02996 seconds
  • Memory Usage 1,794KB
  • 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
  • (9)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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