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)

Digital Jedi 12-18-2008 05:20 AM

Quote:

Originally Posted by Finster (Post 1687547)
DJ, nice forum you have. Ligthboxing seems to be a popular thing these days. Whether one types in a url to a video or image, Goldbrick usually rendered the photo or video as a thumbnail, then upon clicking git, it opened it up full size with the lightbox effect from the Highslide folks.

The problem with Golbrick is it is poorly supported and buggy. I can't blame him, it IS free, but I would rather pay and get support and updates than get something free.

Most Golbricked videos also show a thumbnail image taken from the video which tends to make people want to click on it and view it, but half the time it just shows a lame blue M.

I don't know what would happen to the existing video links if one switched from Goldbrick to AME....

I've been meaning to try installing Goldbrick and PassiveVid on my demo board, posting a few videos and then unintalling and installing AME just to see if there's some kind of conversion process we can take advantage of. As far as I know, unless Goldbrick has something that will let you convert media tags, they'd just be regular URL tags.

Finster 12-18-2008 05:25 AM

Goldbrick is supposed to sense whether the url is to an image or to a video at a designated file sharing site. Either way, it is supposed to add opening an closing media tags, but sometimes it just auto-adds url tags. It is buggy that way as one has to go back and edit a post to edit in media tags. That is lame.

I am a little confused, (not hard to do) what is the diff between your DJ AME and the Geek's?

Digital Jedi 12-18-2008 05:32 AM

Quote:

Originally Posted by Finster (Post 1687789)
Goldbrick is supposed to sense whether the url is to an image or to a video at a designated file sharing site. Either way, it is supposed to add opening an closing media tags, but sometimes it just auto-adds url tags. It is buggy that way as one has to go back and edit a post to edit in media tags. That is lame.

I am a little confused, (not hard to do) what is the diff between your DJ AME and the Geek's?

My AME? Oh, you mean my thread add-on? That's just the extended definitions in one collected thread. The Geek only stocks the core product with a handful of definitions to keep it light. Then the rest of us can add sites periodically and I collect them in my thread. That's why there's so many supported sites, since anyone with a little RegEx knowledge can whip one up. I really on learned RegEx myself so I could support the additional XMLs.

If Goldbrick adds unique BBCode media tags, then that's perfect. AME has a rebuilding tool that lets you change any old BBCode tags to AME tags. Say for instance someone used to use [youtube] and [metacafe] tags and their all over their forum. They can have AME rebuild all the YouTube and MetaCafe tags to [AME] tags. AME itself doesn't usually use BBCode, but it comes with that stock code for situations like this. Plus you can test rebuild first just to make sure it's something you want to do.

sensimilla 12-18-2008 08:01 AM

Afetr uninstalling goldbrick all my links in post has [media] tags and AME dont rebuild it.
What can I do to fix it? Is it possible at all ? Thanks in advance

Code:

[media]http://www.youtube.com/watch?v=SHRYCTgzW3Q[/media]
-------- edited 10 minutes later --------

I am playing with the converter will see the results.

Nope didnt worked.

Digital Jedi 12-18-2008 01:09 PM

Quote:

Originally Posted by sensimilla (Post 1687831)
Afetr uninstalling goldbrick all my links in post has [media] tags and AME dont rebuild it.
What can I do to fix it? Is it possible at all ? Thanks in advance

Code:

[media]http://www.youtube.com/watch?v=SHRYCTgzW3Q[/media]
-------- edited 10 minutes later --------

I am playing with the converter will see the results.

Nope didnt worked.

Did you print it out in Test and Verbose Mode to see a more detailed evaluation of what's happening?

Digital Jedi 12-18-2008 01:36 PM

I'm sorry, I should have said Convert, not Rebuild.

ArnyVee 12-19-2008 02:06 PM

So, has anyone been able to get AME to work with a custom page? If so, how do we go about doing that?

Digital Jedi 12-19-2008 04:57 PM

Are you using Logicians WebTemplates or vBadvanced for the custom pages, Arny? If your using vBadvanced, it will do it automatically. At least I've confirmed that in 2.0.

kfiasche81 12-20-2008 06:13 AM

whit the new DJ's Master XML 2.xml

when i use the tools for posts i receive this error

Code:

Parse error: syntax error, unexpected '(' in /home/iltermitano/iltermitano.it/forum/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://biascoch.blip.tv/file/652552/&quot;, &quot;&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(&quot;([\w-_]+)&quot;\)~sim&quot;, &quot;&quot;,$ameinfo) in /home/iltermitano/iltermitano.it/forum/includes/ame_bbcode.php on line 323


bbcentral 12-20-2008 09:43 AM

Quote:

Originally Posted by Digital Jedi (Post 1686734)
It's there to demonstrate that this mod does more then convert media. It will take a grotesquly long link like this:

HTML Code:

http://www.amazon.com/gp/product/B0000013G3/ref=s9subs_c6_15_img1-rfc_g1_si1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-5&pf_rd_r=0EHN0PCM9M858EF4FAVT&pf_rd_t=101&pf_rd_p=463383431&pf_rd_i=507846
And convert it to this:

Attachment 90675 Amazon.com: Boomerang: Original Soundtrack Album...

And yes, it can be configured to include your Affiliate ID automatically. In my add-on thread we have a definition someone created that will convert them to this:

Attachment 90674 Attachment 90676 Attachment 90677

I've also done the same for a CafePress definition as well as a formatted download link for zSHARE links. The point is, this is capable of formatting far more then just media.

Brilliant answer, I'm going to bookmark this mod and try it out sometime! Thanks! :D


All times are GMT. The time now is 06:21 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.01920 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)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