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)

The Geek 09-02-2008 08:58 PM

2.5 Beta 2 has been released in the first post of this thread.

nJoy

ShiZoPhreN 09-03-2008 05:45 AM

*AME 2.5 Installed*

Any Option for a Lightbox?!

Eg: With The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more!

katie hunter 09-04-2008 03:28 AM

Hi Geek =]

I have a question, why do all embed videos always come centered ? Can this be disabled ? all videos are becoming in the center of the thread

Gosef 09-04-2008 10:06 AM

Nice work

RedDevil 09-04-2008 10:47 AM

Just updated to new beta version, experiencing a slight problem importing reports a missing key from xml files pic attached.

Im not into coding so dont know what its asking for. any help appreciated.

EDIT: i compared the xml to one inbuilt and added the name manually still shows as missing as in pic 2

RedDevil 09-04-2008 11:13 AM

Just an update on above post, seems a minor bug it fixes itself if you resave using the message box and re-add its key name again and save, seems when you import xml 1st time and add key manually it doesnt save it, 2nd time using its warning system link as picture attached.

Maybe a fix needed in next update... still great work tho well done all involved.

Digital Jedi 09-04-2008 11:31 AM

Quote:

Originally Posted by katie hunter (Post 1614112)
Hi Geek =]

I have a question, why do all embed videos always come centered ? Can this be disabled ? all videos are becoming in the center of the thread

You can change the look and feel of the container by editing the appropriate templates that come with the new version.

Quote:

Originally Posted by Red-Devil (Post 1614307)
Just an update on above post, seems a minor bug it fixes itself if you resave using the message box and re-add its key name again and save, seems when you import xml 1st time and add key manually it doesnt save it, 2nd time using its warning system link as picture attached.

Maybe a fix needed in next update... still great work tho well done all involved.

I'll be updating the Master XML list soon to include the key. The Geek added this to prevent duplicate entries from being imported. I'll probably just do a new thread for them, but I have a lot of definitions to update, including the new variables involved in sizing. It will take some time.

Bluefin221 09-04-2008 11:44 AM

Is it possible to get this working with vBadvanced Dynamics?

GrandHolyKing 09-04-2008 03:54 PM

Quote:

Originally Posted by katie hunter (Post 1614112)
Hi Geek =]

I have a question, why do all embed videos always come centered ? Can this be disabled ? all videos are becoming in the center of the thread

I simply edited the container html from "Center" to "Left"...easy as pie and works a treat!!

Magz 09-04-2008 07:03 PM

Hi all,

Ive use a previous mod before which prefixed my vids with a Tag.

Now the code code is displayed in AME, so could someone show me what i need to do to convert them to use AME, rather than doing them manually.

Ive seen a previous post say he solved it by adding \1, but how do i implement it?

regards

Digital Jedi 09-05-2008 11:55 AM

I'm not sure what the \1 thing is referring to, but if you where using some kind of BBCode previously, the Rebuild option in Tools runs through your posts and replaces tags you previously had with [AME] tags. You just have to tell it which tags to replace. You can also run it in Test Mode to see the results and make sure it's something you want to do.

The Geek 09-05-2008 12:16 PM

Hey Magz, check out the conversion tool for old tags. Make sure you check out the admincp help associated with each option too!

Magz 09-05-2008 12:22 PM

Thanks guys,

sadly my site got hacked last night, all files deleted. Im sure they gained access via an external php arcade script i was using. Thats deleted now.

Ive got the site back, from a back up, and will try again when i readd it.

The Geek 09-05-2008 02:21 PM

man, that sucks! Sorry to hear that!

But just for future reference, AME has a conversion utility in the tools menu that can allow you to uninstall 'other' media tags. It does this by turning them into URL tags. From that point, you can then run the rebuild tools to change URL tags into AME tags. I thought that would be more useful than making a tool that simply converted other media tags into ame tags.

HTHs!

The Geek 09-05-2008 02:22 PM

Quote:

Originally Posted by Bluefin221 (Post 1614336)
Is it possible to get this working with vBadvanced Dynamics?

I am sure it would be, however I don;t have, never used it and don't really have time to. However looking at the various hooks around the blog, group messages, etc.. someone should be able to whip out an easy add on to do it (as long as dynamics has hooks in the right places :) )

roadrunna 09-05-2008 11:20 PM

Hiya,

I'm running the 2.5 version. After selecting to rebuild posts from the tools menu it runs through the first page, sits through the delay, redirects to the next page but nothing happens :confused:

The attachemt is all that is shown when it flicks to the second page.

I've tried it in live & test, with & without verbose. The first page goes fine and makes the changes then the script seems to stop instead of processing any more posts.

Any ideas ?

Cheers,

Si

Hornstar 09-06-2008 04:28 AM

2.5 is looking awesome from your description. I am looking forward to updating to that version later on :) Thanks again Geek.

The Geek 09-06-2008 08:17 AM

Quote:

Originally Posted by roadrunna (Post 1615503)
Hiya,

I'm running the 2.5 version. After selecting to rebuild posts from the tools menu it runs through the first page, sits through the delay, redirects to the next page but nothing happens :confused:

The attachemt is all that is shown when it flicks to the second page.

I've tried it in live & test, with & without verbose. The first page goes fine and makes the changes then the script seems to stop instead of processing any more posts.

Any ideas ?

Cheers,

Si

Can you run it in a new window and then copy and paste the referring URL (including everything after admincp)?

roadrunna 09-06-2008 04:16 PM

Here you go.

The main URL to the site and admin folder is ok (I use a different named folder so would prefer not to post it).

Here's everything after that

automediaembed_admin.php?do=dorebuild&timer=0+Seco nds+remaining&cont=1&ignorepre vious=1&deleteame=0&perpage=100&seconds=20&length= 2419200&test=1&verbose=0&start =1&in=

directprint 09-06-2008 10:05 PM

I had the previous version installed, then decided to upgrade it, now pages if anyone hits post reply, my pages are blank, when I go to the ACP, all I see is most of the coding.

The Geek 09-07-2008 04:08 AM

Thanks Road, that helps. Should be sorted for next 2.5 beta (which will be out in the next couple of days).

Directprint. Is this 2.0.2 or the 2.5 beta? Also can you check your apache error log?

aztecboi2003 09-07-2008 04:23 AM

My Break and daily motion are not working. I have just the white boxes where they should be. I'm using 2.0.2

directprint 09-07-2008 04:25 AM

Quote:

Originally Posted by The Geek (Post 1616342)
Thanks Road, that helps. Should be sorted for next 2.5 beta (which will be out in the next couple of days).

Directprint. Is this 2.0.2 or the 2.5 beta? Also can you check your apache error log?

Was running the old version on 3.6 even after upgrade to 3.7.3, then decided it was time to upgrade to 2.0.2, didn't want to try the beta in case it broke things. I am running on a IIS server.
Tried the beta as well, it removed the code I am seeing in ACP, but when trying to rebuild everything the page just goes blank and doe's nothing.

The Geek 09-07-2008 05:38 AM

Quote:

Originally Posted by aztecboi2003 (Post 1616349)
My Break and daily motion are not working. I have just the white boxes where they should be. I'm using 2.0.2

If those are add-on definitions, give the author a shout. Since version 2, ame hasnt supported daily motion or break as those are supported by add on authors.

Quote:

Originally Posted by directprint (Post 1616350)
Was running the old version on 3.6 even after upgrade to 3.7.3, then decided it was time to upgrade to 2.0.2, didn't want to try the beta in case it broke things. I am running on a IIS server.
Tried the beta as well, it removed the code I am seeing in ACP, but when trying to rebuild everything the page just goes blank and doe's nothing.

Thanks for this. Sounds like the problem with the version 2 was that a php tag (Around line 80) was just <? but it should have been <?php as some installations are touchy about this.
The problem with the rebuild in the beta was reported yesterday and I am working on the solution which should be availible over the next couple of days (when I get back home)

Thanks!

directprint 09-07-2008 06:47 AM

Quote:

Originally Posted by The Geek (Post 1616373)
Thanks for this. Sounds like the problem with the version 2 was that a php tag (Around line 80) was just <? but it should have been <?php as some installations are touchy about this

I am looking for this error in the php file, which one is it?

directprint 09-07-2008 06:52 AM

Found it, but still doesn't work for me, somethings not right somewhere. So I can't event get 2.0.2 to work.

The Geek 09-07-2008 07:42 AM

in version 2.0.2 in admincp/automediaembed_admin.php on line 82, is this tag:
PHP Code:

<?

Some server configurations require:
PHP Code:

<?php

If that change isn't made and your server requires it, it will usually just spit out PHP code when you browse to the ame admin page. Making the change fixes it. This change was made in the current 2.5 beta, hence the reason you could use the ame admincp in 2.5. The only problem I am currently aware of in the current 2.5 beta is rebuilding only seems to work on the first page. As I said in a previous post, this should be rectified in the next couple days when I get home.

Anyhoo. Hope this helps!

directprint 09-07-2008 07:54 AM

I made that change an uploaded the file, no longer showed the code, but it didn't rebuild posts. Also when I enable the product I get blank page when using post reply.

directprint 09-07-2008 08:03 AM

This is the error from rebuild posts via ACP.

Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: Permission denied in [path]\admincp\automediaembed_admin.php on line 725

Fatal error: require_once() [function.require]: Failed opening required 'C:\Domains\website.com.au\wwwroot\forum/includes/ame_bbcode.php' (include_path='.;C:\php5\pear') in C:\Domains\website.com.au\wwwroot\forum\admincp\au tomediaembed_admin.php on line 725

This is the error if I post reply in a thead...

Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: Permission denied in [path]\newreply.php(742) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required 'C:\Domains\website.com.au\wwwroot\forum/includes/ame_bbcode.php' (include_path='.;C:\php5\pear') in C:\Domains\website.com.au\wwwroot\forum\newreply.p hp(742) : eval()'d code on line 1

The Geek 09-07-2008 08:26 AM

Check permissions on includes/ame_bbcode.php as the php process doesnt appear to have rights to run that file.

directprint 09-07-2008 08:33 AM

Quote:

Originally Posted by The Geek (Post 1616439)
Check permissions on includes/ame_bbcode.php as the php process doesnt appear to have rights to run that file.

Great, thank you so much for your help, that was what it was, no idea how the permissions would go up to the server like that. :up:

Subah 09-07-2008 10:05 AM

Is there any change on 2.0.2 since last update ? i have it on my forum and i login and found the mod is updated when i look on the mod i found the new beta 2.5 so i think do not need to update the 2.0.2 right ?

testebr 09-07-2008 02:08 PM

it's possible add support to preview post in full editor?

komirad 09-07-2008 04:16 PM

is it possible to embed the video only when within a custom bbcode?
ie. [bbcode]<youtube-url>[/bbcode]

Because sometimes embedding is disabled on youtube making the youtube video "Not available" and showing a blank screen when embedded.

Digital Jedi 09-07-2008 05:19 PM

Quote:

Originally Posted by komirad (Post 1616709)
is it possible to embed the video only when within a custom bbcode?
ie. [bbcode]<youtube-url>[/bbcode]

Because sometimes embedding is disabled on youtube making the youtube video "Not available" and showing a blank screen when embedded.

That will not make the video show up, as that's still embedding. When YouTube says embedding is disabled, that means there's no way around it.

NeverBored 09-07-2008 06:25 PM

Quote:

Originally Posted by komirad (Post 1616709)
is it possible to embed the video only when within a custom bbcode?
ie. [bbcode]<youtube-url>[/bbcode]

Because sometimes embedding is disabled on youtube making the youtube video "Not available" and showing a blank screen when embedded.

For that use, just uncheck the embed option when posting. Or am I not understanding what you mean? So you will end up with the link, rather than the video that will not play.

Locutus 2.0 09-07-2008 07:57 PM

This will be great for my board

komirad 09-08-2008 02:55 AM

Quote:

Originally Posted by Digital Jedi (Post 1616771)
That will not make the video show up, as that's still embedding. When YouTube says embedding is disabled, that means there's no way around it.

Yea, that's why I don't want all the links to convert to embeds, instead give users a choice.

Quote:

Originally Posted by NeverBored (Post 1616817)
For that use, just uncheck the embed option when posting. Or am I not understanding what you mean? So you will end up with the link, rather than the video that will not play.

Unchecking would mean that the whole post will not be embedded.
If we can do a [youtube]http://youtube.com/v/xxxxxxxx[/youtube] kinda thing that would convert the url to link, it would be good.

It would mean that users can embed those vids that are not disabled and post links to those which are in a single post. I currently do this with youtube tags, but users would have to extract the Video ID from the url to put in between the tags.. which is a hassle and a problem to users not familiar to the url structures/query strings.

With some simple programming we should be able to extract the ID even if the url varies like below:
http://youtube.com/watch?v=xxxxxxxx
http://youtube.com/watch?v=xxxxxxxx&feature=related
http://youtube.com/watch?v=xxxxxxxx&...mesite.com/yyy

The Geek 09-08-2008 11:30 AM

Quote:

Originally Posted by komirad (Post 1616709)
is it possible to embed the video only when within a custom bbcode?
ie. [bbcode]<youtube-url>[/bbcode]

Because sometimes embedding is disabled on youtube making the youtube video "Not available" and showing a blank screen when embedded.

The point of AME is to automatically embed matching URLs. As mentioned, If you don't want the video to show in a post, just tick the 'Do not automatically embed media' option.

Quote:

Originally Posted by komirad (Post 1617075)
Yea, that's why I don't want all the links to convert to embeds, instead give users a choice.

Unchecking would mean that the whole post will not be embedded.
If we can do a [youtube]http://youtube.com/v/xxxxxxxx[/youtube] kinda thing that would convert the url to link, it would be good.

Ok. I see what you mean here. You want an 'exempt' code. Not too sure about that. You can put it in a code, php or HTML block to accomplish that... but I am not sold on creating another code block just to intermix normal links and embedded links :(
Quote:

Originally Posted by komirad (Post 1617075)
It would mean that users can embed those vids that are not disabled and post links to those which are in a single post. I currently do this with youtube tags, but users would have to extract the Video ID from the url to put in between the tags.. which is a hassle and a problem to users not familiar to the url structures/query strings.

With some simple programming we should be able to extract the ID even if the url varies like below:
http://youtube.com/watch?v=xxxxxxxx
http://youtube.com/watch?v=xxxxxxxx&feature=related
http://youtube.com/watch?v=xxxxxxxx&...mesite.com/yyy

Ame does this but can't tell you from the URL if embedding is supported or not. Possibly by using the extract destination option (i.e. a regexp that determines if the page has 'embedding dissallowed' on (or whatever). But that is something I wouldnt support natively as it can be done via a new definition.


HTHs

The Geek 09-08-2008 11:31 AM

Quote:

Originally Posted by testebr (Post 1616629)
it's possible add support to preview post in full editor?

hmmm... I thought it was... will have to double check. In theory it should.


All times are GMT. The time now is 08:03 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.02247 seconds
  • Memory Usage 1,845KB
  • 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
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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