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

chep

Quote from: Angelotus on March 10, 2010, 05:10:03 AM
Nao, quick question.
I have seen it is possible when adding a new album to make it a subalbum of a maincategorie.
But it is not possible when editing an album to put that album as a subalbum in a maincategorie, or is it?

I didn't see anything about categories. Where did you create "categories" specifically? I have seen that you can create "Featured Albums". I have a feeling you are talking about "Featured Albums" and not categories. Or perhaps I missed some functionality...

I would imagine only those with the proper permissions should be able to mark an album "Featured Album". My guess is that it would fall under SMF--> Admin-> Permisssions --> Modify Group --> Administrate Gallery???. When I edit an album which is not currently set to "Featured Album" I see the option to mark it as a "Featured Album".

TurtleKicker

Quote from: Dismal Shadow on March 10, 2010, 03:46:58 AM
I want to post a bug.

On posts it wont embed, but when I reply or quote it show a embed video...

UPDATE: Weird it keep adding # at the end of the video on its own.

Update for me: I've noticed the same thing. It shows in previews for the first post, or actual replies to the first post, but in the first post the video won't embed after its been posted. And I'm getting the extra # bit at the end too.

Angelina Belle

Quote from: AngelinaBelle on March 10, 2010, 09:27:22 AM
But now, in the real forum on the same server, I'm getting Error 2049.

I don't know why it was a problem in one forum and not in the other, but simply putting a crossdomain.xml file in the ftp root solved the problem.
http://swfupload.org/forum/generaldiscussion/193
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Tiribulus

Oh, yeah, another flawless upgrade. Didn't require even one manual edit this time.

The slideshow is quite nifty, but the ability to do multiple itemized moves and deletes is positively fabulous! Great work as usual. I forgot to thank you for changing the goofy arrow symbols to ZOOM in the highslide outfit as was discussed some months ago. Very nice. I don't have to do it myself any more :)

Angelina Belle

Here's another stupid newbie question.
Why is Administrator the only user who can see my gallery?
I want all registered users, and also all the guests, to be able to see all the items in the publicly-viewable albums.

What am I missing?


AEVA user Permissions are set in Admin>Permissions.
Maybe this could be in the FAQ?

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Nao 尚

This isn't only linked to the data directory path setting... It can also be due to AeMe being unable to create album folders due to wrong file permissions on your server, for instance.
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 尚

Don't worry about me guys, I'm just ill, I'm not bed-ridden... I spent my break playing Dragon Quest 7, so I can still think. I guess I'm feeling the after-effect of last weekend's small drama.

I don't know where to start, with posts everywhere here and on noisen... :-\

@Rafferty> Is Highslide disabled on your setup? Embedded videos are only counted when viewing them via Highslide. This is to avoid having two view counts when viewing through HS and then clicking the More Details link to read comments etc. I know I should make sure the view count is increased on page visit if HS is disabled, but... How can I say that... Is that really so important? Just enable HS, your users will thank you for that.

(As a reminder, though -- if your website is 'commercial', you are supposed to buy a commercial license from highslide.com. It is not free software, although in most uses, it will not require a license.)

@Tiribulus> Multiple items via HS is something I could have allowed long ago, actually. It just took an extra 2KB of code in the JS file and I really wanted to keep its size to a minimum. Since I had to use a much larger version to support the slideshow system, I said to hell with it, and I included all of the features in HS.
No problem for the Zoom link. I didn't like how it looked before either.

@AngelinaBelle> Yes, that would be the thing, although 2049 is a general Flash error, it is generally due to crossdomain issues. You can also bypass the need for a crossdomain file by harmonizing all of your subdomains in the SMF admin. (Most especially in your Themes settings.)

@chep> I think he's talking about empty parent folders. They serve as category separators in themselves. And yes, it should be possible to change the album positions after creating them, but you need to go to the "My Albums" link and change their positions there. It's easier to do there, if only because you can choose the new position inside a graphical list.

@Re: Mass Upload, I've noticed last week that it seems to be broken on Opera 10.50. I haven't found the reason yet, as Opera's Dragonfly Javascript debugger doesn't even notice a problem by itself...

@saks> I see no problem on your site. Also, it says v1.0... Did you revert? If you do this kind of thing, tell me beforehand so I don't waste time testing... :-\

@Dismal> I don't have this bug myself.
Also, the # sign is added automatically by the auto-embedder to mark the video as looked up. If it doesn't find # in the URL, it will try to look it up every time. # means that the video was then parsed correctly by AeMe. The problem appears later. Maybe you disabled YouTube in the sitelist after posting the video...?

@Angelina²> The FAQ is for Aeva (auto-embedder), not Aeva Media. It was written by Akyhne, who no longer participates here. I have a long list of items to put into a FAQ of mine, but it takes time and dedication to set it up. Maybe if someone wanted to help... I could send them the list. They would just need to write something that can be understood both by experts and n00bs. I will then check it out and make corrections if needed.
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.

Angelotus

Hey,


After succesfully installing this excellent mod, I want to make use of some new SSI functions, to show some aeva things on my frontpage (outside SMF).


I have this function that calls the approved featured not hidden albums.


function ssi_GAL_aeva_main()


{   


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


   echo '<table class="collapse">
         <tr>
         <td valign="top" style="padding: 5px;">';


   $dbresult = $smcFunc['db_query']('', '     
   SELECT a.description, a.icon, a.parent, a.num_items, a.id_album, a.hidden, a.approved, a.featured, a.a_order, a.name, a.album_of, a.child_level, a.master       
   FROM {db_prefix}aeva_albums AS a 
   LEFT JOIN {db_prefix}aeva_files AS f ON (f.id_file = a.icon)
   WHERE a.approved = 1   
   AND a.hidden = 0
   AND a.featured = 1
   AND a.child_level = 0
   ORDER BY a.name
   ASC LIMIT 50
   ');   


   echo '   
   <div class="frontpage_post_head">
   <h3>Categoriën Fotoalbums:</h3>
   <>
     <table class="collapse">
   <tr class="titlebg">
   <td valign="middle" colspan="2" align="left" style="font-size: 9px; padding: 5px;">Category</td>
   <td valign="middle" align="right" style="font-size: 9px; padding: 5px;">Items</td>
   </tr>';


        $use_bg1 = false;
   while ($row = $smcFunc['db_fetch_assoc']($dbresult))   
   { 
   $use_bg1 = !$use_bg1;
         echo '<tr class="', ($use_bg1 ? 'windowbg10' : 'windowbg20'), '">';


   echo '
   <td align="left" width="64" style="padding: 5px;">
   <a class="normal" title="' . $row['description'] . '" href="' . $scripturl . '?action=media;sa=album;id=' . $row['id_album'] . '"><img src="' . $scripturl . '?action=media;sa=media;id=' . $row['id_album'] . ';icon" height="64" width="64" border="0" /></a></td>
   <td align="left" style="padding: 5px;"> <a class="normal" title="' . $row['description'] . '" href="' . $scripturl . '?action=media;sa=album;id=' . $row['id_album'] . '"><h3>'.$row['name'].'</h3></a>
        ' . $row['description'] . '
   </td>
   <td align="right" style="padding: 5px;"><b>'.$row['num_items'].'</b></td>
   </tr>';


   }   


   echo '
         </table>';
     
     
$smcFunc['db_free_result']($dbresult);


   echo '</td>
         <td valign="top" style="width: 166px; padding: 5px;">
         ', template_GAL_aeva_latestitems(10), '
         </td>
         </tr>
         </table>';
}



Now, I would like to add the childalbums underneath the album description. But how do I have to do that? Can someone help me out with this? Thanks in advance!

TurtleKicker

Quote from: Nao on March 10, 2010, 02:40:31 PM
Maybe you disabled YouTube in the sitelist after posting the video...?
It's not a matter of disabling YouTube. Like I said, I'm experiencing the same problem too, and it's not limited to Youtube.

Basically: videos don't embed if they are the first post

They do embed on replies, and they do show as embedded during edit previews of the first post (just not after submit). Have tested with both Youtube and Google Video so far.

Nao 尚

There's an API function in AeMe that already does the showing of items... aeva_listItems()
And for listing them (using the same format), aeva_getMediaItems() (IIRC.)

No ability to show sub-albums, though. Seems uncalled for, to me...
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.

imrich

Quote from: sremick on March 10, 2010, 02:51:15 PM
Quote from: Nao on March 10, 2010, 02:40:31 PM
Maybe you disabled YouTube in the sitelist after posting the video...?
It's not a matter of disabling YouTube. Like I said, I'm experiencing the same problem too, and it's not limited to Youtube.

Basically: videos don't embed if they are the first post

They do embed on replies, and they do show as embedded during edit previews of the first post (just not after submit). Have tested with both Youtube and Google Video so far.


Yes, I'm seeing the same thing.

First post... video is not embedded, yet I see a # added to the URL.

Reply... video is embedded just fine! :)

Also, on the first post, if I go back and edit the post, then click 'Preview', the video embeds perfectly in the preview. But if saved, no embed again.


Nao 尚

I think I've found the reason for videos not embedding in the first post of a topic...

Actually, it also requires for the first post NOT to have a signature.
Am I right?

From what I gather, the bug is due to a change in parse_bbc() that I myself requested.
http://dev.simplemachines.org/mantis/view.php?id=4102

The bug dates back to last December, so it was already in 1.0 Betas and 1.0 Final. Why wasn't it spotted earlier, and several users noticed it on the same day...?

Anyway-- this means I'll have to update the install script, I guess.
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 on March 10, 2010, 04:25:12 PM
The bug dates back to last December, so it was already in 1.0 Betas and 1.0 Final. Why wasn't it spotted earlier, and several users noticed it on the same day...?
...Because RC2 dates back to before December. (Silly me.)

SVN rev 231
- Removed specific install code for signatures, as sigs were already accounted for in the parser, and it actually added a glitch in SMF2 RC3. (install-both.xml)

You can also simply open Load.php and remove this code:

// Aeva - START
// Prevent embedding in signatures
$context['aeva_disable'] = 1;
// Aeva - END


I don't think it should break anything else... (Heck, I *hope* so, at this point.)
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.

TurtleKicker

Quote from: Nao on March 10, 2010, 04:25:12 PM
Actually, it also requires for the first post NOT to have a signature.
Am I right?
I can confirm this.

QuoteThe bug dates back to last December, so it was already in 1.0 Betas and 1.0 Final. Why wasn't it spotted earlier, and several users noticed it on the same day...?
I'm running an ancient version of Aeva on my SMF1 forum. Upgrading mods on that is an absolute nightmare. I only had reason to test the latest once SMF2 RC3 was released, as it was at that point I decided to start testing SMF2 in preparation for SMF2-final. So this is on a separate clean experimental/test install... and as Aeva is a mod I use a lot, it's one of the ones I wanted to try on the test forum to see how the latest version works.

Angelotus

I don't have that much of experience using API.
What I actually need for this function is a little tweak so that it says next to nr of items in the featured album, also something like: "And 144 items in 4 subalbums. That's all.
Can you help me on with that?

Nao 尚

Yes, no problem sremick, as I said above -- I forgot that RC3 was only released yesterday. As I've been using it for several months now, I tend not to remember "official" releases.

@To anyone who reported problems with videos not embedding> Please implement the change I mentioned above (for the Load.php file). If it fixes your problem, good. Otherwise, please repost your issue and how to reproduce it. I'm considering the last few pages as read and answered.
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.

imrich

Quote from: Nao on March 10, 2010, 04:25:12 PM
I think I've found the reason for videos not embedding in the first post of a topic...

Actually, it also requires for the first post NOT to have a signature.
Am I right?

From what I gather, the bug is due to a change in parse_bbc() that I myself requested.
http://dev.simplemachines.org/mantis/view.php?id=4102

The bug dates back to last December, so it was already in 1.0 Betas and 1.0 Final. Why wasn't it spotted earlier, and several users noticed it on the same day...?

Anyway-- this means I'll have to update the install script, I guess.

I'm not sure about needing a signature!

I have a test forum, with NO signature on my test account.

I tried the following:

new thread:
first post... just some text (no youtube link)
second post... added a youtube link)... the video embedded perfectly.

So it's something with the first post in a thread.. no signature text in my profile.

Nao 尚

Quote from: imrich on March 10, 2010, 04:46:37 PM
I'm not sure about needing a signature!

I have a test forum, with NO signature on my test account.
That's what I said... It's not a problem with the position in the topic. It's a problem with signatures. If you have NO signature below your post, then the video won't embed (whatever its position). If you have a signature, it will embed (whatever its position). I never found out about this because all of the users on my site who are used to posting videos, have a signature in the first place.
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 尚

Well, read through the AeMe code and take inspiration from that... Must be in aeva_listAlbums() or some similarly named function...

PS: please don't post code taken and modified from AeMe without authorization. It's okay for a few lines used in a SSI-like function and I won't get mad at anyone for that, but I'd appreciate you technically follow the license terms.
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.

imrich

Quote from: Nao on March 10, 2010, 04:45:52 PM
Yes, no problem sremick, as I said above -- I forgot that RC3 was only released yesterday. As I've been using it for several months now, I tend not to remember "official" releases.

@To anyone who reported problems with videos not embedding> Please implement the change I mentioned above (for the Load.php file). If it fixes your problem, good. Otherwise, please repost your issue and how to reproduce it. I'm considering the last few pages as read and answered.

Neo,

I posted my previous reply while you entered the above.

I can confirm that your 'fix' above solved this for me.

I read your note too fast and messed the part about NOT having a signature!  :-[

Thanks for your great help and wonderful mod!

Advertisement: