vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7 (https://vborg.vbsupport.ru/showthread.php?t=303416)

durham 06-19-2017 10:18 AM

Found solution. Add ?rel=0 instead of &rel=0

it works for me anyway!

BirdOPrey5 07-31-2017 10:32 AM

Has anyone tried this on PHP 7.0+ and VB 3.8.11?

Rafa-el 07-31-2017 02:45 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2589022)
Has anyone tried this on PHP 7.0+ and VB 3.8.11?

Yes, it worked.

BirdOPrey5 07-31-2017 07:28 PM

Quote:

Originally Posted by Rafa-el (Post 2589025)
Yes, it worked.

I'm sorry but are you sure you're running PHP 7.0.x or 7.1.x? I ask because I am looking through the code and for example in the /includes/ directory there is a file called ame_bbcode.php and one line, among many, is:

Code:

$text = preg_replace('/<<<@!([0-9]+)!@>>>/sme', 'ame_unsubstitute(\'\\1\',$ame_subbed)', $text);
The problem being that pre_replace() call is using the "e" modifier. While this would have worked in all versions of PHP 5.x.x, just logging a warning on PHP 5.5.x and 5.6.x, support for the e modifier was totally removed in PHP 7.x so that code could no longer function.

Those were the same kind of lines preventing the older version of this mod from running on PHP 7.x.

Of course maybe I'm missing something and those lines don't actually get triggered or something....

Rafa-el 08-01-2017 02:04 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2589036)
I'm sorry but are you sure you're running PHP 7.0.x or 7.1.x? I ask because I am looking through the code and for example in the /includes/ directory there is a file called ame_bbcode.php and one line, among many, is:

Code:

$text = preg_replace('/<<<@!([0-9]+)!@>>>/sme', 'ame_unsubstitute(\'\\1\',$ame_subbed)', $text);
The problem being that pre_replace() call is using the "e" modifier. While this would have worked in all versions of PHP 5.x.x, just logging a warning on PHP 5.5.x and 5.6.x, support for the e modifier was totally removed in PHP 7.x so that code could no longer function.

Those were the same kind of lines preventing the older version of this mod from running on PHP 7.x.

Of course maybe I'm missing something and those lines don't actually get triggered or something....

Honestly that really didn't caused a problem on the forum that I tested it, I'll dig into it later today but if its just a warning it might have been unnoticed.

BirdOPrey5 08-01-2017 06:39 PM

It's a warning but unlike PHP 5.x the code can't function as intended in PHP 7.x. Perhaps the code is rarely needed or the e modifier was a mistake to begin with. There are reasons, just surprising. Thank you again.

bbqchef33 09-29-2017 02:10 AM

Quote:

Originally Posted by durham (Post 2587607)
I have the same issue - adding rel=0 didnt fix for me. This must be a serious issue for lots of forums now https is being pushed so hard by Google.

Any fix please?

Quote:

Originally Posted by durham (Post 2587610)
Found solution. Add ?rel=0 instead of &amp;rel=0

it works for me anyway!


Same here. We've been running for years without issue. We just upgraded to HTTPS and all our videos are just a blank post. I edited the replacement HTML to include HTTPS and ?rel=0, but stilll no video.

Heres the edited code. Any Ideas?

<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="https://www.youtube.com/embed/$p1?start=$p2?rel=0" frameborder="0" allowfullscreen></iframe>

blind-eddie 10-07-2017 12:42 PM

I had this working fine with https but now, it stopped working for me as well.

Goomzee 01-02-2018 05:05 AM

same thing happened with me

bbqchef33 01-18-2018 05:37 PM

anything folks?? same problem for months since we went with SSL. all links are white screens. Changed everything to https and ?rel=0 with no luck. Ive run out of ideas.


All times are GMT. The time now is 09:27 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.01443 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (5)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
  • (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