![]() |
Hi everybody, I have AME working in vbulletin 3.8.4 forum for years whit no problems.
Now we have changed our url to https (SSL) and AME doesn´t work, it shows a blank space instead of videos. Any help please? |
Hello guys
Running vB 3.8.7 with around 30M posts. We disabled passiveVid and successfully installed this plugin. The plugin is working well but old post (prior installing AME) isn't parse the video, unless if reedit respective posts. What should i do? Have i missed something here? The old passiveVid plugin bbode is [url[/url]. How can i execute a command to parse a video in all existing posts ? Anyone could help? |
Did passiveVid use the same BBCode tags?
|
Quote:
AME use same bbcode as well |
Yeah, as far as I know, when you create a new BBCode that uses the same tags as a previous BBCode, old posts will have to be reparsed to use the new replacement HTML, and the only way I know to do that without some custom script is to edit them.
|
Quote:
If anyone woule be able to help of offer some service kindly PM me & i would be much appreciated. |
Quote:
Replace http with https |
Quote:
|
Anyone have an updated Definition for Worldstarhiphop.com? They've recently changed the embed code.
|
Quote:
Any fix please? |
Found solution. Add ?rel=0 instead of &rel=0
it works for me anyway! |
Has anyone tried this on PHP 7.0+ and VB 3.8.11?
|
Quote:
|
Quote:
Code:
$text = preg_replace('/<<<@!([0-9]+)!@>>>/sme', 'ame_unsubstitute(\'\\1\',$ame_subbed)', $text); 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.... |
Quote:
|
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.
|
Quote:
Quote:
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> |
I had this working fine with https but now, it stopped working for me as well.
|
same thing happened with me
|
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.
|
Quote:
I have no idea why &rel=0 would do anything at all. However AME caches its parsed code so if you don't re-edit an old post any changes you make to the replacement code isn't going to be noticeable on posts you've already viewed. If it works for new posts then there is a tool (link) I believe in the AME section of the Admin CP to clear the cache. But I would backup before using it, I've had issues with it before. For the record I went to SSL (using the older version of this mod) without any issue but I had updated the code to use SSL years before I put an SSL cert on my board. |
can anyone update this addon ?
|
i have this problem, how can i fixed ?
PHP Code:
|
I am not a PHP expert and I only use a small number of AME definitions so this may have issues with some other definitions but I can explain what I changed to resolve the '/e modifier is deprecated' message in ame_bbcode.php near line 712
In the function ame_process_bbcode I made the following change. Replace Code:
$text = preg_replace($ameinfo['find'], $ameinfo['replace'], ($param2 ? $param2 : $param1), 1); Code:
$text = ''; Hopefully this helps some people and maybe someone else can take it and improve upon it. If this helps anyone and you want to tip anything I wouldn't refuse it. :) |
Quote:
|
Quote:
|
are there any updates for this version ?
|
How to fix preg_replace() errors in PHP 5.6 + 7.x for DJ AME's 2.5/2.7 :
- This fix is for the preg_replace Errors (Error 1) in ame_bbcode.php reported by user Mandushi above. - In my case I encountered the 2nd Error (Error 2) seen below after upgrading to vBulletin 3.8.1.1 and PHP 5.6+ Error 1: In vBulletin 3.8.x versions using PHP 5.6 +: Code:
mod_fcgid: stderr: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /includes/ame_bbcode.php on line 712 Code:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in includes/ame_bbcode.php on line 331\n' Thankfully I had some help to complete this fix long time a go on StackOverflow (Credits Barmar). So the methods below below will fix all of the preg_replace deprecated errors in ame_bbcode.php file. 1. Edit the > ame_bbcode.php and find this line in function named (&fetch_full_ameinfo): Code:
if (!$findonly) Code:
if (!$findonly) Code:
$text = preg_replace($ameinfo['find'], $ameinfo['replace'], ($param2 ? $param2 : $param1), 1); Code:
$text = preg_replace_callback($ameinfo['find'], function($match) use (&$param1, &$param2, &$ameinfo) { Additional Fix for line 324 in ame_bbcode.php 1. The line seen below at line 324 will also show up as a Deprecated Error: Code:
$text = preg_replace($ameinfo['find'], $ameinfo['replace'], $text); Code:
$text = preg_replace($substitutes, $subhandlers, $text); Please leave a feed back for others to know if you were able to make it work on your end. Thank you. Regards China. |
This don't work with https
|
Note: In this post, all instances of +++++ute should read as b i t c h u t e (without the spaces)
Censoring can be a real +++++. If anybody wants to embed video from https://+++++ute.com use the following code to add the new definition: Regular Expression: Code:
https://www.+++++ute.com/video/([\w/]+) Code:
<iframe frameborder="0" width="480" height="360" src="https://www.+++++ute.com/embed/$p1" allowfullscreen></iframe><br /> |
Working YouTube HTTPS
Regular Expression: Code:
https?://[\w\.]+youtube\.[\w]+/watch[_poup]*[\?\#!]+[featur=plyndscn_mbdvwNR1&;]*v=([\w-]+)[\w&;+=\.-]*[\#\?t=]*([\d]*)[&;10shdq=]* Code:
<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="https://www.youtube.com/embed/$p1?start=$p2" frameborder="0" allowfullscreen></iframe> - - - - - - - - - - - - - - - - - - - Working DailyMotion HTTPS Regular Expression: Code:
https://www\.dailymotion\.com/video/([\w/]*) Code:
<iframe frameborder="0" width="$ameinfo[width]" height="$ameinfo[height]" src="https://www.dailymotion.com/embed/video/$p1"></iframe> |
Not working for me source code shows that there is iframe of youtube but it is simply not shoing on webpage, i wonder why ?
please help |
All times are GMT. The time now is 09:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|