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

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

OCJ

Featured Album automatically set to 'yes' for all new albums - possible with code alteration?

Search didn't show any fix for this yet many posts about it.  It seems only Admin permissions can set an album featured - not ordinary users.

I don't want to give everyone admin rights to set their album featured and also allow them to edit and delete everyone elses...
But I do not want to have to log in every day checking for new albums and editing them.

Reason
Most people expect to see new albums on the gallery page.  Recent images only shows perhaps from 1 latest album (if large) and people find it confusing in one stream.

It is difficult to see what is new on the Album page as it is listed in user name order.
Unless it is set featured an album will not display on the front page - Media page.




Kindred

except not every album is supposed to be "featured".

The reason that is an admin function is that it is the admin's responsibility to pick the albums to be featured... Otherwise, just set everything to not featured and have the same result....  every album on an even playing field.
Сл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."

OCJ

Well, we like all 'new' albums featured so that people can find them easily on the main page - not as a small text link in latest albums list.

Actually, I didn't really ask for the reason it is set that way - or to debate the pros and cons. I asked if there was a code fix for it?

Kindred

yes, but, quite often people ask fro something without actually thinking about what they are ACTUALLY asking for. Like you, they have an assumption of the "way they want to do it" without considering if that is actually the best or proper way to do it or even the thing to do.

probably can be done...  find the portion of code that writes the new album to the database and set the featured column to "1"
Сл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."

OCJ

Quoteprobably can be done...  find the portion of code that writes the new album to the database and set the featured column to "1"

Incredibly useful, I will try a search of the gallery code for that - Im sure it will be so easy to find.

MrPhil

Put more diplomatically, you need to consider how other people may want to use their sites and what features would be useful to almost everyone (core SMF or,  in this case, Aeva mod). Everyone wants their own set of features added, as "absolutely essential" for something. If "everyone" were to compare notes, they would find a lot of disagreement on what new features should be added to anything. The SMF philosophy has been to offer a lightweight framework that does the basic job, and allows forum owners to embellish it with all sorts of extras as they see fit. That's why SMF core, and Aeva (and other major subsystems, such as portals) usually turn down requests to add new features. Granted, the adding of new features as mods (or mods on mods) doesn't always go smoothly, but that's a reasonable price to pay for flexibility and good performance/small size.

humbleworld

Hello Nao, thank you so much for this free MOD.

One concern: vimeo.com videos don't work anymore. How to fix this?


humbleworld

modifying subs file still does not work for me. vimeo videos still show errors.

humbleworld

Update: Shambles, thanks for the assistance. vimeo video now works. I prefer vimeo over Youtube. vimeo has the best quality of videos.

nfpuu1u

Hi,

just a small note on the table schema provided by this mod:

When having a large amount of comments in your database using an index for the row "id_member" cloud speed the database:

ALTER TABLE smf_aeva_comments` ADD INDEX `id_member` ( `id_member` ) ;

At the moment i have only 19 comments in my database, but without this index 19 rows where examed by this statement:


SELECT
                        com.id_comment, com.id_member, com.id_media, com.message, com.posted_on,
                        IFNULL(lm.time, IFNULL(lm_all.time, 0)) < GREATEST(com.posted_on, com.last_edited) AS is_new, a.id_album, a.name, m.title, mem.real_name AS member_name
                FROM smf_aeva_comments AS com
                        INNER JOIN smf_aeva_media AS m ON (m.id_media = com.id_media)
                        INNER JOIN smf_aeva_albums AS a ON (a.id_album = m.album_id)
                        LEFT JOIN smf_members AS mem ON (mem.id_member = com.id_member)
                        LEFT JOIN smf_aeva_log_media AS lm ON (lm.id_media = m.id_media AND lm.id_member = 0)
                        LEFT JOIN smf_aeva_log_media AS lm_all ON (lm_all.id_media = 0 AND lm_all.id_member = 0)
                WHERE FIND_IN_SET(-1, a.access)
                        AND com.approved = 1
                        AND com.id_member = 255
                ORDER BY com.id_comment DESC
                LIMIT 20;


now only 1 row is examined.

TLMB

Quote from: Grand Duke on May 23, 2012, 08:31:28 PMWell, that's my dirty hack:

1. Open Sources/Subs-Aeva-Sites.php
   a) Find string:
'movie' => 'http://assets.vimeo.com/flash/moogaloop/5.0.5/moogaloop.swf?v=5.0.5&clip_id=$2&server=vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=01AAEA',
   b) Replace it to:
'movie' => 'http://vimeo.com/moogaloop.swf?clip_id=$2&server=vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color=01AAEA',

2. Go to Administration/Mod Settings/Aeva sites/Popular Sites
   a) Switch "Vimeo" to OFF and Save settings;
   b) Switch "Vimeo" to ON and Save settings.

Now Vimeo embedding must working a correctly.

Thanks for this - it has re-enabled Vimeo embeds for me.
Note for the benefit of anyone who had to search around a little for the ON/OFF setting like I did:
Admin>Aeva Media>Auto Embedding>Sitelist>Untick "Vimeo">Submit
Admin>Aeva Media>Auto Embedding>Sitelist>Retick "Vimeo">Submit


However, I now have encountered a new problem. When I try to post or modify a message with a vimeo link in it, clicking Preview will show the embedded video just fine, but if I click Post or Save, I get the error
QuoteThe following error or errors occurred while posting this message:
The message body was left empty.
If I surround the vimeo link with noembed tags, I can post okay.

To try to confirm that it was this modification in Subs-Aeva-Sites.php that causes this, I changed the code back to what it was before... but the "body was left empty" error remains! :( This error does not occur with video links from other sites (youtube, etc).

SMF 2.0.1, Aeva 1.4w, Safari 6.01/Firefox17.0/Camino2.1.2

Does anyone have any suggestions? Thanks.

EDIT: I found a workaround. Posting Vimeo vids in the form[url=http://vimeo.com/9769119]Kendama Bitter Beans Vol.1[/url] works, but a straight http://vimeo.com/9769119 still gives the "left empty" error.

OCJ

Does anyone know the piece of code that displays the latest album list at the bottom of the media page?

If possible I would like to make a portal block to show latest albums (linked) list in a more visible location - side block at the top of the page on forum.



Kindred

do a search.

The code for a portal block has been posted 3 or 4 times.
Сл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."

OCJ

I did search... all the blocks show photos from random or recent albums. None that I know of show a list of recent albums, unless Im mistaken?


Kindred

ah...  I suppose that's what I get for reading and responding before I've had my coffee.

You're right...   there is no block code to show a recent album, only recent or random images.

not sure how you're do it, either...  sorry.
Сл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."

OCJ

Its ok. I thought it would be easy to find the code outputting the Latest Albums list at the bottom of the media page... not so. That's life.

FrizzleFried

I just had a member upload 1000 7K GIF files ... identical to each other.   Needless to say,  this isn't something I want to see again in the future.  I can't find a setting for "max number of uploads" or something similar?   Any idea how I can prevent this in the future?


 
Advertisement: