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)

Alan_SP 07-30-2017 07:33 PM

You can always check my post here: https://vborg.vbsupport.ru/showpost....postcount=1473 (my previous post on this thread).

You may have same problem as I had. And in this case, whatever code you use, it wouldn't work. Unless you manually edit video bbcode template.

bfdzio 08-07-2017 10:41 AM

Quote:

Originally Posted by bfdzio (Post 2588927)
Anyone have any clue what is going on here?
https://vborg.vbsupport.ru/external/2017/07/12.png

If you quote reply a guy who has more than 1 AME processed tweet, anything you type appears inside the quote box. If I edit a post that somebody quoted and remove all of the twitter embeds except one and then save it, the text will then be outside of the quote box and fixed. So..anyone have any idea? I thought it could be related to the quote expander I have but I removed that on a test style and no go.

https://vborg.vbsupport.ru/showpost....postcount=1478

Anyone have any idea on this problem?

bfdzio 08-09-2017 10:53 AM

Bumping for my problem above :(

bfdzio 08-25-2017 12:30 PM

Quote:

Originally Posted by bfdzio (Post 2588927)
Anyone have any clue what is going on here?
https://vborg.vbsupport.ru/external/2017/07/12.png

If you quote reply a guy who has more than 1 AME processed tweet, anything you type appears inside the quote box. If I edit a post that somebody quoted and remove all of the twitter embeds except one and then save it, the text will then be outside of the quote box and fixed. So..anyone have any idea? I thought it could be related to the quote expander I have but I removed that on a test style and no go.

I will pay somebody up front to help solve this problem!

bfdzio 11-28-2017 03:29 PM

Quote:

Originally Posted by bfdzio (Post 2588927)
Anyone have any clue what is going on here?
https://vborg.vbsupport.ru/external/2017/07/12.png

If you quote reply a guy who has more than 1 AME processed tweet, anything you type appears inside the quote box. If I edit a post that somebody quoted and remove all of the twitter embeds except one and then save it, the text will then be outside of the quote box and fixed. So..anyone have any idea? I thought it could be related to the quote expander I have but I removed that on a test style and no go.

Just wanted to post that I fixed this in case anyone else runs into the issue. Had given up but then other day took another crack at it and got it fixed in 5 minutes.

Replaced the embed code under "Display" for the mod in the AME CP to this:
Code:

<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={vb:raw code}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"></div>


lacidious 03-22-2018 05:20 AM

Quote:

Originally Posted by sticky (Post 2588944)
I appreciate your help but the replacement html code just isn't working for me. Just no embed for some reason.

Not sure what to do but thanks for trying.

Doesn't work for me either. Twitter embed stopped working for me too.

lacidious 03-24-2018 07:03 PM

Nobody has a media definition for the newest changes to twitter? We quote twitter a ton in our forum, really sucks not having auto embed.

bfdzio 04-18-2018 12:38 PM

Quote:

Originally Posted by lacidious (Post 2593722)
Nobody has a media definition for the newest changes to twitter? We quote twitter a ton in our forum, really sucks not having auto embed.

It still works for me, the problem is the ?=s19 at the end of the URL on mobile link.

snakes1100 11-11-2018 04:33 PM

Anyone still have ame working on vb 4.2.5 & it still auto parses a video link?

Have a site that only shows a link, doesnt preview the video.

bambum 11-27-2018 09:19 AM

Quote:

Originally Posted by snakes1100 (Post 2597332)
Anyone still have ame working on vb 4.2.5 & it still auto parses a video link?

Have a site that only shows a link, doesnt preview the video.

I have the same problem. The installation was ok but with the urls video nothing hapens.

Inside AME CP all looks like ok.

version: 4.2.5

Edit:

When I try to rebuild the url the result is exactly the same. Does have it sense?

Building....
post 5:
was:
https://www.youtube.com/watch?v=3rVIgguXY4I

it is now:
https://www.youtube.com/watch?v=3rVIgguXY4I

snakes1100 12-01-2018 01:34 PM

Yes it rebuilds & reports it converted links, but it doesnt & it displays nodda in a thread/post.

lacidious 07-14-2019 06:56 PM

Guys this is what I have for the Twitter embed, and it's not working for me. What am I doing wrong?

Code:

<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={vb:raw code}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"/>

And here's the REGEX:

Code:

^https?:\/\/twitter\.com\/(?:#!\/)?\w+\/status\/(\d+)
I also tried this REGEX:

Code:

[https]*://[www\.]*twitter\.com/[\w-]+/status[es]*/([\d]+)

iA1 07-22-2019 01:58 AM

Try this BB code https://vborg.vbsupport.ru/showthrea...6&postcount=10

It works in vB 4.x as well.

SnakeEaterITA 04-05-2020 02:50 PM

Hi everyone, we recently upgraded to PHP 7.0 (which vB seems to still support), and now the server is throwing these errors relative to AME:

Code:

[05-Apr-2020 14:24:28 Europe/Rome] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; AME_editor_prep has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 321
[05-Apr-2020 14:24:28 Europe/Rome] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; AME_message_prep has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 408
[05-Apr-2020 14:25:19 Europe/Rome] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; AME_prep_base has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 86

EDIT: I have renamed the constructs to __construct, hopefully this will fix the issue

Does anyone have any advise on what the issue with the class declaration is and how to fix this?


All times are GMT. The time now is 04:32 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.02599 seconds
  • Memory Usage 1,762KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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