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)

Creative Liquid 08-31-2008 05:51 AM

never mind, figured it out. You may have to reinstall your flash plugin.

Greenskull 08-31-2008 06:11 AM

I'm having a problem...it was working great until a few days ago. For some reason, when I post a link it either A: Doesn't work or B: Makes it just a bunch of HTML. Help!

The Geek 08-31-2008 08:22 AM

Can you provide an example?

Lizard King 08-31-2008 08:10 PM

It is nice to see you back online Sam :)

The Geek 09-01-2008 01:52 PM

Hey Lizard, nice to see you still about too :)

FYI all:

I am now back from my vacation and gearing up to head out on a business trip to Athens. I have finished the first beta of what will now be 2.5 and it is being tested while I find time to do some code clean up. To whet your whistle and give you an idea as to why I have gone from version 2 to 2.5 in a couple weeks time... here is a smackle of what is included in the next version:

New in 2.5:
  • Ability to prevent non authorised usergroups from viewing media (see limitations below)
  • Full usergroup permissions support (edit user group to adjust edit/view permissions per zone)
  • Template driven system which uses templates now instead of 1 master replacement (see note on conditionals below)
  • New zone: Signatures!
  • Different sizes and templates for each supported zone (posts, blogs, groups, visitor messages and signatures). That means that AME's in signatures can have no container table around the media and be small, but those in posts can have special ones with larger size videos
  • A couple new hooks. This is to support an AME add on for profiles I prototyped.
  • Notification system (similar to vB's that check for configuration errors, duplicates and other items that could cause unexpected behaviour)
  • definition keys for easier updating of definitions. This will also allow you to use conditionals in the templates if maybe you wanted media logos or a different look to the videos.
  • File caching system which radically reduces processing. This saves the definition query and array building. Ideal if you have a LOT of definitions.
  • And more that I cant think of off the top of my head!


Limitations with usergroup viewing permissions

The new system uses javascript to attempt to 'hide' the embedded media and 'show' a default URL. If the user doesn't have javascript enabled or places an embedded video in their post via the quick reply box, it will appear to them until they refresh the page. Of course, if the person doesn't have permission to view, I doubt they would have permission to embed anyway!

Another limitation with permissions will be that if someone with permission to post URLs edits someones who doesnt... well.. . it will appear!


Note on template conditionals

vBulletin caches the contents of posts after it has been parsed to save processing time. This means that if you put a condition into one of AMEs templates that will somehow alter the contents based on who is viewing it... you will get unexpected results. Say for example, in AMEs template you used the following conditional:

<if condition="$bbuserinfo['userid']==1">Hi Bob!</if>

If someone other than userid #1 created the post (and hence the cache), it won't appear, even when user #1 views it! Obviously the opposite is also true.

The only way to get around this is to turn off vBulletins post cache, but I wouldn't recommend it!


Changes to definitions

Stop using width and height tags in your object and embed tags. Instead, use $ameinfo[height] and $ameinfo[width] respectively. This is so that users can specify the dimensions in their settings and use the same definition in different areas of the site. Although pre 2.5 definitions will work, It will look pants if you can't tweak the size for a signature!

Start putting the ameid tag in your exported items. This is a unique identifier similar to vB's productid that can contain only alphanumeric characters and an underscore (basically any combination of letters, numbers and the _ character. No spaces permitted). This tag will help prevent duplicate imports and also give the template the option of knowing what type of media it is.

nJoy

calldaffer 09-01-2008 05:56 PM

installed with no problems, thanks for that. I am wondering how to display the videos you mentioned in your first post: yahoo, youtube, myspace, google and Amazon

I can get youtube to display no problem but any other video I try and put in it simply displays the URL?

The Geek 09-01-2008 07:50 PM

can you post some examples that arent working?

kpa4941 09-02-2008 08:28 PM

Can you make a video link to your own site(http://www.domain.com/video.mpg). Will it still embed the video into a post?

Skavenger 09-02-2008 08:44 PM

Quote:

Originally Posted by kpa4941 (Post 1613075)
Can you make a video link to your own site(http://www.domain.com/video.mpg). Will it still embed the video into a post?

Check this: https://vborg.vbsupport.ru/showthread.php?t=175378

kpa4941 09-02-2008 08:55 PM

Thanks for posting the link. It helped.


All times are GMT. The time now is 07:44 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.01403 seconds
  • Memory Usage 1,746KB
  • 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_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