View Full Version : Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs
The Geek
01-19-2009, 10:00 PM
From the makers of the letters O and Yea comes the hottest 'must have mod' of the season: AME 2.5 - The Return of The Hot Mama.
Thanks everyone for making AME 2.5 Mod of the Month :D
AME is the multi award winning modification that smartly scans new and edited posts for URLs from a customisable variety of web sites (i.e. YouTube or Amazon or about 200 others). If it finds a match, AME will 'transform' the URL into inline embedded media without your users ever having to even think about it.
It was important for me to create a system that did not need updating (and subsequent reinstalling) every time one of the sites it supported decided to change the way it displayed its media (which is all the fricken time). Therefore I built a system in which the 'definitions' for each site could be imported, exported, tweaked and shared on a whim. This way, you only have to import the definitions that you want. It also allows the vB community to get creative and share definitions that I wouldn't of thought of!
Which sites are supported?
Included in the default installation is YouTube and Amazon. At time of posting this, I believe that there are over 180 sites supported that have been created by the vBulletin community. These range from sites that stream videos to Amazon referral links to locally hosted music and video files.
Check out the 'add ons' section of this post below to see availible add-ons.
For a total list of features and an FAQ, see click here (https://vborg.vbsupport.ru/showpost.php?p=1719062&postcount=2).
For a post on troubleshooting, click here (https://vborg.vbsupport.ru/showpost.php?p=1719064&postcount=3).
Though not tested on any version of vBulletin lower than 3.7.4, in theory it should work on versions 3.5 and higher (just dont quote this bit!).
Big thanks goes out to all those in the community that have supported this mod. Especially Digital Jedi who gives great support on this mod and has created over 160 definitions for this system alone! :)
Installation/Upgrade
Upload the contents of the forums folder into your forums directory and import the product-ame.xml file into your product manager (if upgrading, choose 'yes' to overwrite previous installation).
After installation, make sure that the system is on (admincp->AME CP->Settings)
Then you may want to try to rebuild old URLs via the tools option.
Change Log
20/1/09 - Uploaded to vb.org
22/1/09 - v. 2.5.2. Adresses a couple minor issues and character sets
23/1/09 - v. 2.5.3 minor update: Fixed ksort error on import and nomedia display (https://vborg.vbsupport.ru/showthread.php?p=1722164#post1722164)
3/2/09 - v. 2.5.4 minor update to address rare bug with some page titles (https://vborg.vbsupport.ru/showthread.php?p=1734026#post1734026)
3/7/09 - v.2.5.5 minor updates to address rare bug editing media with brackets in name (https://vborg.vbsupport.ru/showthread.php?p=1841926#post1841926)
9/12/09 - v.2.5.6 minor updates youtubes validation process, a ccurl bug and rebuild not using the date like a good girl (https://vborg.vbsupport.ru/showthread.php?p=1927733#post1927733)
nJoy
The Geek
01-20-2009, 03:04 PM
I hate long first posts, so I thought I would reserve this one for the Features and FAQ
Features:
Allows user to simply 'paste' in a URL (i.e. a youtube link) without needing to know any special tags. However instead of displaying just the URL, it will show the media embedded within the post
is lightweight as it does all of her chores without the overhead of having 1 bbcode per pattern or trying to parse a post every single time it gets displayed with a bunch of patterns. AME radically reduces overhead and speeds up processing. The only time ame will kick in is after creating a new post or after editing an existing one (or if an ame tag is found)
is extensible. She allows you to add, edit, delete, import and export patterns. That way you can decide which services to support, how they should look and then share them with others! At time of typing this, there are over 150 media sites that have been contributed by vBulletin.org members
can extract the media title (requires your server to allow url wrappers with fetch_contents or ccurl)
can extract embed code from sites whose URLs do not contain sufficient information to embed the video
can rebuild your old posts to convert your 'other' mediaish tags into URL tags.
can rebuild your old posts, blogs, comments, visitor and social group messages to convert URL tags into ame tags where needed
can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
won't uglify your site by having videos appear in quotes, php, code or html blocks (blech!)
can be globally disabled
can be excluded from forums
can exclude usergroups
can be toggled on/off per post, blog, comment, visitor and social group message
would cook dinner for you if she had arms
can wrap the output in a 'container' with original URL
has a super comprehensive admincp help system. Yes, I actually took the bloody time to add all the info you need into vB's admincp help system. If you ask a silly question in this thread that is addressed in the help system, you will be taunted.
is fully phrased
has hooks around integral operations so you can extend it
Supports embedding in vbBlog, Visitor Messages and Social Groups.
Can be disabled in one or more of the following sections: Posts, vbBlog, Visitor Messages and/or Social Groups
Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
Ability to prevent non authorised usergroups from viewing (see Readme file in zip for more info)
Usergroup permissions (edit usergroup to adjust edit/view permissions)
Template driven system
Signatures supported
Different sizes and template configurations for each supported zone (posts, blogs, groups, visitor messages and signatures)
A couple new hooks (Mainly to support a future add on for AME media in profiles)
Notfication system (similar to vB's to check for errors)
Definition keys for easier updating of definitions and to use in templates
File caching system which radically reduces processing
And more that I cant think of off the top of my head!
FAQ's
Can you make me a definition for xyz? Personally, no - I just don't have the time, however there are plenty others that do (Digital Jedi being the grand champion).
Can I use my definitions from a previous version? You should be fine with many of the definitions for AME 2.0 however many of the new features will not work until the definitions have been updated.
The Geek
01-20-2009, 03:05 PM
Troubleshooting
I keep getting 'doubled up' media or the media is all wacked out.
This is usually caused by duplicate definitions. Check you don't have duplicates. Duplicates are bad.
The video embeds fine, but when I click to start it, it says the video isn't available anymore. Yet, when I click the link, it is! What gives!?! Gief video!
This is because the publisher of the video has disallowed off site embedding. AME has a feature to help prevent this (see next point).
Media won't embed, it just gives the link with an icon after it.
This means that the publisher of the video has disallowed the video to be shown off site. Its actually a feature of AME to do that :)
I can't see me AME CP or I keep getting errors similar to:Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in blahblahblah
This means that you have not correctly uploaded some (or ALL) of the files in the upload/forums folder. Simply FTP ALL of the contents of the upload/forums folder into your forum directory (as the per the readme).
Here is the file structure of the package:
+Upload
+ Forums
+ admincp
- automediaembed_admin.php
+ amecache
- index.html
+ clientscript
- ame.js
+ images
+ misc
amazon_icon.gif
film_go.png
+ includes
ame_bbcode.php
+ xml
bitfield_automediaembed.xml
cpnav_automediaembed.xml
hooks_automediaembed.xml
If you have tripple checked that the files are there are you are still getting errors, check that the server has permission to execute the files (they should really have the same owner as your other vB files)
SwollenCranium
01-20-2009, 03:44 PM
When I finished uploading the product and saved, I got some weird "parse error".
The mod works fine. Just a heads up to you.
I am unable to find anything wrong with my forums.
EDIT: Here is the error;
http://swollencranium.com/forums/picture.php?albumid=85&pictureid=999
xili4n
01-20-2009, 03:55 PM
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/radiosww/public_html/forum/vb/admincp/plugin.php(1995) : eval()'d code on line 8
Adding index to post table. Please standy by.... this bit can take a few...
Adding index to Blog and Social Groups (if needed). This could take a sec... hang on!
Adding index to Visitor Messages (if needed). This could take a sec... hang on!
redraider
01-20-2009, 03:57 PM
I get the exact same error as above :
Importing Product, Please Wait...
[:]
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/scorech/public_html/gmat/ad_console/plugin.php(1995) : eval()'d code on line 8
Adding index to post table. Please standy by.... this bit can take a few...
Adding index to Blog and Social Groups (if needed). This could take a sec... hang on!
Adding index to Visitor Messages (if needed). This could take a sec... hang on!
The Geek
01-20-2009, 03:58 PM
Thanks guys... just fixed it. It was a bug with the check to make sure files were uploaded first. It wont have affected your installs, but it also wont happen again.
Also, thanks to the lame-o who rated it 1 star. Can only assume its some disgruntled 'other media hack' coder who couldn't pull something as snazzy as this off ;)
The Notorious
01-20-2009, 04:02 PM
Very nice, will install right after 3.8.
Redzzand
01-20-2009, 04:03 PM
thanks for this!!! 5 stars...
edit: I cant get the product to import... get this error
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.
I have ensured that latest files are uploaded. help!
tei727
01-20-2009, 04:03 PM
WHen I convert codes i get:
You don't have permission to access /forum/admincp/automediaembed_admin.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
SemperFideles
01-20-2009, 04:03 PM
I had 2.5RC1 already installed and successfully working. I uploaded the contents of the forum folder to my directory (did this twice) but when I try to install the product I receive this error:
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.j
boandmichele
01-20-2009, 04:05 PM
im going to wait until people stop reporting install problems before i install, since i just upgraded to 3.8.0
but i gave it 5 starts to offset the 1 star person :p
tei727
01-20-2009, 04:07 PM
im going to wait until people stop reporting install problems before i install, since i just upgraded to 3.8.0
but i gave it 5 starts to offset the 1 star person :pas did i!
gator777
01-20-2009, 04:09 PM
It says I am missing some files, but I know for a fact I uploaded all the files. Any suggestions?
The Geek
01-20-2009, 04:09 PM
WHen I convert codes i get:
You don't have permission to access /forum/admincp/automediaembed_admin.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Check the permissions of the files you just uploaded. Soesnt sound like your sever has permissions to execute them
The Geek
01-20-2009, 04:11 PM
Sounds like there is an issue with the 'file checker'. I should have anticipated this :(
Basically, the #1 issue with previous versions was people actually not uploading the files (if you can believe that) so I made a tiny bit of code that would check to make sure the files had been uploaded first. Ill go tweak that code and update it. Give me a few :D
sdebank
01-20-2009, 04:12 PM
Getting the missing files error too.
Emunator
01-20-2009, 04:14 PM
I had 2.5RC1 already installed and successfully working. I uploaded the contents of the forum folder to my directory (did this twice) but when I try to install the product I receive this error:
Same problem here.
smirkley
01-20-2009, 04:14 PM
Thanks for the upgrade to 3.8
Always a great mod, love it!
I am hoping that this may help my previously reported issue with the ame cp links faulting out.
But first, I went to install, and I get this error...
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.
I am using a just downloaded copy of ame 2.5, and the files included were uploaded to my server and overwritten, but something seems to be missing.
Thanks again.
edit - I sure must type slow lol, everyone above beat me to it.
Emunator
01-20-2009, 04:14 PM
Sounds like there is an issue with the 'file checker'. I should have anticipated this :(
Basically, the #1 issue with previous versions was people actually not uploading the files (if you can believe that) so I made a tiny bit of code that would check to make sure the files had been uploaded first. Ill go tweak that code and update it. Give me a few :D
Thanks, really like this product.
tei727
01-20-2009, 04:15 PM
Check the permissions of the files you just uploaded. Soesnt sound like your sever has permissions to execute them
i'm pretty sure i did everything correctly. i'll wait and see what everyone else gets.
:)
MarkJW
01-20-2009, 04:17 PM
Marked as installed, marked the old 2.5RC1 thread as uninstalled, waiting on these leetle bugs to get fixed before I actually install, lol.
Thanks in advance. ;)
Mihalis
01-20-2009, 04:22 PM
I had 2.5RC1 already installed and successfully working. I uploaded the contents of the forum folder to my directory (did this twice) but when I try to install the product I receive this error:
Same here! Whats the problem?
phreebsd
01-20-2009, 04:28 PM
waiting on fix. currently in mixed state of uploaded new files but have not imported product xml due to the "missing files.. make sure you upload them all" error
jack the lad
01-20-2009, 04:32 PM
I cannot figure out where the "amecache-Index" folder/file goes, is it in the forum root directory?
I also get the file missing message, but I put that down to me ballsing up the upgrade :o
Nice mod though. Cheers.
tei727
01-20-2009, 04:33 PM
I cannot figure out where the "amecache-Index" folder/file goes, is it in the forum root directory?
I also get the file missing message, but I put that down to me ballsing up the upgrade :o
Nice mod though. Cheers.i think that is correct...
Pure Dope
01-20-2009, 04:33 PM
Importing Product, Please Wait...
[:]
vBulletin Message
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.
WreckRman2
01-20-2009, 04:40 PM
I uploaded the files and tried to upload the xml. This is an upgrade from previous. I got the following error:
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.
I did upload the files correctly. Just FYI.
-------------
I wiped out the check for the files in the xml and it installed ok.
redlabour
01-20-2009, 04:40 PM
Ill go tweak that code and update it. Give me a few :D
We can wait. ;)
jack the lad
01-20-2009, 04:41 PM
i think that is correct...
Do you know if I need the folder or just the Index file?
Thanks.
Idawg
01-20-2009, 04:41 PM
Same here
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.
Sounds like you need to take out the file checker.. I mean if people cant read the README and get all kinds of errors, not your problem LOL
The Geek
01-20-2009, 04:47 PM
hehe, I removed the file checker :)
Download 2.5.1, upload all the files and reimport the product xml.
Sorry about the hassle, was trying to prevent plethora of silly troubleshooting posts and instead got 3 pages of troubleshooting posts about my solution!
Karma rocks!
Idawg
01-20-2009, 04:48 PM
hahahahaha. thanks.. I have ALWAYS liked your products and quick fixes like impress us :D
The Geek
01-20-2009, 04:49 PM
I cannot figure out where the "amecache-Index" folder/file goes, is it in the forum root directory?
I also get the file missing message, but I put that down to me ballsing up the upgrade :o
Nice mod though. Cheers.
Upload all the files in the forums folder into the folder on your server where vB is. the amecache folder (and the index file inside it) will go into your vB root directory (just like all the other files and folders).
HTHs!
smirkley
01-20-2009, 04:58 PM
Hey Geek,....
THANK YOU !!
(and the 251 installer works great, and I see the blog, social group issue I reported earlier is now in proper operation. thanks for a great product)
Mihalis
01-20-2009, 05:02 PM
Thanx for the fix mate!
jack the lad
01-20-2009, 05:02 PM
Cheers mate all working fine and dandy now. Many thanks :D
redlabour
01-20-2009, 05:10 PM
Bug in 2.5.1:
s. Screenshot - Videos posted double with broken Titles between them
txbritt
01-20-2009, 05:16 PM
worked perfectly for me thanks for the upgrade :D
The Geek
01-20-2009, 05:16 PM
Do you have multiple versions of the same definition installed? If not, can you get me a link?
tei727
01-20-2009, 05:23 PM
my problem is fixed.. :)
redlabour
01-20-2009, 05:24 PM
Do you have multiple versions of the same definition installed? If not,
Yes - it added You Tube and Amazon again. Thanks for the Hint. ;)
Digital Jedi
01-20-2009, 05:44 PM
Thanks guys... just fixed it. It was a bug with the check to make sure files were uploaded first. It wont have affected your installs, but it also wont happen again.
Also, thanks to the lame-o who rated it 1 star. Can only assume its some disgruntled 'other media hack' coder who couldn't pull something as snazzy as this off ;)
Or someone who reads left to right just assumed that five stars would be to the right and not the left and clicked one star while realizing it at the last minute he/she clicked the wrong star...
What, I didn't say it was ME. I'm just sayin'.
I cannot figure out where the "amecache-Index" folder/file goes, is it in the forum root directory?
I also get the file missing message, but I put that down to me ballsing up the upgrade :o
Nice mod though. Cheers.
You don't upload your files one at a time, you upload them all at once. That's why their already sorted where they're supposed to go.
Andyrew
01-20-2009, 05:50 PM
Rebuild feature under tools wont complete on my forum it just does about four pages then stops.
Digital Jedi
01-20-2009, 05:58 PM
Hey, Geek, rather then bug ya in PM... Just upgraded and I'm still having trouble with the $url and $title parsing. They're still just being stripped out, along with $ameinfo[title] and $ameinfo[url].
Hornstar
01-20-2009, 06:11 PM
Great :) thanks heaps for the update, your the best ^^
The Geek
01-20-2009, 06:13 PM
Rebuild feature under tools wont complete on my forum it just does about four pages then stops.
Is it always in the same spot? What if you change the number of results per page?
Hey, Geek, rather then bug ya in PM... Just upgraded and I'm still having trouble with the $url and $title parsing. They're still just being stripped out, along with $ameinfo[title] and $ameinfo[url].
Hmm... the variables are being used fine here... can you give me an export of a definition that you feel isn't working as intended? (just one please!)
boandmichele
01-20-2009, 06:25 PM
oh i forgot to ask, why is this new version being listed as unsupported?
its always been well supported in the past, or so i thought. especially if you are counting DJ lol
Digital Jedi
01-20-2009, 06:32 PM
oh i forgot to ask, why is this new version being listed as unsupported?
its always been well supported in the past, or so i thought. especially if you are counting DJ lolHeh, I DON'T count. :D
They've always been marked as unsupported, since updates can be done on the fly by the community. I just hang around and create the illusion it is. Kind of like the illusion I create to make it sound like I know what I'm talking about.
Hmm... the variables are being used fine here... can you give me an export of a definition that you feel isn't working as intended? (just one please!)
Heh, sure. Here's one where you won't have to go anywhere to grab URLs. I made this one to auto format internal link from your forum. This one does Forums and Category links (NOTE: does not do the ones with "daysprune" in the URL). It's supposed to grab the URL and title of the page.
Andyrew
01-20-2009, 07:38 PM
Is it always in the same spot? What if you change the number of results per page?
Changed the results per page to 50 and it worked like a charm. :):up:
may you post changes list from 2.0.2?
Keesa
01-20-2009, 09:28 PM
Okay, I gotta give this more love. I LOVE that it does not quote the videos, but only a link. Because we get crazy people who quote 99 times.
I worship this.
The Geek
01-20-2009, 09:38 PM
Heh, sure. Here's one where you won't have to go anywhere to grab URLs. I made this one to auto format internal link from your forum. This one does Forums and Category links (NOTE: does not do the ones with "daysprune" in the URL). It's supposed to grab the URL and title of the page.
Thanks DJ. Found the problem and have sorted it for next release. Its pretty minor so I'll hold off to see if there is anything else that needs to get fixed before I do another release. As a side note, make sure all $url and $title variables in your definitions are $ameinfo[url] and $ameinfo[title] respectively. $url will no longer put the url in and $title may or may not produce the title you are after :)
Thanks again!
The Geek
01-20-2009, 09:41 PM
Okay, I gotta give this more love. I LOVE that it does not quote the videos, but only a link. Because we get crazy people who quote 99 times.
I worship this.
lmao, thanks :) I found it annoying too, hence the reason it doesnt do it :)
may you post changes list from 2.0.2?
They are in the first post of the thread, but here are the specific changes from 2x to 2.5:
Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
Ability to prevent non authorised usergroups from viewing (see Readme file in zip for more info)
Usergroup permissions (edit usergroup to adjust edit/view permissions)
Template driven system
Signatures supported
Different sizes and template configurations for each supported zone (posts, blogs, groups, visitor messages and signatures)
A couple new hooks (Mainly to support a future add on for AME media in profiles)
Notfication system (similar to vB's to check for errors)
Definition keys for easier updating of definitions and to use in templates
File caching system which radically reduces processing
And more that I cant think of off the top of my head!
Nadeemjp
01-20-2009, 10:24 PM
good job the Geek:) i am so glad you could upgrade it :)
although my previous versions are working with 3.8, yet to be on the safe side i would install this one tonight:)
thanx again
jack the lad
01-20-2009, 11:03 PM
Maybe the wrong place for this :o
..... but with some of the the YouTube HD videos being in a wide screen format is there a way of accommodating this feature?
Cheers
nMIK-3
01-20-2009, 11:48 PM
Videos are not displayed in vbAdvanced webpages.
All I get is the title like the picture displays.
pimpfelix
01-21-2009, 02:01 AM
its not embedding.. its just showing a link
Digital Jedi
01-21-2009, 03:54 AM
Maybe the wrong place for this :o
..... but with some of the the YouTube HD videos being in a wide screen format is there a way of accommodating this feature?
Cheers
The videos still get show in widescreen format. But if you can change the Replacement HTML if you want a larger video monitor.
Videos are not displayed in vbAdvanced webpages.
All I get is the title like the picture displays.
Is this the same site as the one in your profile? Because the videos at that site are showing on the vBa pages.
its not embedding.. its just showing a link
Show us a link to the video that's not embedding. Also, double check your settings.
Great mod, working fine.
Thanks a lot
Keesa
01-21-2009, 04:25 AM
Just FYi, getting this error when importing individual XML files for imeem, etc.,
I get this error when importing a new definition?
Warning: ksort() expects parameter 1 to be array, null given in [path]/admincp/automediaembed_admin.php on line 2515
But if I click the "import" button, it seems to work just fine.
buileminh
01-21-2009, 06:40 AM
I prefer a mod that create a BB code like this:
Video ID
sensimilla
01-21-2009, 06:44 AM
imeem does not work for me.. it just a link in my post, any ideas ?
Yellow Slider
01-21-2009, 07:45 AM
after reinstalling it, the footer disappeared (nothing seems to help)
do you use any special PHP functions with this Modification that I need to apply in my server?
I've installed version 2.5.1 and in the Installed Products section the AME version is 2.5.0, what should I do?
p.s - The modification works, but I can't get my footer back.
talkncaasports
01-21-2009, 09:14 AM
imeem does not work for me.. it just a link in my post, any ideas ?
Works for me. But my list of definitions that doesn't is ever growing. I will be creating a list so maybe DJ could help me out maybe. For example, ESPN does not work for me.
sensimilla
01-21-2009, 09:16 AM
after upgrade youtube gets parsed twice with an error...
The Geek
01-21-2009, 09:36 AM
Sens: You have 2 youtube definitions.
The Geek
01-21-2009, 09:37 AM
Works for me. But my list of definitions that doesn't is ever growing. I will be creating a list so maybe DJ could help me out maybe. For example, ESPN does not work for me.
Keep in mind, many media sites change their formats frequently. Also, many definitions will need updating for this version.
The Geek
01-21-2009, 09:39 AM
after reinstalling it, the footer disappeared (nothing seems to help)
do you use any special PHP functions with this Modification that I need to apply in my server?
I've installed version 2.5.1 and in the Installed Products section the AME version is 2.5.0, what should I do?
p.s - The modification works, but I can't get my footer back.
What footer? Your page footer? I couldnt imagine this mod affecting the vB footer?
You don't need special functions for this to work. If your site runs vB, this will be fine :)
If you installed 2.5.1, it will be fine. Looks like I just didn't update the internal version number (will do for next update)
The Geek
01-21-2009, 09:41 AM
imeem does not work for me.. it just a link in my post, any ideas ?
It is most likely that the definition needs updating (imeem isnt a default definition)
The Geek
01-21-2009, 09:43 AM
I prefer a mod that create a BB code like this:
Video ID
Super and informative. FWIW I like a system where I don't have to type BBcodes in. No more than other users like to wrap URLs in tags. Copy + Paste FTW. Not to mention bbcode tags like the above are VERY inefficient if you have multiple providers.
Anyhoo, thanks for sharing :)
The Geek
01-21-2009, 09:44 AM
Just FYi, getting this error when importing individual XML files for imeem, etc.,
I get this error when importing a new definition?
Warning: ksort() expects parameter 1 to be array, null given in [path]/admincp/automediaembed_admin.php on line 2515
But if I click the "import" button, it seems to work just fine.
Thanks, Ill check it out :)
Del_Boy
01-21-2009, 09:50 AM
Hi there,
I am trying to install this for the first time but when i try to import the "Djs Master XML (Delta)" it says invaild file specified.
What am i doing wrong?
Do i have the correct file or have i missed a step?
The Geek
01-21-2009, 10:00 AM
Hi there,
I am trying to install this for the first time but when i try to import the "Djs Master XML (Delta)" it says invaild file specified.
What am i doing wrong?
Do i have the correct file or have i missed a step?
Hi. First off, make sure you click install on this mod please :)
Second, Make sure you are importing the definitions using AME's import system (not vBulletin's product importer)
Otherwise, you need to ask in the thread you downloaded the definition from.
HTHs!
entertain
01-21-2009, 11:09 AM
Marked as installed and nominated for motm :)
----------------------------------------------------------------
Signs in the title will still not be shown exactly.
sensimilla
01-21-2009, 11:42 AM
Sens: You have 2 youtube definitions.
It is most likely that the definition needs updating (imeem isnt a default definition)
Thanks alot for your time and reply The Geek, I will use the opportunity to say I just love your comments in the installation process!
Take care,
Yellow Slider
01-21-2009, 11:44 AM
What footer? Your page footer? I couldnt imagine this mod affecting the vB footer?
You don't need special functions for this to work. If your site runs vB, this will be fine :)
If you installed 2.5.1, it will be fine. Looks like I just didn't update the internal version number (will do for next update)
when I'm installing it all of the board footer disappear, there are some problems with the member.php page too and with the PM (You have 2 unread messages) I can't press on that part.
when I'm uninstalling it, everything is back to normal.
what can it be?
The Geek
01-21-2009, 11:48 AM
when I'm installing it all of the board footer disappear, there are some problems with the member.php page too and with the PM (You have 2 unread messages) I can't press on that part.
when I'm uninstalling it, everything is back to normal.
what can it be?
Only thing I can think of is some sort of mod conflict. This system isnt even invoked on member.php
The Geek
01-21-2009, 11:49 AM
Thanks alot for your time and reply The Geek, I will use the opportunity to say I just love your comments in the installation process!
Take care,
Thanks :)
The Geek
01-21-2009, 11:50 AM
Marked as installed and nominated for motm :)
----------------------------------------------------------------
Signs in the title will still not be shown exactly.
Get me the URL of the video and Ill look into it
Yellow Slider
01-21-2009, 12:21 PM
Only thing I can think of is some sort of mod conflict. This system isnt even invoked on member.php
after reinstalling 2.0.2 version, all of my url are messed up, I've upgraded again to 2.5.1 and converted the posts but now all of the urls have "?????" as anchor text, what can I do to solve it?
I think that this
https://vborg.vbsupport.ru/showthread.php?t=195884
is the reason for all of the "?????" my board is in Hebrew, maybe the modification doesn't work good with Hebrew.
entertain
01-21-2009, 12:23 PM
Get me the URL of the video and Ill look into it
http://www.youtube.com/watch?v=51V1VMkuyx0
<a href="http://root.co.il/forums/showthread.php?p=336738" target="_blank">http://root.co.il/forums/showthread.php?p=336738</a>
something wrong here..
i updated from 2.0.2 to 2.5.1 and now it's duplicate my videos
Check your definitions if you didn't clear them out before upgrading there are probably some duplicates.
Del_Boy
01-21-2009, 01:19 PM
Hi. First off, make sure you click install on this mod please :)
Second, Make sure you are importing the definitions using AME's import system (not vBulletin's product importer)
Otherwise, you need to ask in the thread you downloaded the definition from.
HTHs!
Done!
DO i not need to install the actual product on the forums first before i add the definitions?
Sorry if im being a noob here but i am one :P
The Geek
01-21-2009, 01:40 PM
after reinstalling 2.0.2 version, all of my url are messed up, I've upgraded again to 2.5.1 and converted the posts but now all of the urls have "?????" as anchor text, what can I do to solve it?
I think that this
https://vborg.vbsupport.ru/showthread.php?t=195884
is the reason for all of the "?????" my board is in Hebrew, maybe the modification doesn't work good with Hebrew.
Not sure why you would go from 2.5.1 to 2.0.2 back to 2.0.1. Ive seen the system work fine with arabic, so I can only assume it works with other language sets. Again, I suggest that if you are having problems with a definition, that you post in the definitions thread so they can look into it.
The Geek
01-21-2009, 01:41 PM
Done!
DO i not need to install the actual product on the forums first before i add the definitions?
Sorry if im being a noob here but i am one :P
Yes, if you do not install the product, there will be no ame adnimcp to import the definitions into. :)
Del_Boy
01-21-2009, 02:02 PM
Yes, if you do not install the product, there will be no ame adnimcp to import the definitions into. :)
Hi there,
Thanks for getting back to me so soon its greatly appreciated!
What is the name of the product file i need to import...is it not this one "Djs Master XML (Delta)"?
I tried to import that one but i think that is the wrong file...
Thanks
The Geek
01-21-2009, 02:23 PM
You need to install this product before you try to import AME definitions into the AME Import system.
Del_Boy
01-21-2009, 02:52 PM
Where can i get the product file from?
Del_Boy
01-21-2009, 02:53 PM
OMG sorry for being such a noob!
Ive found it now!
:o
Del_Boy
01-21-2009, 03:11 PM
Got it working and i have tested it out...i love it!
Thanks very much for being so patient and helping me out!
BlackJacket
01-21-2009, 04:23 PM
Great mod. Thanks!
*Install's and does the train Solo...*
Check your definitions if you didn't clear them out before upgrading there are probably some duplicates.
Thank you!
it works great now!
GlamRockTalk
01-21-2009, 06:29 PM
* tagged *
I have to read through to make sure what I should do to upgrade to the "official" AME 2.5 :D
I'll hopefully do that this evening. Thanks for the release! :up:
Fabikus
01-21-2009, 09:23 PM
Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
How can i use that for YouTube? I imported DJ's AME definitions but i can't see a link for theese videos but normal embed!
Manic Mechanic
01-21-2009, 09:43 PM
How do I enlarge the videos in the posts? I tried changing the default settings and that did nothing. Since I installed this update all videos are showing up too small.
talkncaasports
01-21-2009, 11:12 PM
Keep in mind, many media sites change their formats frequently. Also, many definitions will need updating for this version.
I will look into the changes when I get home from work. Forgot all about that. Thanks.
If it does work, I'll let ya now. If not, I will let ya now. :D
Great job on this btw. I grew tired of making custom BB Codes for every freaking piece of media out there. :up:
KURTZ
01-22-2009, 06:46 AM
hi Greek, i've just upgraded your superb hack, but i saw in the ACP that is still 2.5.0 and not 2.5.1 ...
The Geek
01-22-2009, 08:28 AM
How can i use that for YouTube? I imported DJ's AME definitions but i can't see a link for theese videos but normal embed!
Hmm... Im not sure about DJ's definitions but the default youtube does have this... or... rather did. I just looked to let you know hoe to tell and noticed some dweeby gremlin stole the validation code from the latest version. Ill release an update that will fix that (and a couple other minor issues) later today.
The Geek
01-22-2009, 08:30 AM
How do I enlarge the videos in the posts? I tried changing the default settings and that did nothing. Since I installed this update all videos are showing up too small.
Check your AME AdminCP settings. That is where all of the sizes are set. However note that is a new feature in 2.5 and older definitions may not support it yet.
hi Greek, i've just upgraded your superb hack, but i saw in the ACP that is still 2.5.0 and not 2.5.1 ...
Thanks. That will be fixed for next release.
The Geek
01-22-2009, 11:02 AM
Updated package to address:
Version number :)
$ameinfo[title] was showing wrong title (was showing definition title instead of page title)
The default amazon link was updated to use $ameinfo variables.
Fixes for additional character sets
Follow standard upgrade instructions found in first post.
nJoy
Digital Jedi
01-22-2009, 11:27 AM
Thanks Geek! Will test it out right now and start working on the next set of defs if all is well. :up:
I prefer a mod that create a BB code like this:
Video ID
You like having to give your users special instructions on how to use BBCode and then make them extract a set of numbers from the URL everytime, rather then just have them post the URL to the video and not even have to let them think about it? Okay. Just keep in mind, there's more then 20 to 30 sites that BBCode wouldn't even work with, because their videos have no video ID and AME converts them without having to even tell your users that it's going to embed.
imeem does not work for me.. it just a link in my post, any ideas ?
Post the link to the Imeem URL that's not converting, but post it in the thread you downloaded my definitions from if you haven't already. I haven't checked those threads as of this post.
How can i use that for YouTube? I imported DJ's AME definitions but i can't see a link for theese videos but normal embed!
If you're using mine, then I haven't implemented that yet. Mainly because I didn't know how to use it. Now that I see the The Geek has one in his default install, I can reverse engineer what he did and I'll have it ready for the next 2.5 Defs update.
How do I enlarge the videos in the posts? I tried changing the default settings and that did nothing. Since I installed this update all videos are showing up too small.
Make sure your using my set of definitions for 2.5 (Delta) and not the set for 2.0 (Third Time's the Charm).
Hi! Could you explain more about users permissions? There is 2 groups of permissions and if I understand second (can view) but first one harder :)
What is non specific zones?
Digital Jedi
01-22-2009, 02:35 PM
Hi! Could you explain more about users permissions? There is 2 groups of permissions and if I understand second (can view) but first one harder :)
What is non specific zones?
The first is creation permissions: Who's allowed to have their posted media convert and who's allowed to edit it.
The second is viewing permission: Who's allowed to see the embedded media.
I believe Non-Specific is the same as Default Zone Settings under Settings. Areas that are not specifically posts, visitor messages, signatures, vBlog or social groups.
The Geek
01-22-2009, 02:40 PM
DJ's right, the default Zone (or non specified zone) is for additional mods that hook into AME's system. For instance, I had a prototype add on for creating user profile blocks using AME. Just don't know where the hell I put it :D That system uses AMEs hooks to embed media in users profiles.
Digital Jedi
01-22-2009, 02:47 PM
DJ's right, the default Zone (or non specified zone) is for additional mods that hook into AME's system. For instance, I had a prototype add on for creating user profile blocks using AME. Just don't know where the hell I put it :D That system uses AMEs hooks to embed media in users profiles.
You do realize that people will go bananas once you release the profile add-on, right? :D
Maybe you can teach me how that works so I can try an avatar version I've been thinking on. [whistles innocently]
The Geek
01-22-2009, 03:29 PM
hehe, like I said, I don't even know where the hell it is anymore :)
The basic gist is: Create a custom field and when it is saved or edited, use hooks to call the relevant ame functions (i.e. prep_text to 'ameify' it). Putting the results into profle blocks was pretty straight forward stuff.
lowlight
01-22-2009, 03:42 PM
It freezes for me when I try to import the xml.
It just says
"Adding index to post table. Please standy by.... this bit can take a few..."
And then does nothing
lowlight
01-22-2009, 04:05 PM
Uh oh, my db server just crashed. I hope the tables are OK
lowlight
01-22-2009, 04:12 PM
Shit.
Database error in vBulletin 3.8.0:
Invalid SQL:
SELECT post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
WHERE thread.threadid IN (0,561526,561494,561489,561003,561397,559250,51516 9,561119,561538,561570,561304,561585,561569,561537 ,558188,558844,454901,252422,561428,561353,561307, 404513,561440,561346,560992,561305,540074,561373,5 60259,561361,561272,520470,544968,560070,559741,56 0750,560187,560238,561162,559411,342583,490038)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Can't open file: 'post.MYI' (errno: 144)
Error Number : 1016
Referrer :
MySQL Version : 4.1.20
lowlight
01-22-2009, 04:15 PM
I ran a database table repair from the VB admin, it seems to be working now.
Anyway to check to make sure?
tintructo
01-22-2009, 05:26 PM
@lowlight
if you can actually browse your topics, the repair worked fine. your table got messed up before.
@The Geek
any news on the ksort problem with the XML with all the sites ? :)
lowlight
01-22-2009, 05:31 PM
The table is totally messed up. Trying to repair it now with myisamchk
lowlight
01-22-2009, 05:55 PM
Wow, many tables are messed up. Our database is huge, this is going to take hours.
What does the plugin attempt to do when you install it? Whatever it was, it was pretty serious.
thunderclap82
01-22-2009, 08:15 PM
Out of curiosity, what is the legality of embedding video clips from sites such as Hulu or The WB (CW?)?
Digital Jedi
01-22-2009, 08:24 PM
Well, I can't speak to the CW, but if there was a legal problem with embedding videos from Hulu, then I doubt they'd put that Embed link beside every video that takes you to a block that says Copy this code to your website or blog which then gives you explicit directions on how to adjust the start and end time to your liking. :)
thunderclap82
01-22-2009, 08:28 PM
Well, I can't speak to the CW, but if there was a legal problem with embedding videos from Hulu, then I doubt they'd put that Embed link beside every video that takes you to a block that says Copy this code to your website or blog which then gives you explicit directions on how to adjust the start and end time to your liking. :)
Ah. I hadn't looked that closely at Hulu yet. :)
One other question: how does one create definition for a site you'd like to embed videos from?
hi Geek! Great to see you back (y)
Thanks for this fantastic mod. How's gars and gal going currently?
Digital Jedi
01-22-2009, 08:39 PM
Ah. I hadn't looked that closely at Hulu yet. :)
One other question: how does one create definition for a site you'd like to embed videos from?
You can find out here: https://vborg.vbsupport.ru/showpost.php?p=1662805&postcount=5
The Geek
01-22-2009, 09:27 PM
any news on the ksort problem with the XML with all the sites ? :)
Haven't been able to duplicate. It shouldn't prevent imports though.
Wow, many tables are messed up. Our database is huge, this is going to take hours.
What does the plugin attempt to do when you install it? Whatever it was, it was pretty serious.
AME adds a flag field to the posts, blog and groups tables. This allows people to disable embedding as well as to greatly speed up processing. If your posts table is massive, it will take a while to do, but it isn't an abnormal practise. Sounds like your tables may have already been in a state, especially if you have to repair additional tables. Its a good idea to backup your db before installing a mod that makes changes to the DB structure. Hope your repair goes smoothly :)
Thanks for this fantastic mod. How's gars and gal going currently?
Thanks :) Gars and GAL (and other thevbgeek.com scripts) are owned and supported by another author now (a very fine one might I add). I only upgraded this because it needed to be and it was a quick job :)
HTHs!
tintructo
01-22-2009, 09:31 PM
the code in automediaembed_admin.php in line 2515 is :
ksort($arr['items']);
BUT, it should be
ksort($arr['item']);
the ksort not functioning makes the display of the sites unordered. with this fix it should work fine =)
cheers
The Geek
01-22-2009, 09:36 PM
Thanks for that. Ill update for next release :)
Manic Mechanic
01-23-2009, 01:17 AM
Thanks Geek! Will test it out right now and start working on the next set of defs if all is well. :up:
You like having to give your users special instructions on how to use BBCode and then make them extract a set of numbers from the URL everytime, rather then just have them post the URL to the video and not even have to let them think about it? Okay. Just keep in mind, there's more then 20 to 30 sites that BBCode wouldn't even work with, because their videos have no video ID and AME converts them without having to even tell your users that it's going to embed.
Post the link to the Imeem URL that's not converting, but post it in the thread you downloaded my definitions from if you haven't already. I haven't checked those threads as of this post.
If you're using mine, then I haven't implemented that yet. Mainly because I didn't know how to use it. Now that I see the The Geek has one in his default install, I can reverse engineer what he did and I'll have it ready for the next 2.5 Defs update.
Make sure your using my set of definitions for 2.5 (Delta) and not the set for 2.0 (Third Time's the Charm).
Thank you I was still using 2.0 definitions.
tintructo
01-23-2009, 02:54 AM
Thanks for that. Ill update for next release :)
i just found out the ksort isn't working, because it can't re-order with values that actually are arrays..
you should use usort and make the custom comparing function to check the titles so it's ordered by name :)
Digital Jedi
01-23-2009, 07:31 AM
i just found out the ksort isn't working, because it can't re-order with values that actually are arrays..
you should use usort and make the custom comparing function to check the titles so it's ordered by name :)
Are you saying that definitions aren't sorting by name for you? Because I've never had an problems as long as they were all set to the same number. Or are you refering to the sort order inside the XML file?
Digital Jedi
01-23-2009, 09:28 AM
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?
Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more.
The Geek
01-23-2009, 10:46 AM
Updated package to 2.5.3
This is a minor update which solves the ksort error some have reported while importing and a bug where non validated media wasnt showing the link.
Upgrade as normal :)
The Geek
01-23-2009, 10:57 AM
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?
Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more.
The validation works like this:
If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not.
For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed:
value="http://www\.youtube\.com/v/([\w\-]*)?&
There was a bug prior to 2.5.3 that prevented the title appearing in a non validated result (just the icon showed).
HTHs :)
Digital Jedi
01-23-2009, 11:50 AM
The validation works like this:
If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not.
For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed:
value="http://www\.youtube\.com/v/([\w\-]*)?&
There was a bug prior to 2.5.3 that prevented the title appearing in a non validated result (just the icon showed).
HTHs :)
Ah, I see. My logic was completely inverted. I'll see if I can update my other YouTube defs after breakfast.
Digital Jedi
01-23-2009, 12:38 PM
Okay, the first major thing I'm running into is, the non-embeddable videos are indeed converting to links, but the link doesn't go a valid URL. It seems to be using the title instead of the URL.
Example
URL: http://www.youtube.com/watch?v=XZcG0NBMcDA&feature=related
Converts: https://vborg.vbsupport.ru/ YouTube - Boyz II Men - End Of The Road (http://www.cogonline.net/forums/YouTube%20-%20Boyz%20II%20Men%20-%20End%20Of%20The%20Road)
URL: http://www.youtube.com/watch?v=jsd0pKGr2Os
Converts: https://vborg.vbsupport.ru/ YouTube - The Jets - The Same Love (http://www.cogonline.net/forums/YouTube%20-%20The%20Jets%20-%20The%20Same%20Love)
Also, the source code in the default YouTube definition is no longer used by YouTube, so not all videos will load in that case.
The Geek
01-23-2009, 01:03 PM
Hmmm. I made a couple tweaks to includes/ame_bbcode.php and repackaged. Replace that file and all should be tickity boo
Digital Jedi
01-23-2009, 01:10 PM
That did the trick. Want to take odds on which thread will get the most people asking why the video didn't convert and is showing a little icon? :D
I do have one question, real quick. How does the validation tool know to look in the Embed Code box for a pattern? I'm curious how this will work for a site that keeps the embed code stored differently, or that put their embed code inside the flash player.
The Geek
01-23-2009, 01:21 PM
All it is doing is looking for a match to that pattern in the destinations source code. I suppose if the embed code is being shown in a flash player, you would still be able to view it from the page source as a parameter for the object (unless of course the flash player is fetching it at run time). In that case, I don't really have a suggestion :D
I am running vBulletin version 3.6.8. I have not been able to get the embedded youtube to work in either version AME 2.0.2 or 2.5.3.
With AME 2.0.2 - it will display the normal youtube controls and video image, but when I click the play button it blanks out the image except for circle in the middle screen which just spins forever. So I decided to upgrade to 2.5.3, and now when I post a youtube link in a message I do not see anything, not even the the link.
I have tried it with the extraction turned on and off.
I am sure it isnÂ’t the video because I got it to play using BB code.
I do get other video file types to work using AME such as wmv.
I just don't know what to test anymore and was hoping for some suggestions.
I would go back to 2.0.2 if that would be easier to resolve.
The Geek
01-24-2009, 09:10 AM
Still sounds to me like an outdated version of Flash. Drop a couple URLs of ones you are having problems with.
Remember that if the embed code is there.... AME has done its job. Everything else is down to connections, etc...
On an aside... have you tried posting the embed code from one of the problematic you tube pages into a post (you'll need to be able to post in HTML)?
Try this:
1- Temporarily give yourself ability to post HTML
2- Make a thread with the link to a problematic youtube page and save it (let ame do its thang). Refresh that page, then view the page source.
3- disable ame
4- reply to the post above by pasting in the embed html from the problematic youtube page. Refresh and view source.
Both sources for the youtube should be damn near identical and should perform the same.
RedDevil
01-24-2009, 02:35 PM
Going to upgrade to new version very nice add on this.
I have one question, I run a radio channel via a shoutcast server, streamed mp3, is it possible to have a definition to play these, i would have a bash but my codings way below this.
Basically the stream would be www.yourshoutcastaddy.com:port/listen.pls
http://217.114.215.203:8018/listen.pls this is my stream address as an example.
Most use winamp maybe a winamp *.pls xml
thanks for your great work makes the forum awesome
Digital Jedi
01-25-2009, 04:02 PM
Geek, I have one more question for you and then I'll leave you alone for a couple of hours at least. AME doesn't seem to like single quotes (') in a RegEx. I always get an error, but sometimes I really need the apostrophe to make matches to get ID numbers using extraction. I've tried the ampersand commands or just escaping them, but none of that has worked so far. Is there someway around this?
redlabour
01-25-2009, 05:24 PM
Can you please send out a Update-Mail at the next Time you are uploading Updates? Thank you.
The Geek
01-25-2009, 05:32 PM
If they are major updates I do.
DJ, PM me an example
WreckRman2
01-25-2009, 08:55 PM
For some reason my youtube links aren't working anymore... anyone else notice this?
Digital Jedi
01-25-2009, 11:00 PM
For some reason my youtube links aren't working anymore... anyone else notice this?
Could you post an example?
DJ, We did convert over to 2.5...after some fiddling, a web person who actually knows what they are doing compared to me got pretty much all the previous GoldBrick media tags to convert.
Is there a way for this to NOT grab the name of the video file sharing site and auto-add it to the video title name? Or better yet, substitute in a selected name added to the video title? I bet 500 downloaders want 500 different things! lol
Instead of getting the Dreaded blue M of death thumbnail, now all the videos have screengrab stills. Finally! lol.
You ARE the strongest link! ;)
Extraction pulls the titles of the videos. However, a good chunk of the definitions in require the extraction to be on in order to work. What you can do is change the HTML of the title in the container template or create a new template for your videos.
WreckRman2
01-26-2009, 11:33 AM
For some reason my youtube links aren't working anymore... anyone else notice this?
Sorry I figured out the problem was I somehow uninstalled flash player. Don't know how the heck that happened but it works now.
Gladhatter
01-26-2009, 01:35 PM
Thanks for bringing up the single quote DJ. I had a heck of time figuring that one out as well.
The Geek
01-26-2009, 01:50 PM
Thanks for bringing up the single quote DJ. I had a heck of time figuring that one out as well.
Not sure what you mean, I went through the example DJ sent me and it wasn't the apostrophes. It was just a tricky page to extract the right data needed. If there is another example, send it to me and Ill look when I can.
Gladhatter
01-26-2009, 06:28 PM
Sorry Geek, a I write so poorly to begin with, know next to nothing about coding or your work out side that I love it.
My problem now solved and also DJ in another post suggested a simple regex that would have nearly surely cured it as well was hosting on my local server and an example of the problem link was like: http://www.gladhatter.com/gladmusic/what's_myfav_song I first filled in spaces with %20 and then took them out and added undersores and then took them out and still no work. Finally I took out the <'> in the word "what's" and it picked it up and worked fine. Then I learn that in the set of code or what ever is is called had the <'> been added to the trim or ignore or what ever that module of it is called then it would have likely not been a problem at all.
My coder set mine up for me and addmited he did not know much about the regex lib and would have to had studied it more to address all my concerns. He is extremly qualifed coder in the area's he works in however and is quite busy building some huge mods for the VBgallery we have installed and I did not wish to disturb him further from it and 6 other advanced coding projects we have him assigned to.
So now that you are her and I have not yet found the sugar that DJ requires in his tea or coffee to get this one :) :),,,,And again the coder is flooded with 6 huge projects, and I am dying for one more site to work as it is not on local server and all my attempts and hours or work to make it were in vein would you consider adding or showing me what to add to make: http://www.wimp.com/farylsmith (http://www.wimp.com/farylsmith) work. Please if you will as well admire the talent of this young gal that does not have any musicical interest that I would listen to but has talent that would make anyone wish her well.
Thank and appologies in advance for the slightly ot.
The Geek
01-26-2009, 09:14 PM
Thanks Glad, DJ gave some other examples and I was able to resolve the issue for the next release. Since its rare and Im out of town for a couple days, I'm holding off the fix till then.
Thanks again :)
Gladhatter
01-26-2009, 09:48 PM
Pleasure is mine and while most of my forum is dedicated to the users as well as the AME portion, I think it is the part I truely cherish. I thank you for this code. Not sure if I sent you anything from Paypal as I have others but you can look for it now or again if I did or did not.
Yellow Slider
01-27-2009, 08:52 AM
Works great,
Can you please tell me how can I have wider youtube videos in posts?
here is an example
http://www.musclemecca.com/showthread.php/donnie-thompson-breaks-world-powerlifting-total-record-2905lbs-41708.html?
The video is wider then the regular videos I have in my board from youtube, why is that?
Thanks.
Digital Jedi
01-27-2009, 11:25 AM
Works great,
Can you please tell me how can I have wider youtube videos in posts?
here is an example
http://www.musclemecca.com/showthread.php/donnie-thompson-breaks-world-powerlifting-total-record-2905lbs-41708.html?
The video is wider then the regular videos I have in my board from youtube, why is that?
Thanks.
Videos in 2.5 are set globally in your AME CP >>> Settings per region. If you only want a particular site's videos set at different dimensions, you would edit the Replacement HTML for the individual definition.
Deimos
01-27-2009, 06:45 PM
Does anyone else have problems with this plugin taking an AGE to embed a video?
For instance, when I embed a youtube video in a new thread, it takes upwards of 20 seconds for the post to submit
Any suggestions?
JorgeX
01-27-2009, 07:30 PM
DId AME 2.0 automaccally updated to 2.5 on my forum? It says "Version: 2.5" when i installed the 2.02
Also when i post i get this message:
Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Warning: fetch_full_ameinfo() [function.include]: Failed opening '[path]/amecache/findonly.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/ame_bbcode.php on line 74
jellybeanz
01-27-2009, 08:58 PM
I'm having issues getting my youtube links to embed automatically. It works fine when I enter a link using youtube link. Posting other videos like gametrailers, photopost, and cnn videos autoembed with no issues.
I've removed the ame code, deleted/reuploaded all files, and uninstalled/reinstalled using rebuild with no luck. I'm not sure if it makes a difference but I'm using DJ's AME definitions.
Any help is appreciated.
fkatzenb
01-27-2009, 09:53 PM
Thanks for the great plug in. I have converted my old Goldbrick posts without issue. Awesome. Now for the problem. Before I had Goldbrick, I used an embedded thing that used the following as an example...
te1iSbyaR9I
Well now, I tried converting it and it finds posts, but says "huh... no changes?" The posts it lists are correct, but it doesn't change anything
Help? Thanks!
Phaedrus
01-27-2009, 10:19 PM
How is it I've missed this for so long? My word...
Digital Jedi
01-27-2009, 10:26 PM
Does anyone else have problems with this plugin taking an AGE to embed a video?
For instance, when I embed a youtube video in a new thread, it takes upwards of 20 seconds for the post to submit
Any suggestions?
I've not encountered any slowdown with AME myself. In fact, it's faster then BBCode. Perhaps the issue is the YouTube site being slow at certain times?
DId AME 2.0 automaccally updated to 2.5 on my forum? It says "Version: 2.5" when i installed the 2.02
Also when i post i get this message:
Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Warning: fetch_full_ameinfo() [function.include]: Failed opening '[path]/amecache/findonly.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/ame_bbcode.php on line 74
Do you have any other admins that may have tried to upgrade the product? It can't update on it's own. Make sure ame_bbcode.php and all your AME files uploaded to the right place on the server.
I'm having issues getting my youtube links to embed automatically. It works fine when I enter a link using youtube link. Posting other videos like gametrailers, photopost, and cnn videos autoembed with no issues.
I've removed the ame code, deleted/reuploaded all files, and uninstalled/reinstalled using rebuild with no luck. I'm not sure if it makes a difference but I'm using DJ's AME definitions.
Any help is appreciated.
When you imported my definitions, did you remember to delete the stock YouTube definition first? Mine won't import on this new version if you don't, and the import process won't stop you if you imported a bunch of other defs successfully at the same time.
Thanks for the great plug in. I have converted my old Goldbrick posts without issue. Awesome. Now for the problem. Before I had Goldbrick, I used an embedded thing that used the following as an example...
te1iSbyaR9I
Well now, I tried converting it and it finds posts, but says "huh... no changes?" The posts it lists are correct, but it doesn't change anything
Help? Thanks!
Have you checked the code in the non-converted posts to see if they in fact still have the [youtube] BBCode in them and that Goldbrick didn't do something funny upon uninstall?
jellybeanz
01-27-2009, 10:45 PM
When you imported my definitions, did you remember to delete the stock YouTube definition first? Mine won't import on this new version if you don't, and the import process won't stop you if you imported a bunch of other defs successfully at the same time.
Yes, I deleted the stock amazon and youtube definitions. The definition is fine and still works but manually only. Just trying to find out if there is something wrong with my board or installation.
Phaedrus
01-27-2009, 11:33 PM
I'm having database issues after loading this. When I try to save my Usergroup settings it gives me database errors. What is happening?
This is the MySql error:
MySQL Error : Unknown column 'ms_searchsocialgroups_permissions' in 'field list'
Gladhatter
01-28-2009, 12:12 AM
Thanks for the great plug in. I have converted my old Goldbrick posts without issue. Awesome. Now for the problem. Before I had Goldbrick, I used an embedded thing that used the following as an example...
te1iSbyaR9I
Well now, I tried converting it and it finds posts, but says "huh... no changes?" The posts it lists are correct, but it doesn't change anything
Help? Thanks!
Not sure but I would like to suggest the problem may be with the < ' > single quote.
Phaedrus
01-28-2009, 01:22 AM
I'm having database issues after loading this. When I try to save my Usergroup settings it gives me database errors. What is happening?
This is the MySql error:
MySQL Error : Unknown column 'ms_searchsocialgroups_permissions' in 'field list'
Well, I just added that table field list where it kept trying to find it. It works.
Gladhatter
01-28-2009, 02:06 AM
Well, I just added that table field list where it kept trying to find it. It works.
Have you read the bug list that is fixed in 3.81? I think you will find your answer there.
Armyqt
01-29-2009, 12:52 AM
I installed this but I don't see an AME CP.
JulianD
01-29-2009, 03:03 AM
My god, I can't believe there are such great modifications still depending on modifying the post table. Do you know what it takes to do an ALTER TABLE to a table with millions of records?
Gladhatter
01-29-2009, 03:29 AM
My god, I can't believe there are such great modifications still depending on modifying the post table. Do you know what it takes to do an ALTER TABLE to a table with millions of records?
Well I am going way out on a limb here and going to say that about millions of us have not a clue of what it takes to alter a table with millions of records.
I could suggest a small earth quake under the building with that table full or LP's or possibly 45's on it may well alter it.
Now I do have a couple sincere questions here however.
Are you intimating by your post that altering a table with a mod is a poor coder choice of methodoloy?
You seem to find favor with the mod and yet some slanting there is a bad method used in the fruition of making this all happen in heavily populated tables. What I am concerned about is really two fold.
One is if you think this is a poorly written program do you also have a solution to it or are you a problem only type coder that sees others mistakes but has no valid solution to share with the class?
Have I some how misunderstood your post and you find all things about this mod of a pleasing nature?
If the first assumption is the correct one, will you tell us your proposed solution for it?
If above is true, do you plan on releasing the "fix" for this and if so when is the anticipated release date?
Further and probably finally, do you have some mods you have created with similar complexity so we can see your brilliance in work and not just in word?
Really finally now, I am convinced this mod is a God send and a wonderful one that brings enjoyment to all that either know how to install it and negotiate the hurdles they run into or else the ones that choose a professional programmer to install it for them and they simply or complexly enjoy it period. Do you think you may be a bit harsh should you be judging the mod is poorly written and not offering any valid solutions for the fix of it and have coder as your title?Just curious you please understand.
Oh and if you can make it work on wimp.com then I will join your cause!:eek: Help DJ and GEEK.
JulianD
01-29-2009, 04:11 AM
I understand your sarcastic tone and let me tell you it's not my intention to criticize the author's work. I know his work because I used to be his customer. I haven't seen the source code to even understand how it works and I don't plan to do it.
My point is that not everyone has super fast arrays of hard disks to modify a big table in a reasonable amount of time. I'm sure there are other ways to approach the same solution. Saddly I don't have the time to do it right now.
My mysql server has spent over an hour altering that table. That's my point. There's nothing wrong in altering a table but the post table as well as the attachment table or the search table are usually very big tables on big forums. I think it's something to care about when developing the mod.
Any way, I'm not killing the alter table process. I'm sure it's a great product and I want to see it for my self. But I'm not even done installing it and I'm already thinking about the nightmare when I have to uninstall it in the future.
The Geek
01-29-2009, 09:08 AM
My god, I can't believe there are such great modifications still depending on modifying the post table. Do you know what it takes to do an ALTER TABLE to a table with millions of records?
Hey Julian, I wouldn't have added the flag field if it didn't provide a tangible performance benefit. I tried many other methods like a lookup table, however all methods meant that while I was avoiding adding a flag field, I was arbitrarily adding a lookup (or similar process) when it wasn't needed 99.9% of the time.
The reason behind the alter is that it I add a tinyint field that will flag if the post (or thread) contains AME code. If it does, the relevant AME definitions will get loaded, otherwise it won't. Since the vast majority of threads do not contain embedded media, it seemed like a waste to load the AME subsystem (and the users definitions) when it wasn't used.
So, my options were to add a field to maximise performance or slow down all performance regardless of if it was needed or not. I chose the former :)
Out of all the commercial and free modifications I have released over the years, it is the only alteration (apart from usergroup permissions) that I have done and I think it is a pretty wise move.
HTHs :)
The Geek
01-29-2009, 09:09 AM
I installed this but I don't see an AME CP.
Make sure you have uploaded all the files to the correct location
The Geek
01-29-2009, 09:10 AM
I'm having database issues after loading this. When I try to save my Usergroup settings it gives me database errors. What is happening?
This is the MySql error:
MySQL Error : Unknown column 'ms_searchsocialgroups_permissions' in 'field list'
Doesnt have anything to do with AME, but glad its sorted :)
The Geek
01-29-2009, 09:14 AM
Now for the problem. Before I had Goldbrick, I used an embedded thing that used the following as an example...
te1iSbyaR9I
Tough one here... see, that isn't a format that will change easily because the parameters are backwards to normal formats. The conversion system may be able to do it, but remember that the system is there as a bonus tool to get rid of other codes that didnt install correctly. TBH, I would first do a search in phpmyadmin to see how many posts contain the code. If it is only a few, manually change them.
The Geek
01-29-2009, 09:15 AM
Yes, I deleted the stock amazon and youtube definitions. The definition is fine and still works but manually only. Just trying to find out if there is something wrong with my board or installation.
Sounds like it could be a conflict with another modification. Try disabling your other mods except for this one. Also check usergroup permissions.
HTHs
Vinyljunky
01-29-2009, 09:30 AM
This is one of the must have and best supported mods!
Thank you for sharing your work :up:
VJ...
Armyqt
01-29-2009, 10:28 AM
Make sure you have uploaded all the files to the correct location
Can u please tell me where the correct location is?
The Geek
01-29-2009, 12:15 PM
Can u please tell me where the correct location is?
In the zip will be an upload/forums folder. EVERYTHING in that folder needs to be uploaded into your forum folder.
Armyqt
01-29-2009, 04:42 PM
In the zip will be an upload/forums folder. EVERYTHING in that folder needs to be uploaded into your forum folder.
So the forums folder is gets uploaded to my forums folder right? I'm pretty sure I did that. However, I will do it again when I get home. Thanks!
Or should I grab the whole upload folder?
thompson
01-29-2009, 08:15 PM
myvideo link doesnt work. http://www.myvideo.de/watch/1407553/NKW_Match_1
Armyqt
01-29-2009, 08:16 PM
OK, I'm going to have to uninstall this. I don't know what's going on, but when I go to start a new thread I get an error page. Plus I never saw the AME CP. I ran uninstall but I'm still seeing the amecache folder in my forums directory. How do I get rid of these files?
I would love to have this hack. It seems simple enough, but I can't even get it uploaded. So frustrating.
jellybeanz
01-29-2009, 09:18 PM
Sounds like it could be a conflict with another modification. Try disabling your other mods except for this one. Also check usergroup permissions.
HTHs
Disabled all plugins, rebuilt threads by removing and replacing ame tags, and still no luck. In usergroups I have everything marked yes for my administrator role and most of my users have the same setting except "Can create/modify non specific zones" is set to no. Not a major issue as long as they can click the link and the script still works well for everything else I've tested.
I may roll back to an older version to see if that works. I'm wondering if something went wrong when I upgraded from 3.6.8 to 3.8.0.
Thank you for your help
The Geek
01-29-2009, 09:33 PM
OK, I'm going to have to uninstall this. I don't know what's going on, but when I go to start a new thread I get an error page. Plus I never saw the AME CP. I ran uninstall but I'm still seeing the amecache folder in my forums directory. How do I get rid of these files?
I would love to have this hack. It seems simple enough, but I can't even get it uploaded. So frustrating.
The error youre getting and the lack of ame cp is because you havent uploaded the files.
HTHs
The Geek
01-29-2009, 09:33 PM
myvideo link doesnt work. http://www.myvideo.de/watch/1407553/NKW_Match_1
myvideo isnt supported by default, ask in the thread you got the definition from
CrashfAB
01-30-2009, 01:40 AM
Ok so I installed on my test forum. So when I go to reply to a topic I get this
Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newreply.php(742) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/reitertr/public_html/nw-wheelers/includes/ame_bbcode.php' (include_path='.:/usr/local/php52/pear') in /home/reitertr/public_html/nw-wheelers/newreply.php(742) : eval()'d code on line 1
Armyqt
01-30-2009, 02:00 AM
The error youre getting and the lack of ame cp is because you havent uploaded the files.
HTHs
I HAVE uploaded the files. :o I really want this to work.
The Geek
01-30-2009, 09:29 AM
Ok so I installed on my test forum. So when I go to reply to a topic I get this
Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newreply.php(742) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/reitertr/public_html/nw-wheelers/includes/ame_bbcode.php' (include_path='.:/usr/local/php52/pear') in /home/reitertr/public_html/nw-wheelers/newreply.php(742) : eval()'d code on line 1
Upload all files to the correct locations (that error means you didnt upload some or all of the files)
The Geek
01-30-2009, 09:54 AM
Please see the troubleshooting post for help Crash and Army
https://vborg.vbsupport.ru/showpost.php?p=1719064&postcount=3
Armyqt
01-30-2009, 10:23 AM
Please see the troubleshooting post for help Crash and Army
https://vborg.vbsupport.ru/showpost.php?p=1719064&postcount=3
I looked at it. I will try again. I don't know what I am missing. I did exactly as you said. BTW, I'm running 3.8.1. It just doesn't make any sense. I put the upload folder in my forums folder and nothing. I'll try again tonight when I get home.
Digital Jedi
01-30-2009, 12:04 PM
I looked at it. I will try again. I don't know what I am missing. I did exactly as you said. BTW, I'm running 3.8.1. It just doesn't make any sense. I put the upload folder in my forums folder and nothing. I'll try again tonight when I get home.
Well, that could be the problem. When you say you put the upload folder, do you mean that literally? Because it's the contents of the forums folder in the upload folder that your supposed to upload to your forum. See how everything in the forums folder is structured just like your vB folders are structured? You don't just add the upload folder.
Armyqt
01-30-2009, 03:45 PM
Well, that could be the problem. When you say you put the upload folder, do you mean that literally? Because it's the contents of the forums folder in the upload folder that your supposed to upload to your forum. See how everything in the forums folder is structured just like your vB folders are structured? You don't just add the upload folder.
This is what your instructions say:
Upload the contents of the forums folder into your forums directory
So what you're saying is that I need to individually match each subfolder under forums and drag that folder from your side. I thought that all you had to do was just grab the entire upload folder and copy it to the forums folder. I thought that the other folders would automatically go to their other like subfolders. I hope that made sense. :erm:
At any rate, I will try it again when I get home, transferring one folder at a time.
Digital Jedi
01-30-2009, 05:47 PM
You only have to move it all at one time, it's just it sounded like you grabbed the upload folder and moved it, rather then moving the contents of the forums folder and moving them. In other words, when you move it, are is the admincp folder overwriting your admincp folder, etc? That's the way it should be moving.
Armyqt
01-30-2009, 06:50 PM
You only have to move it all at one time, it's just it sounded like you grabbed the upload folder and moved it, rather then moving the contents of the forums folder and moving them. In other words, when you move it, are is the admincp folder overwriting your admincp folder, etc? That's the way it should be moving.
Okay I did it again and nothing. I am beyond frustrated with this. Now I have all of these files and I don't know how to get rid of them and I STILL don't have the AME CP. :mad:
Armyqt
01-30-2009, 07:14 PM
OK this is what my directory looks like in regards to the AME files. This is what was uploaded and where. Tell me if this is wrong.
Includes Folder
- ame_bbcode.php
Client Script Folder ->Client Script Subfolder
-ame.js
AmeCache Folder
-index.html
AdminCP Folder -> AdminCP Folder ->
-automediaembed.admin.php
Images Folder -> Misc Folder
-amazon
-film_go.png
Please tell me where I went wrong. I must get this fixed. Thanks for your support. :)
Phaedrus
01-30-2009, 07:16 PM
I looked at it. I will try again. I don't know what I am missing. I did exactly as you said. BTW, I'm running 3.8.1. It just doesn't make any sense. I put the upload folder in my forums folder and nothing. I'll try again tonight when I get home.
You need to upload each of the items into correct folders corresponding with your forums folders.
Double click the "Upload" folder you will see items to upload directly onto the forumhome directory and then you will see things like, "Admincp" inside it. If you open that file you will find items to upload into your "AdminCP" rather than onto your forumhome...
Armyqt
01-30-2009, 07:26 PM
You need to upload each of the items into correct folders corresponding with your forums folders.
Double click the "Upload" folder you will see items to upload directly onto the forumhome directory and then you will see things like, "Admincp" inside it. If you open that file you will find items to upload into your "AdminCP" rather than onto your forumhome...
Ok, so what I'm hearing you say is this: Open up the AdminCP folder and take the contents and move them into MY AdminCP folder. Not the entire AdminCP to AdminCP. Transfer the files not the folders. SO I should not have an admincp subfolder under my admincp folder.
Assuming all of this is correct, I'm going to have to go back and change another hack. I thought that just dropping the entire folder would override the existing folder. If all of this is true, I have learned a great lesson here for future mods (I hope). Please advise.
Alfa1
01-30-2009, 07:34 PM
Hey Geekman,
I hope you and your family are doing well.
Please consider to add functionality for avatar and profiles.
Armyqt
01-30-2009, 07:34 PM
OK so I assumed that everything I wrote in the previous post was correct. I deleted the subfolders and put the files into the corresponding folders. It seems to have worked.
Question. Should the AME CP appear on my admincp as another link? I was able to access it through vbulletin settings, AME settings, and then there's a few clickable links to get to it. Is there an easier way to get to the AME CP?
Armyqt
01-30-2009, 07:39 PM
Arrggh, I've made progress, but something is still off. When I go to post a new thread, I get this error message.
Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(308) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/lotus14/public_html/forums/includes/ame_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lotus14/public_html/forums/newthread.php(308) : eval()'d code on line 1
Phaedrus
01-30-2009, 07:53 PM
Ok, so what I'm hearing you say is this: Open up the AdminCP folder and take the contents and move them into MY AdminCP folder. Not the entire AdminCP to AdminCP. Transfer the files not the folders. SO I should not have an admincp subfolder under my admincp folder.
Assuming all of this is correct, I'm going to have to go back and change another hack. I thought that just dropping the entire folder would override the existing folder. If all of this is true, I have learned a great lesson here for future mods (I hope). Please advise.
Yes, exactly.
Mods don't carry a full content of an AdminCP folder, you don't want to overwrite the folder either.
Just open each then move contents into the folder matching it on your server.
Armyqt
01-30-2009, 08:02 PM
Yes, exactly.
Mods don't carry a full content of an AdminCP folder, you don't want to overwrite the folder either.
Just open each then move contents into the folder matching it on your server.
I did and something good happened. lolCan you answer my other questions above, because this is still not functional.
Gladhatter
01-30-2009, 08:15 PM
first of all it it prompted you to moe the floder and replace the other one with out replacing NON same name files then you may have been alright but if the option choosen or by default overwrites the folder and all contents then you best hope you had a recent back up.
Phaedrus
01-30-2009, 08:33 PM
I did and something good happened. lolCan you answer my other questions above, because this is still not functional.
What other questions. I don't want to search the thread.
I did notice that you said you uninstalled it. Once you upload the items into their correct folders you would install the product and you should have access to the AME CP in your Admin CP.
Armyqt
01-30-2009, 09:59 PM
What other questions. I don't want to search the thread.
I did notice that you said you uninstalled it. Once you upload the items into their correct folders you would install the product and you should have access to the AME CP in your Admin CP.
THANK YOU!!! :):):):) I finally got it working on my forum. This is so cool.
You are the first person that ever made me understand where to upload files while doing these mods. Thanks again.
rob01
01-31-2009, 01:27 AM
wich verison is better?
this one or the other
Digital Jedi
01-31-2009, 06:35 PM
Yes, exactly.
Mods don't carry a full content of an AdminCP folder, you don't want to overwrite the folder either.
Just open each then move contents into the folder matching it on your server.
Actually, moving contents into matching folders one at a time is precisly what you DO NOT want to do, as this can lead to mistakes and takes way longer. You DO want to OVERWRITE matching folders, as doing this adds the contents of one folder to another without deleting anything. Not to mention, it's the fastest most efficient way to do so.
cooltechie
01-31-2009, 07:21 PM
Rebuild post cache removed videos. If I go back to edit the post, I can still see the video link there but shown as [ url ] http:// www. youtube. com [ /url ] (without spaces and with full video url).
Jon Tolzien
02-01-2009, 02:21 AM
I am so embarrassed to ask this question. I want to do local hosting. I installed all of the files. Should i see a special icon to do local hosting. Or do i need to ftp the files on to my server. Or do just use the URL to my server files. Like i said i have looked and looked for the answer. Maybe it was right under my nose. :)
Bisha
02-01-2009, 02:59 AM
My question is:
https://vborg.vbsupport.ru/external/2009/02/48.gif
Gladhatter
02-01-2009, 03:07 AM
I am so embarrassed to ask this question. I want to do local hosting. I installed all of the files. Should i see a special icon to do that. Or do i need to ftp on to my server. Or do just use the URL to my server files. Like i said i have looked and looked for the answer. Maybe it was right under my nose. :)
I am confused and embarrassed to answer you.
Do you have some music files on your local server now? If so have you created or do you have created AME tags for these file types on in your AME cpanel I guess it is called?
If you do and all is set up right you just paste the url to the song inside the post and it will play in AME player automatically.
I hope this is what you are looking for and it helps you.
moreilly
02-01-2009, 03:04 PM
YouTube videos is just linking to the video, not displaying the video in the posts at my site. I just downloaded this mod today and downloaded the new definitions from Jedi in his mod.
Any clue what I forgot to do or I missed?
jonah1892
02-01-2009, 03:31 PM
when i installed this on my 3.8 site it slowed it down immesnly
i tested it out by disabling the product for 2 days to see if the speed improved which it did, and as soon as i enabled the product it slowed right back down again
Gladhatter
02-01-2009, 03:31 PM
YouTube videos is just linking to the video, not displaying the video in the posts at my site. I just downloaded this mod today and downloaded the new definitions from Jedi in his mod.
Any clue what I forgot to do or I missed?
Yes Sir/Madam, with out destructive but only constructive criticism, you have failed to make any kind of post as do so many myself included that can render you much help unless you engage someone to prod you to offer more.
You may wish to be more specific and note exactly what you have done, what you expected to happen that did not and what you have attempted to date to resolve it.
You may wish to post a screen shot of the problem and identify any unique situation you may have or set up.
Also what version of VBulletin you are running along with any outside or major add ons.
These are just thoughts that may help get you a proper diagnosis.
moreilly
02-01-2009, 04:14 PM
Yes Sir/Madam, with out destructive but only constructive criticism, you have failed to make any kind of post as do so many myself included that can render you much help unless you engage someone to prod you to offer more.
You may wish to be more specific and note exactly what you have done, what you expected to happen that did not and what you have attempted to date to resolve it.
You may wish to post a screen shot of the problem and identify any unique situation you may have or set up.
Also what version of VBulletin you are running along with any outside or major add ons.
These are just thoughts that may help get you a proper diagnosis.
Outside of me not saying which vbulletin I run (3.7.3 patch level 1) what are you talking about of not being specific?
I installed both mods, no errors :)
I copy a link to a video I found at youtube, I then post a thread at my forums and paste the link, and it doesn't display the video, it just shows a link as I previously stated ;)
Gladhatter
02-01-2009, 04:15 PM
when i installed this on my 3.8 site it slowed it down immesnly
i tested it out by disabling the product for 2 days to see if the speed improved which it did, and as soon as i enabled the product it slowed right back down again
Geek do you have any thoughts on this? My site at some point around the time I installed this ( but also installed a ton of other mods) and custom code came to a turtles crawl speed that they cannot idenify on the server side but reconize it as well.
Has anyone else noticed any of this?
moreilly
02-01-2009, 04:15 PM
By the way, other videos show up just fine. Only youtube videos so far.
Gladhatter
02-01-2009, 04:40 PM
Outside of me not saying which vbulletin I run (3.7.3 patch level 1) what are you talking about of not being specific?
I installed both mods, no errors :)
I copy a link to a video I found at youtube, I then post a thread at my forums and paste the link, and it doesn't display the video, it just shows a link as I previously stated ;)
First off I was not challenging you to a duel but wishing to be helpful to some, many or most.
What I was talking about specifically was what I thought correctly OR NOT, that you was less than specific and while its not an insult it is an encourgement to post responsibly if you expect premium help.
I immeditly then broke my rule I ask you to follow with a rambling post of how my pages will not load. More properly, I would have had my coder study this for a time and then posted it for Geek to see into.
Version can be the most important thing at times.
Telling what you done to dianose it or trouble shoot it helps as well. If you done nothing then nothing to post there. I think most are going to tell you to upgrade to 3.81 as your first solution to this.
moreilly
02-01-2009, 07:28 PM
First off I was not challenging you to a duel but wishing to be helpful to some, many or most.
What I was talking about specifically was what I thought correctly OR NOT, that you was less than specific and while its not an insult it is an encourgement to post responsibly if you expect premium help.
I immeditly then broke my rule I ask you to follow with a rambling post of how my pages will not load. More properly, I would have had my coder study this for a time and then posted it for Geek to see into.
Version can be the most important thing at times.
Telling what you done to dianose it or trouble shoot it helps as well. If you done nothing then nothing to post there. I think most are going to tell you to upgrade to 3.81 as your first solution to this.
Yeah, I am sorry about my response, I may have been a bit edgy. My apologies :)
The first solution you suggested was to upgrade to 3.8.1 which I did after reading through the AME Mod thread a bit more. But the YouTube videos are still in url form and not displaying the actual video.
I recieved a p.m from one of my members that they could not see another video I posted from WeGame.com as well. I see it fine, and so do other members, so I am assuming this is something from the users end and not something wrong with the AME mod?
I would like to get the YouTube working though, as this is obviously the most popular video site to link from.
Gladhatter
02-01-2009, 07:39 PM
Yeah, I am sorry about my response, I may have been a bit edgy. My apologies :)
The first solution you suggested was to upgrade to 3.8.1 which I did after reading through the AME Mod thread a bit more. But the YouTube videos are still in url form and not displaying the actual video.
I recieved a p.m from one of my members that they could not see another video I posted from WeGame.com as well. I see it fine, and so do other members, so I am assuming this is something from the users end and not something wrong with the AME mod?
I would like to get the YouTube working though, as this is obviously the most popular video site to link from.
I have not seen any problems with UTUBE since mine went in but then again we really have not tested any since then.
Also have you already had the utube links? OR is this new ones?
Asking due to not sure how you have followed this thread. If they are existing, I think you have to edit each one and just save it without doing more and then it will set it working.
We had to edit all of out links but then I only had maybe 10 music files.
I am sure DJ, Geek or some one will help if this did not.
moreilly
02-01-2009, 07:55 PM
I have not seen any problems with UTUBE since mine went in but then again we really have not tested any since then.
Also have you already had the utube links? OR is this new ones?
No, these are brand new links, and I never tried posting a video on my forums before, nor have any of my members. This is something brand new to me.
Asking due to not sure how you have followed this thread. If they are existing, I think you have to edit each one and just save it without doing more and then it will set it working.
We had to edit all of out links but then I only had maybe 10 music files.
I am sure DJ, Geek or some one will help if this did not.
I may have skipped over a few pages in this thread ;) But I still haven't seen any troubles from other users posting the YouTube vids when I was reading through them. Most I saw were people getting error's, and I am not getting those, just a link from YouTube but no video :(
I'll keep plugging away in the meantime. Thank you for your help :)
The Geek
02-02-2009, 06:39 AM
By the way, other videos show up just fine. Only youtube videos so far.
Does the video have embedding disabled? If only a link appears (with an icon) it means that the destination video has embedding disabled. You can also double check by following the link to see if it has embed code on the page.
The Geek
02-02-2009, 06:42 AM
when i installed this on my 3.8 site it slowed it down immesnly
i tested it out by disabling the product for 2 days to see if the speed improved which it did, and as soon as i enabled the product it slowed right back down again
The only part that will slow down is when the post is created or edited and you have extraction enabled. This is because with this option set, AME will extract the destination HTML to get some information (i.e. page title). If your sever has a naff connection to these sites, and/or you have a lot of videos in a post, it will slow it down. Once that information has been extracted though, it really takes no longer than normal to display the page.
Remember, you can disable this funationality, though some sites do require it.
The Geek
02-02-2009, 06:45 AM
My question is:
https://vborg.vbsupport.ru/external/2009/02/48.gif
By installing this addon?
The Geek
02-02-2009, 06:46 AM
Rebuild post cache removed videos. If I go back to edit the post, I can still see the video link there but shown as [ url ] http:// www. youtube. com [ /url ] (without spaces and with full video url).
Then you had the setting to 'remove AME code' on. This setting is designed to remove AME from your posts (i.e. you were going to uninstall it) instead of leaving behind a bunch of dead bbcode.
The Geek
02-02-2009, 06:51 AM
OK this is what my directory looks like in regards to the AME files. This is what was uploaded and where. Tell me if this is wrong.
Includes Folder Where are the upload/includes/xml files?
- ame_bbcode.php
Client Script Folder ->Client Script Subfolder there shouldnt be a clientscript folder in your clientscript folder!
-ame.js
AmeCache Folder
-index.html
AdminCP Folder -> AdminCP Folder -> There shouldnt be an admincp folder in your admincp folder!
-automediaembed.admin.php
Images Folder -> Misc Folder
-amazon
-film_go.png
Please tell me where I went wrong. I must get this fixed. Thanks for your support. :)
Not sure if you have the problem sorted yet, but this is not the correct directory structure at all (and hence why you are having problems). I would suggest that you ask your host to install if you are unsure of how to upload the files.
HTHs!
The Geek
02-02-2009, 06:52 AM
Ok, think I got everybody!
BTW, Thanks for voting for us as Mod of the Month :)
Gladhatter
02-02-2009, 12:50 PM
The only part that will slow down is when the post is created or edited and you have extraction enabled. This is because with this option set, AME will extract the destination HTML to get some information (i.e. page title). If your sever has a naff connection to these sites, and/or you have a lot of videos in a post, it will slow it down. Once that information has been extracted though, it really takes no longer than normal to display the page.
Remember, you can disable this funationality, though some sites do require it.
My slow down is nothing to do with AME then as I have 10 local songs hosted and it is slow all the time recently pitifully slow and not when posting a song or such.
I am sure the problem will be found on my server in time by a 3rd level tech and will have nothing to do with Vbulliten or AmE.
The Geek
02-02-2009, 02:00 PM
All AME does is replace url with <embed> HTML. That isnt time consuming and certainly not very resource intensive. The only time AME itself will slow things down is IF it is told to go to the destination web page and extract details from it (i.e. the title). In those instances, the additional time is spent in your server downloading the destination web page and parsing it for the details it needs. If your server and/or its connection is pants and/or the destination site is slow or offline, this will cause a noticeable slowdown. However, as mentioned, the only time ame will actually do this is when a post gets saved. Otherwise, AME is about as slow as using a smilie. :)
The rest is down to what you are embedding. Say for example its a movie from youtube... if the user is on a 14.4k modem, it may take a minute for the youtube video to appear, but that has nothing to0 do with ame or your site, it is actually youtube that the user is waiting on.
Gladhatter
02-02-2009, 02:42 PM
I think my biggest problem will be solved when I learn to use and migrate to Red Hat Fedora and get 16 gigs of memory and a quad 6 core processor set up.
|Jordan|
02-03-2009, 01:32 AM
Does this work with 3.8.1 ? I installed it and my youtube links arent embeding (i ran Tools->Rebuild Posts several times)
Magnumutz
02-03-2009, 05:39 AM
I've got the same problem as |Jordan|...
The Geek
02-03-2009, 06:15 AM
can you provide an example?
cooltechie
02-03-2009, 11:27 AM
First all the videos are there. Then when you rebuild post cache, the videos disappear. If you click on edit post, all the links are there, but not displayed in the post. Anyone else having this problem?
The Geek
02-03-2009, 11:48 AM
There is an option in the rebuild setting to REMOVE ame code. This is so that you could revert back to normal URLs if you ever needed to.
More than likely, you have it set to remove them.
HTHs
cooltechie
02-03-2009, 02:13 PM
PostsTurning to 'yes' will enable AME to parse posts in threads. = yes
Disable New itemsTurning to 'yes' will prevent new URLs from being converted = no
Enable File Cache = yes
Extract destination data = yes
We edit the post, click save and the video reappeared. Click on rebuild post cache, video disappeared.
|Jordan|
02-03-2009, 04:37 PM
I had the previous version of AME installed on my 3.7.4 forum it worked fine. Then i upgraded to 3.8.1 and updated to this AME. YouTube video's do not embed and they do not contain ame tags.
Magnumutz
02-03-2009, 05:03 PM
Ok, here's what i did so that it's all ok now.
I first removed the ame tags and then rebuild posts.
It's as simple as that :D
Gladhatter
02-03-2009, 06:19 PM
I can only hope this is helpful.
We started Vbulliten a short while back. I think it was ver 3.74 then went to 3.80 and then to 3.81.
I do not know much about UTube other than my 22 month old son enjoys some TV commercials like the babies on etrade and such but my wife looks them up so I really do not use it.
http://www.youtube.com/watch?v=IQ_50VrLUBo is the first UTube video I came to when I just done a UTube from Google. I am not familar with the content of it.
I did create a test post and pasted the url in and saved it and the video worked perfectly and flawlessly.
I hope this helps.
If anyone wants any public file I can extract copy, paste, send, screen shot or what have you or this will help just say it clearly.
Charlie
The Geek
02-03-2009, 08:43 PM
PostsTurning to 'yes' will enable AME to parse posts in threads. = yes
Disable New itemsTurning to 'yes' will prevent new URLs from being converted = no
Enable File Cache = yes
Extract destination data = yes
We edit the post, click save and the video reappeared. Click on rebuild post cache, video disappeared.
In the rebuild options, there is an option to remove ame tags. Dont turn on that option when you rebuild :)
I had the previous version of AME installed on my 3.7.4 forum it worked fine. Then i upgraded to 3.8.1 and updated to this AME. YouTube video's do not embed and they do not contain ame tags.
Double check your definitions (i.e. you dont have duplicates) and as always, post at least a URL of a video that isnt embedding.
Magnumutz
02-03-2009, 08:44 PM
I turned that option on dude when i rebuilt, and then i did it without that turned on.
In the end, it got fixed.
|Jordan|
02-03-2009, 10:11 PM
Double check your definitions (i.e. you dont have duplicates) and as always, post at least a URL of a video that isnt embedding.
I dont have duplicates (just the default included definitions are installed).
Here's the url of a video that doesnt embed: http://www.youtube.com/watch?v=08AAL2hE92M
Dream
02-03-2009, 10:31 PM
I'm still using 1.2.0, if I upgrade will my forum explode? :p
Also, does this new version support big HD YouTube?
Gladhatter
02-03-2009, 10:32 PM
Geek this one embeds but a bit strange of a title that may explain to the learned what his/her problem is:
|Jordan|
02-04-2009, 03:45 AM
The same thing happens with all other video's too for instance http://youtube.com/watch?v=mY5qJHZCz2I
The Geek
02-04-2009, 09:24 AM
I dont have duplicates (just the default included definitions are installed).
Here's the url of a video that doesnt embed: http://www.youtube.com/watch?v=08AAL2hE92M
Embeds perfectly for me on a default installation.
I'm still using 1.2.0, if I upgrade will my forum explode? :p
Also, does this new version support big HD YouTube?
Of course! All my upgrades are designed to spontaniously combust forums on a whim :)
I believe it does support big HD youtube (if not by default than be a definition). Post me a link and ill let you know ;)
The same thing happens with all other video's too for instance http://youtube.com/watch?v=mY5qJHZCz2I
Embeded perfectly for me on default installation. Maybe you arent using the default definitions?
The Geek
02-04-2009, 09:35 AM
Version 2.5.4 has been uploaded.
This is a maintenence realease that addresses a rare bug with some page titles. Apart from version numbers in file headers and the product XML, the only file that has changed is includes/ame_bbcode.php
You can simply replace that file, or upgrade as normal.
nJoy
bjhuang
02-04-2009, 10:28 AM
if the posts contains embed videos from yahoo, myspace or slideshare, it gives a lot of script error alert when you close your browser. only happens in IE7, FF3 works fine.
The Geek
02-04-2009, 10:40 AM
Must be your custom definitions (none of those are default definitions). Make sure you let the author know.
Bisha
02-04-2009, 11:05 AM
Rel to:https://vborg.vbsupport.ru/showpost.php?p=1731642&postcount=218
By installing this addon?
I have installed already but nothing happens?
bjhuang
02-04-2009, 11:14 AM
well i think those embed code conflicts with the vbulletin system. i tried to disable plugin system and allow html in posts. then paste the embed code directly into the post. same errors happen.
maybe someone could help report this bug to vbulletin.com? i can only get support on vbulletin-china.cn, and i won't rely on them.
The Geek
02-04-2009, 12:25 PM
Rel to:https://vborg.vbsupport.ru/showpost.php?p=1731642&postcount=218
I have installed already but nothing happens?
Check the FAQ and readme. It wont automatically embed old urls unless you rebuild them through the amecp. Do new/edited posts work?
nascartr
02-04-2009, 01:56 PM
My YouTube links do not convert after update.
http://diecastcrazy.com/community/movie-gallery/8263-g-i-joe-rise-cobra.html
The Geek
02-04-2009, 02:02 PM
That URL works fine on a default installation.
nascartr
02-04-2009, 02:11 PM
Must be DJ's Definitions then. That's the only change I've made since updating.
The Geek
02-04-2009, 02:22 PM
looking at the source, it looks like you may have some sort of addon that puts ads around youtube links. not sure though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.