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)

rjmjr69 07-01-2007 08:13 PM

Quote:

Originally Posted by The Geek (Post 1280154)
I amy add yahoo and a couple others, but I would rather leave the rest as options to reduce overheads.

Once you import, the screen takes you to another screen that enables you to then add them. Are you not getting that?

Yes I am getting the other sceen but they are all errors I have found only ONE add on that isnt errors or a double up basically

furst 07-01-2007 08:53 PM

Support for Break and DailyMotion would be nice. Oh, and BrightCove too.

Phooey 07-01-2007 11:11 PM

Awesome mod. Very very awesome.

/installed

Hornstar 07-02-2007 02:23 AM

Okay first i uninstalled the previous hack to this one - successful
then i installed this one - successful
then i ran convert codes - successful
then i ran rebuild posts - o_O very unsuccessfully

This is what it looked like down the page.


About 32 page(s) left

# post 582157: not changed
# post 582126: not changed
# post 582081: not changed
# post 582079: not changed
# post 582078:
# post 582058: not changed
# post 582042: not changed
# post 582026: not changed
# post 582025: not changed
# post 582019: not changed
# post 582015: not changed
# post 582008: not changed

and then at the bottom i got this nice big error

Code:

Parse error: syntax error, unexpected T_STRING, expecting '}' in /home/g******/public_html/forums/includes/ame_bbcode.php(177) : regexp code on line 156

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_substitute(4, &quot;~Web Executions~ procedure TMainForm.GameCheetah1Click(Sender: TObject); begin ShellExecute(0, pchar(\'open\'),pchar(\'http://gamecheetah.com\'), pchar(\'\'),pchar(\'\'), SW_MAXIMIZE ); end; procedure TMainForm.GMSRev10211Click(Sender: TObject); begin ShellExecute(0, pchar(\'open\'),pchar(\'http://forum.gamecheetah.com/showthread.php?t=13465\'), pchar(\'\'),pchar(\'\'), SW_MAXIMIZE ); end; procedure TMainForm.CheetahThread1Click(Sender: TObject); begin ShellExecute(0, pchar(\'open\'),pchar(\'http://forum.gamecheetah.com/showthread.php?t=18120\'), pchar(\'\'),pchar(\'\'), SW_MAXIMIZE ); end; procedure TMainForm.UltimateGMShelp1Click(Sender: TObject); begin ShellExecute(0, pchar(\'open\'),pchar(\'http://forum.gamecheetah.com/showthread.php?t=8561\'), pchar(\'\'),pchar(\'\'), SW_MAXIMIZE ); end; ~Cheat Table~ procedure TMainForm.DevilSin1Click(Sender: TObject); var merge: boolean; in /home/g*******/public_html/forums/includes/ame_bbcode.php on line 177


The Geek 07-02-2007 07:10 AM

@horn - can you check the post and paste its url bbcode?

firefox100 07-02-2007 12:14 PM

Don't work in my forum: Version vBulletin 3.6.6, PHP 4.4.6. No Vbseo.

irishdog 07-02-2007 01:48 PM

Hey i'm trying to make a pattern that will convert a url with 2 dynamic parts such as

http://website.com/content/abcdefg/hijklmno

where abcdefg = the first dynamic part and hijklmno = the second dynamic part

this is what i have tried so far and it failed. Any help on the matter?

PHP Code:

http://[a-z]*?[\.]?website\.[a-z]*?/content/([A-Z0-9._%-]*)[&\w;=\+_-]* 

I know im probably doing something very simple wrong somewhere.

Tungsten 07-02-2007 02:46 PM

Edit... nevermind... I figured it out. :D


Here is an XML import that will add Streetfire videos to AME!


Tungsten 07-02-2007 05:24 PM

Bump... see post #168. I have uploaded an XML import that will add Streetfire videos support to AME.

projectego 07-02-2007 06:06 PM

Working like a charm. Thanks! :D

aeturner89 07-02-2007 09:55 PM

Wow this is so advanced. Great job.

DieselMinded 07-03-2007 03:38 AM

I still had to go in to all posts with a youtube link and hit Edit then save for it to update even tho i ran the fix old posts

DM

DieselMinded 07-03-2007 04:03 AM

Quote:

I did a quick start tutorial on AME regexps here if you want to check it out.
This is linked to your trouble shooting guide not a guide to how to add sites to pharse

Tom1234 07-03-2007 04:35 AM

The installation says "this bit can take a couple minutes" but you are adding a field to the "post" table, so it can take hours to complete this install on a large board.

Tom1234 07-03-2007 01:56 PM

Editing a thread after installing AME causes the first post text to be lost.

Disabled AME and I can edit the thread fine again.

The Geek 07-03-2007 02:06 PM

Tom - can you provide the post text for me? including all tags so I can run some tests?

The Geek 07-03-2007 02:11 PM

Quote:

Originally Posted by irishdog (Post 1281257)
Hey i'm trying to make a pattern that will convert a url with 2 dynamic parts such as

http://website.com/content/abcdefg/hijklmno

where abcdefg = the first dynamic part and hijklmno = the second dynamic part

this is what i have tried so far and it failed. Any help on the matter?

PHP Code:

http://[a-z]*?[\.]?website\.[a-z]*?/content/([A-Z0-9._%-]*)[&\w;=\+_-]* 

I know im probably doing something very simple wrong somewhere.

http://[a-z]*\.?website\.com/content/([a-z]+)/([a-z]+)

Tom1234 07-03-2007 02:35 PM

Quote:

Originally Posted by The Geek (Post 1281961)
Tom - can you provide the post text for me? including all tags so I can run some tests?

Any text without any tags will do. It was reproduced consistently. Just edit a thread title and try to save it and the first post text will be lost.

The Geek 07-03-2007 02:41 PM

As requested... longislandonline.com

aggiefan 07-03-2007 03:17 PM


http://www.metacafe.com/watch/682016...our_earphones/


is there maybe some sort of a limit to how long the url can be? I tried pasting that video into our forum and it only gave it to me as a link vs embedded video player. and our script is working fine because i could play the metacafe video you posted above.

The Geek 07-03-2007 03:21 PM

Quote:

Originally Posted by Tom1234 (Post 1281975)
Any text without any tags will do. It was reproduced consistently. Just edit a thread title and try to save it and the first post text will be lost.

THanks Tom, I have found the problem. Can you please update to 1.1.2 (you only need to update the product, no need to upload the files) and confirm its sorted at your end?

The Geek 07-03-2007 03:24 PM

Quote:

Originally Posted by aggiefan (Post 1282004)
http://www.metacafe.com/watch/682016...our_earphones/


is there maybe some sort of a limit to how long the url can be? I tried pasting that video into our forum and it only gave it to me as a link vs embedded video player. and our script is working fine because i could play the metacafe video you posted above.

Its the / at the end of the URL. If you change the regexp for the item to:

http://[a-z]*?[\.]?metacafe\.com/watch/([0-9]+/[a-z0-9_]*)[&\w;=\+_\-/]*

Then it will work :)

popowich 07-03-2007 03:52 PM

Thank you for sending an e-mail notice for the upgrade. :)

Not everyone does that, and it is very much appreciated!

-Raymond

Ingmar 07-03-2007 03:59 PM

I agreed, thank you and NICE work!

dizzy100 07-03-2007 04:02 PM

Oh i just got to install this on my test forum without the upgrade, guess i'll have to update again now LOL.

BTW the user contributed Yahoo xml doesn't work. It installs fine but displays the same video regardless of what url you put in :) Its to do with the yahoo cache i think

The Geek 07-03-2007 04:07 PM

No problem :) I usually only send updates out if it is an important update or if there is a major feature upgrade :)

The Geek 07-03-2007 04:08 PM

Quote:

Originally Posted by dizzy100 (Post 1282029)
Oh i just got to install this on my test forum without the upgrade, guess i'll have to update again now LOL.

BTW the user contributed Yahoo xml doesn't work. It installs fine but displays the same video regardless of what url you put in :) Its to do with the yahoo cache i think

Thanks, Ill check into it :)

Kanustep 07-03-2007 04:22 PM

Hello Geek,

How the Amazon links shoudl be inserted? In my forum they are posted like urls. I have vBSeo enable and it post a redirect link.

The Geek 07-03-2007 04:25 PM

Not all the amazon URLs will post thorough yet because there are so many freaking formats an amazon URL takes on. If you post the one that isnt working for you (make sure you untick the 'automatically parse links' option) then Ill give it a try for you

s0b 07-03-2007 05:08 PM

1.- This mod support Youtube local?

Brazil (http://www.youtube.com.br)
Britain (http://www.youtube.co.uk)
France (http://www.youtube.fr)
Ireland (http://www.youtube.ie)
Italy (http://it.youtube.com)
Japan (http://www.youtube.jp)
Netherlands (http://www.youtube.nl)
Poland (http://www.youtube.pl)
Spain (http://www.youtube.es)


2.- Can embed video from Stage6?

3.- Cam embed music from GoEar.com?

4.- If you have very much sites to embed, that affect in the load of the web?


Thanks, i will install it this afternoon.

Wayne Luke 07-03-2007 05:51 PM

Quote:

Originally Posted by s0b (Post 1282060)
4.- If you have very much sites to embed, that affect in the load of the web?

Probably less load than having individual BBCodes or addons for each different site.

The Geek 07-03-2007 06:17 PM

I haven't tested all the variations of youtubes (i.e. youtube.pl) however it should work as I wrote it to work with youtube regardless of the extension. Regardless, if it doesn't, this system is designed to allow you to change that. In regard to the other 2 services you mentioned, you can check the second post to see if a user has contributed one. If not, they can easily be added.

And Wayne is spot on - there is much less overhead then having a slather of bbcodes for all the different services out there. That was one of the key driving factors in creating this add on. I wanted less overhead and more flexibility.

HTHs!

koxito 07-03-2007 07:08 PM

Well man, you made a excelent job developing this mod, this is the perfect complement to my web, it was to dificuld for my users to use [youtoube] codes...

so .. INSTALLED ... AND WORKING PERFECT.... i ll be cheking .. for some more XML's for other sites..

see ya! :)

Tom1234 07-03-2007 07:10 PM

Quote:

Originally Posted by The Geek (Post 1282007)
THanks Tom, I have found the problem. Can you please update to 1.1.2 (you only need to update the product, no need to upload the files) and confirm its sorted at your end?

That fixed it. Thanks.

Kanustep 07-03-2007 07:30 PM

Hello Geek,
I want to convert all [media] tags to AME, how I can do this? I enter MEDIA, media, Media, on the field codes, but I get this error:

Code:

You have entered a different amount of codes to conversions. They must match up!

Kanustep 07-03-2007 08:22 PM

A couple of Features that I would like to see in AME:
- Hide to groups (only show a warning to guests to register to view the media).
- Support for other formats, PNG, JPG, GIF, PDF, MOV, AVI, etc.
- Paid version with custom player ;)

DieselMinded 07-03-2007 08:29 PM

To upgrade to the latest version Do i need to reup all the files or just the xml ? Allow Over write ?

Jammydodger 07-03-2007 09:08 PM

Great mod, I cant see how to import the XML files, I have gone to admincp->AME CP but dont see an option where I can import a file?

Am I missing something?

Jammydodger 07-03-2007 09:17 PM

Also I cant figure how to do the coding for new sites, so I would be very grateful if someone could do this 2.

http://www.dailymotion.com/
http://www.gametrailers.com/


Cheers

The Geek 07-03-2007 09:21 PM

Quote:

Originally Posted by Kanustep (Post 1282148)
Hello Geek,
I want to convert all [media] tags to AME, how I can do this? I enter MEDIA, media, Media, on the field codes, but I get this error:

Code:

You have entered a different amount of codes to conversions. They must match up!

in the codes box, enter:

media

in the conversions box enter:

\1

Its not case sensitive.


All times are GMT. The time now is 06:11 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.02671 seconds
  • Memory Usage 1,831KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)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
  • (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