General support topic for Aeva Media (Latest release: July 28, 2010)

Started by Nao 尚, October 14, 2007, 04:28:15 PM

Previous topic - Next topic

petesky

Just installed SVN150.

Installed on: 22-06-2009, 16:34:06
Installed version: 1.0 Alpha 3
Latest version: 1.0 Beta 1


You should put an auto update feature in the package  ;D

There is also an sprite error in top menu - right side; see attached graphic.

Nao 尚

Link to mod

Aeva Media v1.0 Beta 1 is out!

At last! This is the first version I consider safe enough to be installed on a live server!


CHANGELOG
Version 1.0 Beta 1                               January 12, 2010
-----------------------------------------------------------------
+ Added a MUCH requested feature, the ability to change an album's owner
  from within the album edit page! Yay! Time to celebrate.
+ Rewrote mass upload Javascript to give warnings or error messages (and cancel
  uploads accordingly) if a file is larger than the allowed quota, or larger than
  what the php.ini settings allow for. Oh, this is SO going to help tech support!
+ Added similar support, although very basic, to single file uploads. Only for FF,
  Safari and Chrome, as no other browsers support filesize check in JS for now.
! The entire Mass upload process is at last available for translation
! Implemented descriptions manually for all 3 tabs in the admin area that
  don't have a subsection and thus didn't show a description.
! Fixed item titles for a more accurate limitation to 255 characters
! Fixed album names to correctly limit them to 80 characters, or at least as much
  as AM can cram into a 255-byte string when UTF8 is converted to entities.
! Fixed physical size limits in the database being reached for UTF8
- Deleted member_name field from albums table, as it was unused, and made
  sure to show "Deleted User" when an album's owner account can't be found.
* In the admin area, forced showing php.ini size settings in megabytes
* Made sure that all albums show up for admins when using the Add Album
  feature from the admin area (as opposed to the regular Add Album version.)
! Per-filetype local embedding settings couldn't be saved
! Couple of minor fixes


PS: 42!
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.

petesky

A new version (1.0 Alpha 3) is available!
Current version: 1.0 Beta 1 (Check now)
Last checked: Heute um 12:28:11

Please look at my issue in SVN150 one post berfore yours.

Kindred

Quote from: kr5323 on January 12, 2010, 08:48:42 AM
Can I add AEVA through IFRAME code to the tag bbc forum to use the iframe in posts?

I use SMF 2.0 RC2, theme default.

why would you want to do this?

1- iframes are bad coding, especially with php/session based sites.
2- there is both a standard BBC for Aeva gallery images as well as img tag code.
3- Aeva embed works without iframes.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Nao 尚

Quote from: petesky on January 12, 2010, 11:50:54 AM
A new version (1.0 Alpha 3) is available!
Current version: 1.0 Beta 1 (Check now)
Did you click the Check now button?
Because it pretty much stores the "latest version" number in memory until you click Check Now...

QuotePlease look at my issue in SVN150 one post berfore yours.
It's not an error... It's a trick I've been forced to implement so that Aeva Media remains compatible with the changes in SMF2 RC3. I didn't ask for them :P
I admit it looks bad! But how am I supposed to figure out the difference between RC2 and RC3... :(
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 尚

rev 152
! Okay, I don't want curved corners on the header THAT BADLY... Removing them for compatibility with old cr..SMF versions. (Aeva.template.php, style.css)

Updated Beta 1 package with it. If anyone if the 13 earlier downloaders has SMF1 installed, please update. This update restores the usual header design. (I think.)
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.

Hoodie

Quote from: Nao on January 10, 2010, 03:04:00 PM
You're welcome, lorenzo. Thanks Francis.

Dismal, I think the culprit is 'subaccounts'. I've downloaded it and can confirmed at least this one will add the incompatibility. I've sent a fix to SlammedDime but he'll have to implement it in his mod.

I'd recommend to uninstall Aeva Media, then uninstall subaccounts, then reinstall Aeva Media, then reinstall subaccounts if you need it badly, or don't reinstall subaccounts and wait for an update. (As long as it hasn't been fixed, you'll always need to uninstall AM before you upgrade subaccounts... Which kinda sucks.)

Can you post this change as I'm not figuring it out and he hasn't updated his mod..  I know the install of the mod but the aeva_comments and aeva_items are in my Load.php..  I'm not seeing why they aren't getting called though..

saks

Quote from: Nao on January 12, 2010, 09:11:19 AM
- Watermark: in my to-do-list. Not for Aeva Media 1.0. One thing at a time.
Ok! It will be very useful addition to AM
Quote from: Nao on January 12, 2010, 09:11:19 AM
- Rotation: I never found a satisfying solution to do that. ImageMagick has a function to losslessly (?) rotate a picture, just like software such as ACDSee, but AM is mainly based on GD2 which doesn't have it, so I don't use it. There are rotation functions here and there, but they lose data, so I'm not using them either. Finally, there's the issue of that rotation flag in Exif: I never got it to work correctly. At least on pictures I took myself.

   It would be very convenient to have the button - rotate on 90 degrees, rotate on 180 degrees. Because not experienced users load a photo and are not able to overturn them independently in other programs.
   This possibility is more important, than small loss of quality. As it will become once at image loading.
I have found function which can rotate the image on the set corner. I will be glad if it appears for you useful

           <?php
         
function imagerotate(&$img, $ang, $bg=FALSE, $width=FALSE,
                               
$height=FALSE, $bench=FALSE) {

          if(
$bench) $time = microtime();
          if(!
$bg) $bg = imagecolorallocate($img, 255,255,255);
         
// size of the image
         
$src_w = imagesx($img);
         
$src_h = imagesy($img);
         
// reduce angle
         
while($ang > 180) $ang = $ang-360;
          while(
$ang < -180) $ang = $ang+360;
         
// angle > 90°
         
if($ang > 90) {
             
imagerotate($img, 90, $bg, $src_h,$src_w);
             
$ang = $ang - 90;
          }
          elseif(
$ang < -90) {
             
imagerotate($img, -90, $bg, $src_h,$src_w);
             
$ang = $ang + 90;
          }
         
// image size
         
$src_w = imagesx($img);
         
$src_h = imagesy($img);
          if(
$ang != 0) {
             
// Transfer of degrees in radians
             
if($ang > 0) $wrad = deg2rad($ang);
              else
$wrad = deg2rad((-1*$ang));
             
$sin = sin($wrad); if($sin < 0) $sin*=-1;
             
$cos = cos($wrad); if($cos < 0) $cos*=-1;
             
// image size after rotate
             
$dst_w = (int) ( $sin*$src_h + $cos*$src_w );
             
$dst_h = (int) ( $cos*$src_h + $sin*$src_w );
              if(
$dst_w < 0) $dst_w *= -1;
              if(
$dst_h < 0) $dst_h *= -1;
             
$scale_x = (int) ( $width/$dst_w );
             
$scale_y = (int) ( $height/$dst_h );
             
// We create the image and we establish colour of a background
             
$dst_img = imagecreatetruecolor($dst_w, $dst_h);
             
imagefill($dst_img, 0,0, $bg);
              for(
$i=0; $i<$src_h; $i++) {
                  for(
$j=0; $j<$src_w; $j++) {
                     
// We receive a new position of pixel
                     
if($ang > 0) {
                         
$dst_x = (int) ( $sin*($src_h-$i) + $cos*$j );
                         
$dst_y = (int) ( $sin*$j + $cos*$i );
                      }
                      else {
                         
$dst_x = (int) ( $sin*$i + $cos*$j );
                         
$dst_y = (int) ( $sin*($src_w-$j) + $cos*$i );
                      }
                      if(
$scale_x != 0) $dst_x = $dst_x*$scale_x;
                      if(
$scale_y != 0) $dst_y = $dst_y*$scale_y;
                     
// We receive colour of the given pixel
                     
$col = imagecolorat($img, $j, $i);
                     
// We draw pixel (it is drawn two pixels for time to avoid
                       //occurrence of gaps/windows)
                     
imagefilledrectangle($dst_img, $dst_x,$dst_y, $dst_x+1,$dst_y, $col);
                  }
              }
             
// It is necessary to take sample
             
if($width!==FALSE && $height!==FALSE && ($width!=$dst_w || $height!=$dst_h)) {
                 
$new_img = imagecreatetruecolor($width, $height);
                 
imagefill($new_img, 0,0, $bg);
                 
imagecopyresampled($new_img, $dst_img, 0,0,0,0, $width,$height,  
                                     
$dst_w,$dst_h);
                 
imagedestroy($dst_img);
                 
$img = $new_img;
              }
              else
$img = $dst_img;
          }
         
// It is not necessary to turn, only to take sample
         
elseif($width!==FALSE && $height!==FALSE && ($width!=$dst_w || $height!=$dst_h)) {
             
$dst_img = imagecreatetruecolor($width, $height);
             
imagefill($dst_img, 0,0, $bg);
             
imagecopyresampled($dst_img, $img, 0,0,0,0, $width, $height, $src_w, $src_h);
             
$img = $dst_img;
          }
         
// It is necessary to do nothing
         
else $img = $dst_img;
          if(!
$bench) return;
         
// Unessential part of the module which deduces the given works of function
         
elseif($bench == "IMAGE") {
              list(
$usec, $sec) = explode(" ",microtime());
             
$etime = (float)$usec + (float)$sec;
              list(
$usec, $sec) = explode(" ",$time);
             
$etime -= (float)$usec + (float)$sec;
             
$etime = substr($etime, 0, 7);
             
imagefilledrectangle($img, 0,0, 42,12, imagecolorallocate($img, 255,255,255));
             
imagestring($img, 2, 0,0, $etime, imagecolorallocate($img, 0,0,0));
          }
          elseif(
$bench == "STRING") {
              list(
$usec, $sec) = explode(" ",microtime());
             
$etime = (float)$usec + (float)$sec;
              list(
$usec, $sec) = explode(" ",$time);
             
$etime -= (float)$usec + (float)$sec;
              return
$etime;
          }
          }
         
?>

QuoteSo, function imagerotate. Syntax:

   imagerotate($img, $ang[, $bg[, $width, $height[, $bench]]]);

   $img - The image which is necessary for rotating.
   $ang -  Turn corner
   $bg (option) - an index of colour of a background (on-default: white)
   $width and $height (option) - The image will be led to this size. Use of both parametres together is obligatory!
   $bench (option)
   "STRING" Returns time necessary for to execute function.
   "IMAGE" Will place a small mark with time for the image.
   Approximate time of performance of function at the image size 250x200px
   At turn <90° Makes about 1 second; at turn on
   Corner >90° - ~2 seconds
! This function works only with images JPEG!
If in the comment to specify, that quality of the image at turn can worsen and that turn works only for files JPG, I think it will be quite comprehensible

Nao 尚

Uh np, but you'll have to do the edit yourself next time you reinstall AM...
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 尚

Just posting to see if a moderator can check for new posts... I'm getting used to seeing no feedback when there actually is some, but unapproved. And then I have to answer 17 messages at the same time ;)
And since Aeva Media is now in 'semi stable' status (i.e. can be installed on live servers), I'm anxious to know if everything's working for everyone!
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.

MissyNL

Hello... maybe a stupid question.. but is there a way to disable the download??  thanks!
Sorry for my poor English, but i think it's probably better then your Dutch :)

~DS~

Quote from: Nao on January 12, 2010, 04:39:12 PM
Just posting to see if a moderator can check for new posts... I'm getting used to seeing no feedback when there actually is some, but unapproved. And then I have to answer 17 messages at the same time ;)
And since Aeva Media is now in 'semi stable' status (i.e. can be installed on live servers), I'm anxious to know if everything's working for everyone!
Well, it's working great on my end. No error logs relating to Aeva. (after I have uninstall subaccount)  ;) Great job
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Nao 尚

@missynl> Permission profiles!

@dismal> Great :) Maybe I can finally end SMG support on my side. I'll wait for a few more days before I make a decision. (I just have a hard time supporting SMG, AM and Aeva all at the same time...)
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.

Hoodie

I'm not getting anything different..  Here's my Load.php and the here are the errors:


http://charger-nation.automotive-nation.com/index.php?pretty;action=admin&amp;area=aeva_about;ccde7159f=d68d83759e1bf2983dc46cacc967a290
8: Undefined index:  aeva_items
File: /home/automot5/public_html/sites/charger-nation/Sources/Load.php
Line: 1463


http://charger-nation.automotive-nation.com/index.php?pretty;action=admin&amp;area=aeva_about;ccde7159f=d68d83759e1bf2983dc46cacc967a290
8: Undefined index:  aeva_comments
File: /home/automot5/public_html/sites/charger-nation/Sources/Load.php
Line: 1464

Spacecadet

I get this message when I go into the manage members area and click on a user. any ideas?

Fatal error: Cannot redeclare aeva() (previously declared in /home/content/y/i/p/yippydoo/html/karaoke/forum/Sources/Profile.php:3065) in /home/content/y/i/p/yippydoo/html/karaoke/forum/Sources/Profile.php on line 3095

Arantor

That means the Aeva mod has been partly installed twice. Best thing to do is ask in the Aeva mod's dedicated thread in the Aeva Media board.
Holder of controversial views, all of which my own.


dkharp

Hello, This is a great mod!  Thank you.  I created a regular users w/ proper permissions to create albums. When I try to create a album as a regular user I get this error.

Quote
Apply Filter: Only show the error messages of this URL
http://mogunowners.com/index.php?action=media;area=mya;sa=add
Apply Filter: Only show the errors with the same message
The database value you're trying to insert does not exist: album_of
Function: aeva_db_insert
Apply Filter: Only show the errors from this file
File: /home/content/j/o/h/johnnyskid/html/missourigunowners/Sources/Aeva-Subs-Vital.php
Line: 231

it wont let me create a user album as a regular user. I get the above error. Can you help?

Spacecadet

Moderators im going to repost this in the Aver media section, please merge the threads if you can. TY

Spacecadet

#1279
I have a problem!

I get this when I click on a user name in the manage members area:

"Fatal error: Cannot redeclare aeva() (previously declared in /home/content/y/i/p/yippydoo/html/karaoke/forum/Sources/Profile.php:3065) in /home/content/y/i/p/yippydoo/html/karaoke/forum/Sources/Profile.php on line 3095"

I also have two buttons that say media on my menu. Oh yes It also posts each video 2 times whenever I enter a url. Any ideas?


Advertisement: