News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

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

Loginsvarios

Quote from: Bugo on September 26, 2010, 06:51:06 AM
Try find in Subs.php:
(isset($txt['aeva_gallery']) ? $txt['aeva_gallery'] : 'Media')
and replace with:
'Galeria'
I changed all that line but in the "Modifications.spanish_es-utf8.php" file... and it worked!

Thanks a lot for your help.  ;D

MordyT

Quote from: MordyT on September 12, 2010, 06:07:16 AM
Roght, this one is a real dozy to me. I recently changed domain names. First thing I did was run repair_settings.php, then I updated the theme paths.
Lastly I went into aeva settings and updated the paths there, but all the pictures appear to be corrupt?
Bump...
Want to see SMF in action? Head over to RvOClan.info

Oya

mordyt - did you use filezilla to download and reupload your attachments?

if so http://www.simplemachines.org/community/index.php?topic=374178.0 might explain the problem

Angelotus

Hi,

I use this code to fetch the latest pictures from all SUB albums in album X:



function template_latestfoto2($limit = null, $start = null, $output_method = 'echo')

{

global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;   
global $smcFunc;

   if ($limit === null)

      $limit = isset($_GET['limit']) ? (int) $_GET['limit'] : 5;

   else

      $limit = (int) $limit;

   if ($start === null)

      $start = isset($_GET['start']) ? (int) $_GET['start'] : 0;

   else

      $start = (int) $start;

   $limit = max(0, $limit);
   $start = max(0, $start);

   $dbresult = $smcFunc['db_query']('', '     
   SELECT a.id_media, a.id_member, a.member_name, a.id_file, a.id_thumb, a.id_preview, a.type, a.album_id, a.rating, a.title, a.description, a.approved, a.views, a.time_added, a.num_comments, f.id_album, f.name       
   FROM {db_prefix}aeva_media AS a
   LEFT JOIN {db_prefix}aeva_albums AS f ON (f.id_album = a.album_id)
   WHERE a.approved = 1 
   AND (a.album_id = 27
   OR f.parent = 27)
   ORDER BY a.id_media
   DESC LIMIT ' . $start . ', ' . $limit . '
   ');   
   
   
   echo '<table class="collapse">
         <tr>
         <td valign="top">';
       
   while ($row = $smcFunc['db_fetch_assoc']($dbresult))   
   { 
     
         echo '<div class="eventpic">
   
<a title="' . $row['title'] . ' in album ' . $row['name'] . '" href="' . $scripturl . '?action=media;sa=item;in=' . $row['id_media'] . '">
<img src="http://www.weeklyfun.nl/forum/MGalleryItem.php?id=' . $row['id_media'] . ';preview"/>
</a><br />

<b>Foto:</b> ' . $row['title'] . '
<br />
<b>Views:</b> ' . $row['views'] . '
<br />
<b>Album: </b> <a href="http://www.weeklyfun.nl/forum/index.php?action=media;sa=album;id=' . $row['id_album'] . '">' . $row['name'] . '</a>

<>';

   }   

echo '</td></tr></table>';

$smcFunc['db_free_result']($dbresult);
}


How can I modify this code so I get the latest ALBUMS and within that album the latest 4 PICTURES.

Something like this:

[LATEST ALBUM]
[LATEST PIC IN ALBUM]
[LATEST PIC IN ALBUM]

[ALBUM]
[LATEST PIC IN ALBUM]
etc

Can anyone please help me out with this?

MordyT

Quote from: Oya on September 26, 2010, 09:11:12 AM
mordyt - did you use filezilla to download and reupload your attachments?

if so http://www.simplemachines.org/community/index.php?topic=374178.0 might explain the problem

That might be it right there. If fact, I am willing to bet that is it.
The problem is that my old site is gone and all I have is the backups which I transferred, using the bad setting. Since I can no longer download the files with "Treat files without extension as ASCII file" unchecked, if I upload them with it unchecked, will it work? Or since they were downloaded a bad format, they are gone for good?
Want to see SMF in action? Head over to RvOClan.info

Oya

if they were downloaded like so they are now corrupted and it is not readily possible to fix them

MordyT

Quote from: Oya on September 26, 2010, 09:15:07 PM
if they were downloaded like so they are now corrupted and it is not readily possible to fix them
Ok. Thanks for your help. Wish I knew this before...
Want to see SMF in action? Head over to RvOClan.info

MrBiggz

Hi!

My question is about Permission Profiles in Aeva.  Do you need just one?  It has 'default and default profile.'  I'm kind of fuzzy on why you would need more then one since you can limit what each user can do in a single profile.  Then a user has the option to select which profile they want to use.

Can somebody put me on the path?  I haven't deleted anything yet! =)

Thanks for the insight!

lalokupfer

Mass Upload Flash Error 2049

I instead Aeva 1.1 Gallery the latest free version...
When I try to do Mass Upload I get the following error.
I tried to research in the internet and added as well the crossdomain.php to my root directory, however I still get the same error message

Here is the error:
"The Flash upload module sent the following error.

Error type: uploadError
Error ID: file0

Error message: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2049"]
"

What should I do

Kindred

MrBiggz, I will assume that you upgraded form a previous version?   If so, the two profiles are due to the fatc that Nao changed the way that "user owned galleries" were handled.  One profile would be the old "default" and the other would be the old "user owned" profile.
Сл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."

MrBiggz

Quote from: Kindred on September 27, 2010, 10:45:37 AM
MrBiggz, I will assume that you upgraded form a previous version?   If so, the two profiles are due to the fatc that Nao changed the way that "user owned galleries" were handled.  One profile would be the old "default" and the other would be the old "user owned" profile.

No, this is a fresh install!  I've crashed this board testing and getting familiar with it twice and being this the third time installing stuff it shows up everytime (the default and default profile).  Ok, so the short of it is I only need one (1) profile! Correct?

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."

NoFeaR / NFSMW

With what should i convert my video so that everyone can view it like on youtube? It should have a reasonable size.

Spoogs

just the link to the video is fine...
simplest thing is copy the link from the url address bar or click the share button and copy that code

dunny

Hi Everyone, hope someone can help with this.

I've created a new site at http://www.bsac1084.co.uk.  Aeva Media 1.3a is installed.  When I was first developing the site I hadn't yet bought the domain, so in the forum and aeva settings I was using the IP address in order to access the site E.g. http://65.98.100.178/~bsac1084/

This worked fine and I uploaded an album to show people how Aeva worked.  Since then (this was probably a month ago) I have bought the domain and transferred it to the site.  So now all the paths (forum and Aeva) read http://www.bsac1084.co.uk/...

Today when I tried to use the mass upload to a new album I got this error:

QuoteThe Flash upload module sent the following error.

Error type: uploadError
Error ID: file0

Error message: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2049"]

After much googling it seems to be something to do with the domain names, so either specifying www or not in the forum and aeva settings.  I've tried both, and even tried using just the IP address for Aeva only and I still get the same problem.

I have another site at http://albertpark.org.uk which uses Aeva media 1.3 and that works fine so I know its not something which my hosts have done since they exist on the same server.  So does anybody have any ideas?  Should I try a downgrade to 1.3 or an upgrade to 1.4?  There seems to be a lot of talk about a crossdomain.xml file but I don't think that is relevant in my case.

Update
If I browse to the site so http://65.98.100.178/~bsac1084/ and then try to upload photos it works.  So it looks like its got something to do with the domain name.

Hope someone can help

Phil

NoFeaR / NFSMW

I took a video with my phone and uploaded it then it doenst play, thats why i asked if there is any way to convert it to a smaller watchable file.

Jason kiDD

 :) Great mod

tfs

Quote from: NFSMW on September 30, 2010, 06:02:40 AM
I took a video with my phone and uploaded it then it doenst play, thats why i asked if there is any way to convert it to a smaller watchable file.

I've been using one called WinFF which I'm quite happy with.
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

YogiBear

SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

The Wizard

I know this is a really, really dumb question, but I just can't find it so i'm DUMB.........

How do make Aeva Media my index page? I think there is a option to switch the smf index page, but I can't find it.

Thanks for helping

Wizard

Advertisement: