Important!Aeva stands for "Auto-Embed Video & Audio". It used to be a mod specifically designed to automatically embed video links posted in forum messages. Now, it's no longer the case. I've merged it with my other 'big' mod, SMF Media Gallery, helping broaden both mods' future.Also, although Aeva Media is starting as 1.0, it doesn't mean it's older than Aeva 7. Of course it's the opposite, but I figured it'd be easier to users of both Aeva and SMG to have a clean slate rather than having Aeva Media start at version 8.0 (new Aeva) or version 3.0 (new SMG).

Beware, if you want to install Aeva Media, you need to uninstall BOTH Aeva and SMF Media Gallery!

Gallery features

Create albums and sub-albums with unlimited levels

Decide who can upload to them (per user or per membergroup), choose who can view your items, or browse your albums. Allow or ban specific users.

User Playlists: Give membergroups the permission to create user playlists. Create playlists by simply visiting any item page and clicking the Playlists drop menu and then select "Add to Playlist". Organize your favorites easily and browse them like an album!

JavaScript + Flash Playlists: Show nice little Flash-powered playlists in these topics, or pretty much anywhere else, based on user playlists or anything you want (one or more items, one or more albums...)

Linked topics: Create (or not) a linked notification topic automatically when adding/editing an album. You can use this to close per-item comments and have everyone comment on albums instead, or subscribe to topic notifications, or harness the power of other topic-related mods. See it in action at Foxprog, which is entirely built on user playlists, Flash playlists and linked topics. Remember, you can do this with any file type!

Post button: Add a button to the post area, which opens a popup that will allow you to upload an item and insert it into your message in as few clicks as possible.

Embedding of remotely hosted pictures: Picasa, Photobucket, Imageshack, anything you can think of. Thumbnails and previews will be created as needed, but the main files themselves will always stay hosted remotely.

RSS feeds: All albums and items now offer RSS feeds to keep you updated for:* Latest items - user profiles, albums, album with children, or the entire gallery.* Latest comments - items, user profiles, albums, album with children, or the entire gallery.

Auto-embedder featuresYou can now automatically embed video and audio clips by posting the clip's URL into your SMF forum posts from over 200 sites (hundreds if you count the supported networks), including YouTube, DailyMotion, MetaCafe, Google Video, MySpace, Facebook, Veoh...No need for BBCode or messy embed HTML. And if a user posts the embed html code for a site, it'll be turned automatically into a nice little furry harmless link.

Just copy the URL from your address bar into a post (like http://youtube.com/watch?v=B8XC7idFyvE), and Aeva Media will do the rest. It's the ultimate user-friendly way of posting clips. YouTube videos will automatically appear in HD and Widescreen if available and enabled.

Works for all languages. Will fall back to the English version if your own language is missing.

Admin settings aplenty. Enable/disable embedding, allow embed code fix, use Javascript to embed videos (which is recommended), inline upgrade of Flash version, debug mode for admins, allow for video embedding into quotes or in the middle of sentences...- Lookups will grab the actual video url/filename when posting a new link.- Enables support for dozens of sites. Embed local or remote files (except for attachments), such as MP3, MP4, FLV, DivX, Avi, SWF, RM, WMV, MOV...- And so on.

The site list is optimized to use only the features you enabled, and it's automatically updated when a new version is available. You only need to visit the admin area if you want to enable newly added sites. You can also force an immediate check for sitelist updates (instead of daily checks) through the admin area, or by going to a forum page where Aeva Media is in use (e.g. a video is visible), and adding ";checkaeva" to the URL. This can be restricted to admins via the admin area.

Create your own custom site lists or per-site settings, such as custom video dimensions. More details in the Aeva-Custom-Example.php file.

Users can select on-the-fly their preferred embed size, normal or maximum (saved in a cookie)

No manual edits required for custom themes. No conflicts with mods that provide support for a single website with custom BBCode and a video ID. But you'll never want to use them again. Just use the conversion script included in the package to convert old BBCode.

If you're not sure, be happy -- embedding of external videos will NOT consume your bandwidth!

License agreementAeva Media is completely free to use, even on commercial websites. But if you wish to use this software, you will be bound by the Aeva Media license agreement. Please make sure to read file license_am.txt, at the root of this package. It can also be viewed online at http://noisen.com/license.php. If you don't follow the license terms, you will be exposed to potential damage such as a lawsuit, complete and utter humiliation in public, and not finding your shoes when you're already late for work.

CompatibilityANY version of SMF 1.1.x and SMF 2.0 will do. (In the case of SMF2, the only supported version is the latest. Because there are too many changes between each release.)All previous versions of this mod MUST be uninstalled BEFORE installing this version. Also, make sure to backup your database and files first.

How to install/upgrade

Uninstall older versions (if already installed).

Install the new version.

Go to the admin area, play with the settings. On first install, set permissions up!

And you are done! There will be no data loss.

Gallery convertersThree converters are available for making your evaluation of Aeva Media easier. You can run AM along with another gallery system, they will not conflict with each other. You can download the converters from the official mod page, under the name Gallery Converters.zip. The file contains three folders. Just extract the converter.php from the gallery system you're interested in.

A working fresh Aeva Media installation on the same forum. Make sure it is working normally first.

How to convert

Extract and upload the converter.php file to your forum's root where the SSI.php and index.php files are located.

Run it from your browser.

Follow the steps on screen, it should do the conversion by itself.

Note: this will wipe out preexisting Aeva Media gallery items, if there are any. However, your Coppermine or SMF Gallery will remain unaffected before and after the conversion.

Coppermine Gallery to Aeva Media converterNote: it is only tested with CPG 1.4.x.

What it converts

Items

Albums (all types)

Comments

SMF Gallery Lite to Aeva Media converterSMF Gallery Pro to Aeva Media converterNote: these converters are certified for use with SMF Gallery Lite 1.9 and the equivalent SMF Gallery Pro version, and theoretically should also convert later versions as well.

If a YouTube video doesn't automatically switch to Widescreen when available, make sure lookups are enabled in the admin area. If your server doesn't support them, you can still manually add #ws-hd at the end of an URL for Widescreen HD.

If you get a "We're sorry, this video is no longer available" message on YouTube videos, this is not an Aeva Media bug. It can either be due to the video not being embeddable (make sure lookups are enabled to check for these when posting), or simply to its streaming server being under maintenance. Try to play it again later.

If you're having Error 500-type crashes on your server, try to disable SMF's "compressed output" feature in your server settings, and ask Santa Claus for a better server next Christmas.

ModifyAevaSettings() errorsPlease refer to this every time someone posts an error message mentioning that function.

"Undefined function" error -> this is a mod screwing up your install (it could possibly be any mod, but AjaxChat is the better known one.) It doesn't follow SMF guidelines for its install script. It's not Aeva Media's fault. Quick workaround: make sure to install Aeva Media before you install that mod. It's already cost me hours in explaining the same thing again and again, I will no longer be replying to this kind of request.

"Already defined" error -> this is a SMF limitation. It doesn't try to check whether you already installed a mod before. As a result, if you don't uninstall a mod before reinstalling it, everything will be copied twice. This is a problem on ALL PACKAGES and can only be fixed by educating yourself on how to install packages in current versions of SMF. Quick workaround: apart from being careful next time, there is none. You'll have to uninstall Aeva manually, file by file. It's not a big mod though, so it shouldn't take more than 10 minutes.

Controlling auto-embeddingDisabling Embedding In Posts

Use [noembed][/noembed] BBCode to prevent a link from being converted. Also, if the related setting is enabled, videos inserted in a sentence are not embedded (they're only shown when they're at the beginning of a line), so you can use that to your benefit.

Disabling Embedding In Specific Areas

Embedding is automatically disabled in signatures, printer pages and SMF2's WYSIWYG editor. You may want to be able to disable it for other sections, such as a Shoutbox.

Just find the position, in the relevant source file, where data is put through the "parse_bbc" function. Then on the line BEFORE it, add the code below. If there's a chance the string you're going to parse is empty, make sure to unset the following call (unset($context['aeva_disable']);) after the parse_bbc() that follows it.

$context['aeva_disable'] = 1;

About Aeva Media's sitelist updatesFor various reasons, which I already explained elsewhere, I put an end to the auto-embedder's frenetic development cycle in May 2009. I resumed work a few months later to fix YouTube issues and then decided to merge it with my other popular package, SMG.Regarding the auto-embedder's features, I will only keep working on its sitelist updates. Do not expect more features to be added on the YouTube front. They did their best to prevent me from doing it, so it's not worth it.

Do NOT request for a website to be integrated to the Aeva Media sitelist. I will refuse, unless you're prepared to pay, or the website is a very successful one and I'm interested in adding it. Otherwise, use the Custom file for adding sites yourself. It's not that hard. You just need to read a regex tutorial.Feel free to post somewhere if an existing site is broken, though. At worst, I'll remove support for it. At best, I'll fix it.Also -- no basic tech support from me.

Support and updates for the mod can be found at http://aeva.noisen.com. Do not use its gallery system for your tests, though. The actual sandbox can be found here.If you find any issues, please make sure they have not been reported/fixed before reporting them!

What's the difference between Aeva Lite, Aeva Media 1.x and 2.x?- The Aeva Lite line is what used to be called 'Aevac', back several years ago. It has the auto-embedder module that no SMF forum can go without. You just post the URL of a YouTube video and it embeds automatically. You can do that for hundreds of different video websites. That mod had a life of its own, until I stopped working on it. No further features will be added to it.

- The Aeva Media 1.x line is the free version of the complete software. It has both the auto-embedder, and a full-featured gallery module that you can use for storing pictures, video, audio files, any type of document, and even remote videos using the auto-embedder. It was previously known as SMF Media Gallery.It is available to anyone, and is still is by far the best gallery software available for SMF. I'm only saying this because some people seem to think that since the new versions have gone commercial, the earlier software suddently turned bad overnight. I will release critical fixes and security updates to it whenever needed, so don't worry about that. It just won't ever have new features. Just fill your gallery with stuff and be happy with it. The only limit now, is your imagination.

- The Aeva Media 2.x line is where all my efforts will go now. It is only available to customers. This is also the only version I support, and the only version I work on. It gets RSS feeds, linked topics, user playlists (such as favorites), Javascript playlists (see), and plenty of things. The only limit now, is my imagination. And the size of your pockets.

How can I purchase version 2.x?Just register for an account at aeva.noisen.com (make sure to provide a valid e-mail address -- I'm not using them for anything, because I'm as privacy-conscious as you are), go to your profile page and select "Paid subscriptions". Follow the instructions.

Should I purchase it, really?It's up to you.- Do you like the software enough? Read the changelogs for the new line.- Do you want to be sure you'll get support from the author whenever you get a problem with your server?- Is your gallery making you some money? If yes, you may want to consider contributing.- The more copies I sell, the longer I'll work on this. If, like me, you think Aeva Media could turn over time into a megastructure with its own power supplies, ecology and government, then keep in touch.- Plus, you get the new versions. Cherry on top. And you know what happens when I work on this thing. I do stuff. It's magic.

Why did you switch to a commercial model?For several reasons. My first reaction was to stop providing support for Aeva Media entirely, after so many trollers and stupid people came to the official boards and made my life miserable for some time. I also never was made a moderator on this very board, which sounds silly when you know there would be no such board if I hadn't had such success with Aeva Media. I couldn't seriously provide support on a board where I can't control what trollers do.Then I stopped working on Aeva Media at all, after I resigned from my SMF Beta Tester position. After that, I got offered a developer position at SMF, and just didn't have the time to work on it. Then, to make things short, I realized some important information had been voluntarily concealed from me and I quit the developer group in protest. As I felt used, I considered removing all of my mods from the customization site and leave the SMF community entirely. My girlfriend suggested I should instead sell Aeva Media. Then forum users started saying my girlfriend's very smart. Yes she is. And you know what, women are always right anyway.

I don't care, I'm uninstalling!It's a free world... Heck, I've seen someone say that he'll switch to vBulletin as protest for Aeva Media going commercial. Have I news for you, vBulletin *is* the most commercial of all forum systems. But he's still free to be dumb.But now, what will you switch to? The alternative has to be free, right? So PhotoPost is out (and it's ugly anyway.)And it has to tie into SMF at least a bit. Let's see.- SMF Gallery. Its free version has less features than Aeva Media 1.x, and its commercial version, at $50/year, is way overpriced in my opinion. (I'm still entitled to an honest opinion, am I not?)- You can also use gallery mods that aren't tied into SMF at all. There are SMF bridges for Coppermine and Gallery2, for instance. Beware, though: these are complicated and buggy systems, too. I never managed to correctly setup Coppermine's permission system. And some people think Aeva Media's is complex! As for Gallery2, it takes hours just to upload its files, and you need to take a 2-year course just to change the default theme.- You may also wait for someone else to start making their own gallery mod. But then again, I worked fulltime on the free version for two years, with help from Dragooon for the first year. So it's worth three years of work. Who else would do that for free? Another Nao?

Really, I wouldn't be working on a commercial version of Aeva Media if I wasn't absolutely sure that the free version isn't already the best possible gallery mod available for SMF and can safely be used by anyone who can't afford to pay for a gallery mod. It's my signature move.

Why did you move the mod to another website?Because I'm a control freak. No, seriously, I'd been planning to do that for a very long time. I just think SMF's customization site is horribly made. For instance, just updating a file silently would reset its download counter. Power to the author! Plus, that allows me to use and showcase Aeva Media as a download manager, and get away from the influence of simplemachines. And finally, I can put my other mods into the same download page. Which is lovely. The sitelist is still available on the SMF mod site if you're using an old version of Aeva Lite.

Where can I do what?- The official place for Aeva Media 1.x support is here. The author might read the topic sometimes, and maybe even reply. No guarantees though.

- The official place for Aeva Media 2.x support is http://aeva.noisen.com (this is where you'll be getting priority support from the author.)

- The ONLY place for TESTING gallery features (and nothing else) is http://media.smf-media.com. You can see Aeva Media 2.x in action at http://media.noisen.com, but please don't create albums or post pictures just to test them. It's a live website and I don't want to annoy my users with that.

Installation answers:I'm running version x.xx of Aeva. Do I have to uninstall this before installing version y.yy?Always! Do make sure everything is deleted, before installing a newer or older version.

I updated Aeva, but videos are shown twice?You did not uninstall the old version the right way, didn't uninstall it at all, or the removal didn't go as expected. You will have to manually remove code that is left from the installation!

Embed Local Files - what does that mean?It means that Aeva can automatically embed files that are places on your webserver - under the same domain as where your SMF forum is installed.Just post the html link to the video like you would do with a Youtube video, and the video will be embedded.

I want to change the size of the embedded videos. How do I do that?You need to edit the Subs-Aeva-Custom-Example.php file, found in your ./Sources folder of your forum. Read it carefully!

Here's a quick guide:Rename Subs-Aeva-Custom-Example.php to Subs-Aeva-Custom.php and edit the new file only!To change the embeded size for vimeo, look for it in Subs-Aeva-Sites.php. Here's the first par of the code, belonging to Vimeo:

}Note! To make your changes take place, you have to go to the Admin center and save your Aeva Sites list!!!!!

Usage answers:Is there any way of adding permissions to users, or are there already permissions settings in the mod?There are no permissions in the mod, and there never will be.

external embedding disabled - what does that mean?It means that the site you are embedding the video from, do not allow people to embed the video on external webpages, as Aeva does. It is mainly because the creator of the video has chosen not to allow this. Nothing to do about it!

I want to get a video site added that you don't support with Aeva. What do I do now?You can add it yourself, by looking at the file Subs-Aeva-Custom-Example.php. You will find this file in your ./Sources folder of your forum. Read the help in the file carefully! You will have to have some knowledge of regex (don't ask if you don't know) to add your own sites.Nao will also do the job for you, but only by payment. Ask him!Do not edit the Subs-Aeva-Sites.php file where all the other embedded sites originally are added! The file is automatically updated once in a while. Your changes will get deleted! However, you can use that file to see how other embedded sites are coded.

Can my users force a video not to be embedded?You can use the [nobbc] tag to prevent embedding. If you have some text in front of the link on the same line, it should also not be embedded.To use the [nobbc] tag, post a video link as followed:[nobbc]somevideolink.com/embedded_link[/nobbc][/i]

Errors answers:

After installing this mod, my forum loads the pages much slower!The only reason for this should be if you, in your admin center, enabled embedding for all the sites that Aeva supports. When you save the Aeva Site list in the admin center, a file is (re)created with code for each enabled site on your list.With over 200 supported sites by Aeva, some slower servers will be stressed by this. The solution is to uncheck sites you don't think you have any need for. Go to Admin -> Features and Options -> Aeva Sites, then uncheck the sites you don't need. Remember to save by clicking the [Save] button in the bottom of the page!

The videos on my site are not the same size!Aeva embeds the videos in the same sizes as on the original pages of the videos. For sites like Youtube, the sizes varies depending on the quality level of the videos. You can tweak Aeva to use the sizes you want, by editing the file Subs-Aeva-Custom-Example.php.Do not edit the Subs-Aeva-Sites.php file where all the settings for each video site are! The file is automatically updated once in a while. Your changes will get deleted at some point!Read more here: I want to change the size of the embedded videos. How do I do that?

Some videos will show to some users, but others can't play them!Some sites like BBC do not allow embedding for users outside UK. So if you are on the wrong IP address, the files can be dissalowed for some users to see.

The videos for site xxx stopped working from one day to the next!Many sites change their site code from time to time. So one day, you will be able to embed from a site, the next day you won't. It's something we will have to live with.If a site goes dead, ask Nao if he can fix it.

may i suggest you add $context['aeva_disable'] = 1; in the MessageIndex.php

Indeed there are some parse_bbc() around line 480, which are needlessly using Aeva to parse content.On my board the time to generate the messageindex of boards which contained messages with included videos increased by 400%+

Simply adding the $context['aeva_disable'] = 1 to the MessageIndex.php, before calling the parse_bbc, fixed the issue.

w/o Patch"Page générée en 0.516 secondes avec 36 requêtes."

w/Patch"Page générée en 0.108 secondes avec 38 requêtes."

btwSame goes for Recent.phpThere are three lines where the messages get parsed just to get the first 128 characters out of it for summary purposes.

I did not disable the parse_bbc altogether in case i change theme in the future, yet i believe this is something worth mentioning for themes not using previews as the cost is quite high. The increase in page processing was puzzling at first until i understood what was happening.

I just wanted to stop by and say I am sorry for my earlier posts. I was foolish for not digging deeper before I asked. I see why you are frustrated now after reflecting on some of the posts I dug through after and monitoring this topic. I like the fact there are not 252 pages to sift through and that the first post is more obvious. That being said this post doesn't need to be posted really as long as Nao sees it to keep down the clutter.

@nbk> thanks I'm still unhappy having had to remove the whole YouTube quality changing functionality... It sucks @sepulchre> yes if you don't know how to update manually. No if you have some experience. Just update the modified files in their respective folders (beware, Aeva.english.php is in the root but must be put into your languages folder.)@tbk> you installed the new version without uninstalling first?

Logged

I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

kai, very odd indeed... I'm not getting this on my side. However, I'm getting an error nonetheless. In Subs-Aeva-Admin.php, add this at line 638:

Code: if (!empty($page))(Right before the settings_title line.)

It goes to show that ModifyAevaSettings() is called by the SMF search engine. I have absolutely no idea why, I never used that internal admin search engine. Is there anyone out there who could give me a clue?

I inserted the if (!empty($page)) code before the line as suggested but it still changes the browser title.

Has anyone else noticed the browser title changing in the admin search?