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)

rohirrim 08-23-2014 07:57 PM

Hi;
is there a way to hide videos from guests?

yjeanrenaud 08-23-2014 08:22 PM

yes, that should be possible. try adding

<vb: if condition="is_member_of($vbulletin->userinfo, 1)">
add your code here.
</vb:if>

rohirrim 08-23-2014 08:40 PM

Thanks for your answer. I added the code on bbcodes but this time vidoes doesn show both members and guest. Just blank white area. All I want to show a message to guest if they want to see the vidoe they must register. Here is my edited bbcode. Any help will be relly appraciated?

PHP Code:

<vb: if condition="is_member_of($vbulletin->userinfo, 1)"><object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}">
    <
param name="movie" value="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
    <
param name="wmode" value="{vb:raw wmode}" />
    <!--[if 
IE 6]>
    <
embed width="640" height="360" type="application/x-shockwave-flash" src="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
    <![endif]--></
object></vb:if> 

Quote:

Originally Posted by yjeanrenaud (Post 2512498)
yes, that should be possible. try adding

<vb: if condition="is_member_of($vbulletin->userinfo, 1)">
add your code here.
</vb:if>


Pure Dope 08-24-2014 09:24 PM

I just want the definitions. I dont want to be upgrading this on my board. Can I just import the newest definitions?????

sticky 10-02-2014 12:33 AM

Does anyone have any idea why if a video is embedded using this code:

[video=youtu;Mabpe5ZYMAM]http://youtu.be/Mabpe5ZYMAM[/video]

It is larger than if it is embedded using this code?

[video=youtube;Mabpe5ZYMAM]https://www.youtube.com/watch?v=Mabpe5ZYMAM[/video]

Alan_SP 10-03-2014 12:07 PM

Yes, actually it's pretty obvious.

You use two (2) different codes for each link (type) to YT videos.

youtu code uses larger video output than youtube.

Edit definition for code that makes a problem for you (larger or smaller). You could use same code for both types of YT links, it would work just fine.

sticky 10-03-2014 04:07 PM

Quote:

Originally Posted by Alan_SP (Post 2517547)
Yes, actually it's pretty obvious.

You use two (2) different codes for each link (type) to YT videos.

youtu code uses larger video output than youtube.

Edit definition for code that makes a problem for you (larger or smaller). You could use same code for both types of YT links, it would work just fine.

Heh, not obvious to me! Thanks.

I'm going to try putting in the same code and see how that works.

Alan_SP 10-03-2014 10:59 PM

Just take a look at video definitions (ACP->Ame CP->Display) and you'll see list of codes you use. When you look at each definition, embed code is what defines size of video.

Alan_SP 12-17-2014 06:17 PM

You need to modify AME3 to work, in first post isn't working version. Search thread to find modification you need to apply to get it working.

Replicators 12-29-2014 02:17 PM

This mod desperately needs updated, i got it to where it changes the links to video tags and everything, but the video is not showing up, it just displays the link. I have done the hook change and everything, no go.


All times are GMT. The time now is 04:25 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.02586 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (2)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