vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) (https://vborg.vbsupport.ru/showthread.php?t=150863)

carubmun 10-30-2007 06:44 AM

A hulu.com xml file would be nice too.

Hulu is the "YouTube" killer from NBC/FOX.

CThiessen 10-30-2007 07:58 AM

Thanks for that Add on.
It?s woks pretty good.
Do you think it could be possible to use that also for Google Maps.
I don?t like to give the User the possibility to include ?ifame? in general.
But for Google Maps it could be very helpful.
The code looks like this:
Code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=Venloer+Str.+40+,+50672+K%C3%B6ln&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;om=1&amp;ll=50.949992,6.937609&amp;output=embed&amp;s=AARTsJrMGiDvZ1UjH9JpRXWKX-GdWn8M8g"></iframe><br /><small><a href="http://maps.google.com/maps?q=Venloer+Str.+40+,+50672+K%C3%B6ln&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;om=1&amp;ll=50.949992,6.937609&amp;source=embed" style="color:#0000FF;text-align:left">Gr??ere Kartenansicht</a></small>
Best regards
Christian

dknelson 10-30-2007 06:12 PM

Can anybody tell me why I am getting DOUBLE video insertions?

http://www.venturerider.org/forum/sh...ad.php?t=15840

Also, anybody know how to add code for this one?

http://livedigital.com/home

dknelson 10-30-2007 07:19 PM

OK...I did figure out the reason for the double videos. For some reason, YouTube was listed twice in my display settings in the control panel.

I would still appreciate some help with the livedigital.com file.

dknelson 10-31-2007 03:52 AM

Well....seeing at there is no support for this mod and the original one worked fine, I have gone back to it. It is not supported either but does work. I installed this one, used the tools to modify all my old threads. All the old videos from YouTube worked but now when you post a new one, it doesn't work. Settings seem to be correct but it just doesn't work for me.

Also, in the tool section, if you rebuild the threads and choose "1 week" or whatever, it still rebuilds ALL the threads on the site.

lazytown 11-02-2007 08:09 PM

As this makes changes to existing posts, I would hope there is some way to cleanly reverse the process should it become necessary (incompatibility with future versions, etc).. As it is now, if you turn it off you get an ugly BBcode that doesn't work. Even just reverting it to the original link would be preferable.

-vissa

Tom_S 11-02-2007 09:12 PM

Quote:

Originally Posted by dknelson (Post 1372513)
Well....seeing at there is no support for this mod and the original one worked fine, I have gone back to it. It is not supported either but does work. I installed this one, used the tools to modify all my old threads. All the old videos from YouTube worked but now when you post a new one, it doesn't work. Settings seem to be correct but it just doesn't work for me.

Also, in the tool section, if you rebuild the threads and choose "1 week" or whatever, it still rebuilds ALL the threads on the site.

Damn dude...Do you think the author sits here waiting for people with complaints and has immediate fixes? Have some patience. You aren't paying for all this work he did!

towermatt 11-02-2007 09:52 PM

Quote:

Originally Posted by vissa
As this makes changes to existing posts, I would hope there is some way to cleanly reverse the process should it become necessary (incompatibility with future versions, etc).. As it is now, if you turn it off you get an ugly BBcode that doesn't work. Even just reverting it to the original link would be preferable.

-vissa

Quote:

can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
^ one of the features listed above

GoTTi 11-03-2007 05:33 PM

if i disable my ajax options or limit them thru the forums settings, this doesnt work. is there a workaround?

Adult SEO 11-05-2007 05:42 AM

Hi there!

For me the plugin is working however it seems there are random BBCode parse errors which will cause the bbcode to remain unencoded partly....

Best Regards,
Adult SEO

Adult SEO 11-05-2007 06:00 AM

I have added the folowing as replace for "file_get_contents()":

PHP Code:

 
function ame_random_useragent() {
 
$uas = array();
 
$uas[] = 'SonyEricssonP900/R102 Profile/MIDP-2.0 Configuration/CLDC-1.0 Rev/MR4';
 
$uas[] = 'FireFox (X11; Linux i686; pl-PL); slackware; FireFox;';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; FastWeb; Windows NT 5.1; OMEGA)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ';
 
$uas[] = 'Mozilla/5.001 (windows; U; NT4.0; en-us) Gecko/25250101 ';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.2; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 6.0)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 
$uas[] = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)';
 return 
$uas[array_rand($uas,1)];
}
function 
ame_get_ips() {
 
$ips = array( 
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent()),
     array(
'66.197.xxx.xxx',ame_random_useragent())
    );
 return 
$ips;
}
 
function 
ame_get_conents($url) {
 
$ips ame_get_ips();
 
$ip $ips[array_rand($ips,1)];
 
$ch curl_init();
 
curl_setopt($chCURLOPT_INTERFACE$ip[0]);
 
curl_setopt($chCURLOPT_URL$url);
 
curl_setopt($chCURLOPT_RETURNTRANSFER1);
 
curl_setopt($chCURLOPT_CONNECTTIMEOUT50);
 
curl_setopt($chCURLOPT_FOLLOWLOCATION1);
 
curl_setopt($chCURLOPT_USERAGENT$ip[1]);
 if (
$referer!='') { 
  
#curl_setopt($ch, CURLOPT_REFERER, $referer);
 
}
 
$return_data curl_exec($ch);
 
curl_close($ch);
 return 
$return_data;


Note the timeout option to bypass the vBulletin BBCode parse timeout, if it exists. So far it seems to work again, when the title fetching fails just the AME bbcode remains unparsed and not a part of the other BBCode.

Adult SEO 11-05-2007 01:42 PM

It did not work, as it seems the auto refresh of the postcache will fail with AME enabled resulting in an partly (aprox. 50%) unparsed message.

cherylferraro 11-05-2007 03:32 PM

Can someone contribute the code for http://www.dailyhaha.com? One of my members keeps posting links to that site and my attempts at creating an embed code haven't worked.

Thank you :)

hotwheels 11-06-2007 12:32 PM

here ya go.........

dknelson 11-06-2007 01:05 PM

Quote:

Originally Posted by Tom_S (Post 1374435)
Damn dude...Do you think the author sits here waiting for people with complaints and has immediate fixes? Have some patience. You aren't paying for all this work he did!

No, it was based upon several other posts that this was no longer being supported. Sorry if it offended you but it was not directed toward you. Also, you don't know WHAT I donate to and pay for.

dknelson 11-06-2007 01:33 PM

Quote:

Originally Posted by tormodg (Post 1371472)
He has recently stopped supporting any of his mods. I doubt he will work on this one anymore when he bailed out on GARS.

Here is one of the posts that prompted my thread about it not being supported. I should have tried to verify it first. Does anybody know?

hotwheels 11-06-2007 01:53 PM

He is no longer supporting anything. He had an unforeseen family issue come up and has to take care of that. So at this time, he has put his website and mods up for sale, if a true coder want's to purchase what he has started. Other then that, it is up to members to try to make his mods stay functional.
I hate to say it, but family has to come before computer time and trust me, i like my computer time too.
I do recall him posting a thread that stated he sent back as much money as he could from his paypal account, and went back a couple months worth of people in doing so....but he nolonger takes money nor supports his site, mods, etc......

dknelson 11-06-2007 02:07 PM

Hey, I agree, family must always come first and I never said anything negative about the lack of support, just mentioned that I was going by to an older solution because of it. I wish him nothing but the best. I was primarily referring to the post where Tom S made what I felt were unnecessary and out of line remarks regarding my post.

hotwheels 11-06-2007 02:29 PM

It's all good with me, i just wasn't sure if you knew thegeeks situation or not. I know some people were upset with him. You and i both think alike when it comes to family first.....

nickypoooo 11-08-2007 05:32 AM

Great mod, I installed it and it did work few times but now all I get is this :

Attachment 72106

What can I do to fix this?

Thank you!





PHP Version 5.0.4

lazytown 11-08-2007 10:17 AM

Quote:
can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
Quote:

Originally Posted by towermatt (Post 1374448)
^ one of the features listed above

Right you are! Thanks for pointing that out.

-vissa

Emarkay 11-09-2007 05:19 PM

Quote:

Originally Posted by mezcal33 (Post 1368219)
I'm having a problem. If someone posts a link to any of the supported video sites the link is converted to url tags but the player isn't showing in the posts. I can edit a post or make a new post and surround it with ame tags and the player shows up fine. Any thoughts?

I have the same problem, the player only shows up part of the time. Of course, I just edited some posts and now all the links turn to players... :confused:


Can we get a XML for 5min.com? I tried looking into it myself but couldn't finger it out. :o

mezcal33 11-09-2007 09:53 PM

What I suspect is the "exclude usergroups" option is the culprit in my case. Some usergroups can use it while some cannot. Maybe it's only checking the primary usergroup and not any secondary ones attached to a user.

mhackl 11-10-2007 12:34 PM

Sorry to hear about the authors troubles. Can anyone tell me where to start when attempting to troubleshoot the following error? I'm a bit of a novice, but I'd really like to make this hack work. I get this error about ten to twenty percent of the time when submitting a post (embedding or not).

PHP Code:

Parse errorparse errorunexpected ']'expecting T_STRING or T_VARIABLE or T_NUM_STRING in /forum/includes/ame_bbcode.php(192) : regexp code on line 4

Fatal error
Failed evaluating codeame_substitute(2" if ($vbulletin->options[\'adintegrate_footer_onoff\']) { $adtemplates[] = \'footer_advertisement\'; } """$subbedin /forum/includes/ame_bbcode.php on line 192 


tinycg 11-10-2007 09:44 PM

I absolutely love this mod, and yes we've clicked installed, haha.

Quick question though, what would I need to add plugin / plugin hook wise to get this work through private messages / PMs also??

I did some searching but couldnt come up with anything, learning from experience instead of frustrating myself I figure I'd ask first. Woo for learning!

Emarkay 11-12-2007 05:46 AM

It's working great now. Don't know what I did?


Way better than that "other" all in one player. Great work!!!


Don't forget the xml add ons.

https://vborg.vbsupport.ru/showthread.php?p=1378707

dieselpowered 11-14-2007 03:56 AM

Am I the only one that noticed this, however, after you post and then click on the video, the tab in IE 7 shows the post name and the post number??

papoo 11-15-2007 07:38 PM

hello,

Can someone contribute the code for http://www.koreus.com please?

Thanks

Teza 11-18-2007 01:20 PM

Vbulletin version: 3.6.8 P2

I am getting the exact same problem as Frucht,

https://vborg.vbsupport.ru/showpost....&postcount=337

I just installed AME, all sites but DailyMotion and Yahoo! Video is not working. I get a blank white screen for DailyMotion videos and Yahoo! vids come up as nothing but the container.

I used these urls:
http://www.dailymotion.com/video/xr2...ian-warrent-k1
http://video.yahoo.com/video/play?vid=743282

I have Extract Destination set to yes in Settings. Though the server do not allow a URL through fetch_contents (i.e no title etc..), could it be the cause?

MV Blackie 11-18-2007 02:12 PM

great mod , thx

GrendelKhan{TSU 11-19-2007 01:06 PM

you know what what kickbutt?

if someone could figure out how to get this to work with AdSense Video Units...then we could make money from our users posting videos.

*sigh*ponders*sigh*

:) I tried and failed... anyone up for it?

vwdforum 11-20-2007 06:45 AM

Can anyone help with the code required (and how to install additional code) for videojug.com

carleboy 11-20-2007 03:23 PM

can anyone make a xml or explain how i can tags for www.youporn.com work??

please:)

speaksell 11-20-2007 05:28 PM

I have had this running on my forum for a while now could I use a cron job to autmatically run this twice a day Thanks would help out a lot

amroawad 11-20-2007 07:16 PM

I have installed it but when I post a youtube link it doesn't show.

Does anyone knows why?

I have installed it correct. Can you maybe tell me how I have to do the settings?

Thanks a lot!

hotwheels 11-20-2007 07:16 PM

youporn doesn't want thier video's being shared for some reason, and their embedding code is set up to stop you from doing so......I have been working on this one for a couple months now and still have had no luck with it.

amroawad 11-20-2007 07:28 PM

Quote:

Originally Posted by amroawad (Post 1386440)
I have installed it but when I post a youtube link it doesn't show.

Does anyone knows why?

I have installed it correct. Can you maybe tell me how I have to do the settings?

Thanks a lot!

And does anyone knows why????????????

PeZzy 11-21-2007 01:30 AM

Anyone having problems with Gametrailer embedding? The video doesn't seem to load ever since they added the SD or HD selection to embedded videos.

carleboy 11-21-2007 07:09 AM

Quote:

Originally Posted by hotwheels (Post 1386441)
youporn doesn't want thier video's being shared for some reason, and their embedding code is set up to stop you from doing so......I have been working on this one for a couple months now and still have had no luck with it.

ok well thanks for the reply i will keep an eye out here incase you crack it cheers

LOSTTalk 11-21-2007 12:42 PM

Can anyone try and see if the amazon links can also be converted with an added affilliate ID so we can make some money of it? :)


All times are GMT. The time now is 12:05 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.03444 seconds
  • Memory Usage 1,863KB
  • 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
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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