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)

milaszewski 05-10-2010 06:52 AM

PHP Code:

require_once(DIR '/includes/ame_prep.php');
$providers ame_data_preparse($pagetext); 

I think the above will not work if you use quick reply with Search Engine Friendly mod rewrite URLs. When viewing a thread it will try to reach
PHP Code:

www.domain.com/threads/includes/ame_prep.php 

instead of
PHP Code:

www.domain.com/includes/ame_prep.php 


Craig Ross 05-10-2010 11:03 PM

Hi great mod thanks for all the hard work.

i had a different mod that done this on the 3.6.4 version and am in the process of upgrading my forum.

is there a database query i could so to change all the with [media]http:www.youtube.com/somevidurl[/media]

to

[video]http:www.youtube.com/somevidurl[/video]

IE all instances of media] to video] in the database ?

Craig Ross 05-11-2010 10:50 AM

Quote:

Originally Posted by Craig Ross (Post 2034797)
Hi great mod thanks for all the hard work.

i had a different mod that done this on the 3.6.4 version and am in the process of upgrading my forum.

is there a database query i could so to change all the with [media]http:www.youtube.com/somevidurl[/media]

to

[video]http:www.youtube.com/somevidurl[/video]

IE all instances of media] to video] in the database ?

update i found this worked for me just thought i would post it incase anyone else is looking to do this.

Code:

UPDATE
post
SET
pagetext = replace(pagetext,'media]', 'video]')
WHERE
pagetext LIKE '%media]%'

however this does not make the videos work but al least it turns them back into clickable urls :)

iacas 05-11-2010 10:38 PM

Is there a definitions file?

I'd like to be able to support flickr videos, for example, but haven't been able to figure out how yet. A definitions file for 3.0 would greatly help, of course.

lingstar 05-14-2010 10:40 AM

I installed AME in my forums, added a new post, and the YouTube link got converted to (url)...(/url) etc.

What am I missing? I'm using vBulletin 4.0.3.

Thank you,

Barbara

riskofficer 05-14-2010 11:16 AM

Quote:

Originally Posted by iacas (Post 2035413)
Is there a definitions file?

I'd like to be able to support flickr videos, for example, but haven't been able to figure out how yet. A definitions file for 3.0 would greatly help, of course.

Yes, we are still waiting for definitions. May be someone has definitions for amazon and google books?

Sarteck 05-14-2010 10:12 PM

Hullo.

Followed the instructions for the 4.0.3 fix, and it is now parsing links correctly in new posts. :) Thanks for that.

However, when I try to rebuild the old posts, instead of loading a screen telling me it's processing posts 8900 to 422342200 or whatever, I get a blank screen in my ACP.

There's no error logged in my NGINX error log nor my PHP-FastCGI log that seems to have anything to do with it.

Suggestions?

NNJJ 05-15-2010 06:08 PM

Quote:

Originally Posted by lingstar (Post 2036854)
I installed AME in my forums, added a new post, and the YouTube link got converted to (url)...(/url) etc.

What am I missing? I'm using vBulletin 4.0.3.

Thank you,

Barbara

same issue

Jabong82 05-15-2010 08:34 PM

Quote:

Originally Posted by lingstar (Post 2036854)
I installed AME in my forums, added a new post, and the YouTube link got converted to (url)...(/url) etc.

What am I missing? I'm using vBulletin 4.0.3.

Thank you,

Barbara

This mod does not work in 4.0.3. There is a quick fix where you edit the way the code is parsed, (its a few pages back somewhere), and I can confirm it does parse the video.

However some other users (like myself) notice that it conflicts with posts. I think it depends what other mods you have on your board.

Britmovie 05-17-2010 08:50 AM

Daft question cant someone fix it?


All times are GMT. The time now is 12:19 AM.

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.02018 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_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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