News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Media Gallery (SMG) - 2.0.5 is out! (December 2)

Started by SMGTeam, September 09, 2008, 03:14:05 PM

Previous topic - Next topic

Soms

Quote from: VitProg on December 16, 2009, 03:36:04 AM
How long to wait?

Have you tried reading this? Nao answered the question just yesterday. He probably knew you were going to answer the question today.  :P. Just try to read a few pages back if need to find something out. It is the same questions (with some variations) that are generally asked. So a few pages back, you are almost likely to get and answer and save space and time here.

Nao 尚

Not so fast ;)
Or maybe yes!

Aeva Media 1.0 Alpha

This is a TEST RELEASE. I plan on releasing a 'proper' version (through the official mod page) by this weekend. I just need to see if there's any issue arising from a wider sample of the user community, compared to my current beta tester group.
From the initial tests, everything has been going fine. It's better than Aeva and SMF Media Gallery in every way.

You can download the package in the Aeva topic:
http://www.simplemachines.org/community/index.php?topic=200401.msg2408242#msg2408242

How to install?

- Uninstall any version of Aeva, if installed.
- Uninstall any version of SMF Media Gallery, if installed.
- Delete both packages from your package list.
- Now we're clean.

- Upload the aforementioned package to your server via the Package manager.
- Install.

The upgrade program should be able to rename all your permissions and database fields successfully. If you install the mod manually, make sure to run db_aeva.php before trying to use the mod, otherwise it will crash your forum.

Also included in the above topic is a zip file with all converters (Coppermine, SMF Gallery Lite & Pro) updated for use with Aeva Media. Haven't tested them, though, but they should work (I didn't change anything else than the various table names and variables whose names were changed during the move.)

Below is the complete changelog. Aeva Media contains a MUCH improved SMG 2.0.5, so you won't be missing any feature from the current SMG package.

If you are only interested in the gallery features and don't want to offer an auto-embed system to your users, you can simply disable the auto-embed stuff in the related panel in Admin > Aeva Media > Auto-embed.

Version 1.0 Alpha                               December 16, 2009
-----------------------------------------------------------------
@ Rebranded SMF Media Gallery as Aeva Media, and integrated Aeva into the package.
  You need to uninstall both mods before installing this one, obviously. Also,
  I renamed pretty much all functions, variables, permissions, files and such
  to fit the new environment, so if you made any edits or added external code
  that relies on either Aeva or SMG, you'll need to update it. I wish translators
  good luck because they have a lot of work awaiting them... (Read Aeva.english.php
  for details. Use a file compare tool to ease your work.)

The wow-how-could-I-live-without-that stuff:

* Removed "General" and "User" album system. Now, all albums are user albums, and
  moderators can set them to "Featured" status (i.e. show them in the Media home page)
+ Album owners can now specify whether they want other users to be able to upload media
  to their albums. They can select them by membergroup or by giving a list of users.
  They can also specify users who are denied upload access, even if they're in an
  authorized membergroup. Just as for the regular viewing permissions.
+ Added support for description field in mass upload. Yaha, it only took minutes to add.
+ Added Quick Moderation on albums, for mass moving, mass approving, mass unapproving
  and mass deleting items in the page. I'm starting to wonder why I've been delaying
  these cool features for so long, when they only took so little time to implement.
+ In the album editor, show primary membergroups in bold, and check them by default
  when creating a new album, meaning all your users will be able to access it.
* Improved layout of many areas in Curve theme (SMF2 RC2)
* Aeva Media now has an entire dropdown admin menu of its own... It needed it!

The really, really cool stuff:

+ Added support for embedded videos in lightbox previewer on album pages
* Moved version number to inside the source files, rather than the database
  installer, in case you install your updates manually, like me. :P
! Rewrote much of the Mass Upload process' layout and features.
+ For instance, added automatic file sorting at selection time. You can sort by
  case-insensitive file names, file size or file date.
! In some situations, UTF8-encoded websites could return errors after a mass upload
  process, because the Flash uploader would return a BOM header.
* Moved album management features from admin area to regular area. The only difference
  now is that the admin area lists all albums, while the regular area only shows yours.
+ Added 'moderate_own_albums' permission to allow regular users to moderate their own
  albums, obviously. They can now approve and/or delete any comments on their albums,
  approve or delete any items on their albums (including those not posted by them),
  and delete their albums. Wooh, strong stuff. Use with caution.
* Modified all ';id=' URLs to use ';in=' instead. Instant mod_security fix! Deleted
  mod_security hack, as a result. Looked cool, had geeky code, no longer needed. Oh.

The neat stuff:

* Rewrote auto-embed copyright notice so it doesn't disrupt your regular copyright notice
* Changed a setting in aeva_listItems to allow for third-party pages to set a per-row
  limit for items (set it to 1 if you want a vertical list, for instance.)
- Finally got rid of these annoying 'user profiles' (quotas and permissions). Now, only
  admins can manage permission profiles. All existing user profiles can be edited by them.
+ Admins can now update the sitelist directly from within the admin area's
  Auto-embed section. The last check date is also specified.
+ Allow early overriding of Aeva Media settings through index.template.php's template_init()
  function and the $amOverride variable. You can see it in action at media.noisen.com
  where the number of items per row depends on whether the sidebar is enabled.
+ Added new API function (a function not used internally but for use in external pages),
  aeva_listMemberAlbums(int id_member), where you can get a quick list of albums for an
  owner, for use in a sidebar, profile, portal block or anything.
+ Show a small star next to Featured album names, in the complete album list.
* Renamed Gallery tab in main menu to 'Media', as it better fits the new direction.
! Check file size against quota before moving an item to a new album
! Fixed possible security hole in moderation panel

The who-cares stuff:

* Added a bolded warning in the admin area, about the checkorphans task breaking
  your gallery while it's running. Thought it might be worth mentioning, eh...
! When an admin changes aeva_unseen permissions, users will instantly see the outcome
  in the main menu, instead of having to go through an unseen item
* Added more checks for SMF2 to account for a bug in a Twitter mod
* In lightbox preview, Zoom option is now a circle with a + in the middle
- Removed SMF 2.0 Beta 4 compatibility. It's over a year old, time to move on!
! Changed the 'yes/no' system to a dropdown select box rather than radio buttons.
  The previous version is still in the code, commented out, if you want it back.
! Fixed URLs getting corrupted under embedded objects when they had a tilde in them
* Don't show the Permission/Quota Profile box if only the default one is available
! Fixed db_aeva.php's layout on SMF2, and made it CSS valid when run standalone
! Quota profiles are now clearly usable only by moderators and admins. This is
  because the default quota set will generally be lower than any extra profile
  (which would generally be used for VIP albums only, see?)
! SMF 1.1 + IE8 wouldn't recognize the browser as part of the IE family, thus choosing a
  different path code for embedded videos. Guys, how about switching to a real browser now?
! Gallery admin was viewable by admins, but not by regular users with gallery admin rights
+ Added new members field (aeva), which shall soon be used to store per-user settings.
- Trimmed about 100KB worth of comments from getid3 module -- left all links/credits
  in it, hopefully removed most of the rest. Should reduce the size of the package.
  If you have any problem with ID tags in the future, please tell me!
! Fixed a minor logic error when doing a mass download
! Fixed a buggy regexp in aeva_autolink_urls()

! And as usual -- fixed an AWFUL lot of minor bugs, and added an even more awful lot
  of minor features and optimizations which aren't worthy of being presented here.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.


ethankcvds

Installing Aeva Media on SMF 2.0 RC2 using postgreSQL you get the following error ERROR: relation "smf_aeva_albums" does not exist
LINE 1: UPDATE smf_aeva_albums SET featured = 1 WHERE type = 'genera...
^
File: {location}\Packages\temp\db_aeva.php
Line: 544
No Pm's for support please!

Nao 尚

ethankvcds, I don't know anything about PostgreSQL. Does anyone here know about it? What is forbidden by it? Is this a SMF or Aeva Media bug? (I'm only using authorized commands through SMF2...)

Anyway!

Aeva Media Prerelease #2 is out!
If you meet any problems with it, make sure to try prerelease #1. It's still early alpha, I can't guarantee it'll work out of the box!
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

Quote from: Nao/Gilles on December 17, 2009, 05:05:42 PM
ethankvcds, I don't know anything about PostgreSQL. Does anyone here know about it? What is forbidden by it? Is this a SMF or Aeva Media bug? (I'm only using authorized commands through SMF2...)
Ah, except for the renaming indeed...
You'll have to do it manually.

In PGSQL, it is:

ALTER TABLE smf_mgallery_albums RENAME TO smf_aeva_albums;

Same for all Aeva Media tables!
Then you can re-run the db_aeva.php file.

SMF Team-- any way to quickly rename all tables through SMF2 in a single query, like I do for Mysql?
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Arantor

Quote from: Nao/Gilles on December 17, 2009, 05:12:26 PM
SMF Team-- any way to quickly rename all tables through SMF2 in a single query, like I do for Mysql?

No. But there's nothing stopping you from sniffing the type from $db_type and issuing MySQL/PGSQL/SQLite specific commands to do this; remember, there isn't even a db_rename_table in $smcFunc.
Holder of controversial views, all of which my own.


ethankcvds

From what I've read there's a few issues. one of them being the use of uppercase or lowercase letters for table names. It seems that if you have a table with with an uppercase letter like SMF
your SQL statement has to be like this:

SELECT * FROM "SMF"


If your using lowercase letters the query has to be done like this:
SELECT * FROM smf

There's an other thing I was reading located at http://wiki.postgresql.org/wiki/FAQ#Why_do_I_get_.22relation_with_OID_.23.23.23.23.23_does_not_exist.22_errors_when_accessing_temporary_tables_in_PL.2FPgSQL_functions.3F though I don't know if that has anything to do with this.
No Pm's for support please!

Arantor

That's why we don't allow upper case names to be used in mods we approve... and also why 2.0's DB structure has everything in lowercase anyway.
Holder of controversial views, all of which my own.


perplexed

this is not smg related but am I the only one who sees the link in  ethankscvds's post as this bit hanging off the edge of the curve template?

ng_temporary_tables_in_PL.2FPgSQL_functions.3F  though I don't know if that has anything to do with this.

instead of wrapped inside the post box?

Arantor

It's a very long link.

For me, in Chrome 4, I see a scrollbar.
Holder of controversial views, all of which my own.


perplexed

ah ok in firefox it bleeds off the end of the screen, should that happen?  Need I report it somewhere?  I don't want to hijack this thread with non-smg problems

Arantor

If you copy/paste that link into a fresh RC2 installation, does it still do it? Remember, we're not using RC2 Public here.
Holder of controversial views, all of which my own.



Arantor

So, assuming it's RC2, what version of Firefox are you using?
Holder of controversial views, all of which my own.



Arantor

Hmm, yes, it's not just beta versions it seems, it's also in earlier versions (happens to me on 3.0.16)

And it still happens in the (almost) latest dev build.

Might want to see if that's already been reported as a bug and if not, report it because it seems like a bug.
Holder of controversial views, all of which my own.


phantom5

#5398
hopefully someone can help me out with this.

http://mysite/index.php?action=mgallery;sa=media;mid=221;upcook=YTo0OntpOjA7czoxOiI...

8: Undefined index: mgallery_unseen
File: /httpdocs/Sources/MGallery.php
Line: 138

on that section is:
'unseen' => array(
         'title' => $txt['mgallery_unseen'],
         'icon' => 'eye.png',
         'enabled' => mgalAllowedTo('access_unseen'),
         'file' => 'MGallery-Sub.php',
         'function' => 'MGal_unseen',
      ),

138 is title=

what does this error mean?

Nao 尚

It means your language file is not up to date. (And it's probably very old, given that this string has been in there for some time!)

@To everyone: Aeva Media is now available on the Aeva SVN -- meaning the latest commits can be accessed by *anyone*. Just remember that you NEED to recompress the TGZ file that you will download, if you want the SMF package manager to be able to install it (this is because SMF doesn't support TGZ files created by the PEAR library -- it will crash the install process.)

Just go to http://smf-media.com/community/ and click on the SVN link in the menu. Then click 'Aeva' and you're there. Click on 'Download' on the first link that shows up (or 'Create' if there's no 'Download' link for the latest revision, then 'Download'.) Decompress, recompress, upload, install (remember to make sure any earlier versions of Aeva and SMF Media Gallery are uninstalled first, of course.)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Advertisement: