eissap
Experienced
Joined: 22 Dec 2006
Posts: 67
I was wondering if i would be possible to add an new photo button on to the menu. This way when new photo's are published there will be a button "word" "badge" which says that that gallery menu item has some new photo's to share. After "example" 7 days the button will disappear from the menu item.

I hope you like the idea and interested if this would be possible.

greetings,

Eissap


Re: New photo's button
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7319
You mean that a new folder would exist which accesses the latest images?

Yes, this would be cool, although it is more complciated for a gallery like Imagevue because we rely on real-time physically reading folders and folder-structure, instead of some other galleries using database.

We were thinking of creating some "smartfolder" method, that could be used to create a virtual folder based on some conditions(for example only new images). Perhaps something for the future ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: New photo's button
eissap
Experienced
Joined: 22 Dec 2006
Posts: 67
I my opinion this should not be hard to make.
The big advantage you have is like you said is doing it real time.
As of i understand it, the folderdata.xml is used to make up the gallery.
With in the folderdata.xml another element could be added with a created date.

Combined with a setting within the backend "+7 days" a button could be created on that menu quite easily.
You could also make an extra function in the backend like "mark as new for 7 days" but this would be a dirty work arround which is working ;)

i fact as I'm thinking of it right now, you could ad an extra word in the current folderdata.xml under <folder> like "updated=$date" and reflect that against the current date. so you'll get $date minus currectdate = -3 eq $button_new

But correct me if i'm wrong.
If i have some spare time I'll set it up on my own site as a test.
i'll let you know the outcome.

can you tell me which page is making the menu ? it looks like it's not flash ?


Re: New photo's button
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7319
eissap wrote
can you tell me which page is making the menu ? it looks like it's not flash ?

Flash renders the menu, but it gets the menu structure from PHP - Something like this:
www.imagevuex.com/mygallery/?a=folders

Pain knows more about this stuff ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: New photo's button
eissap
Experienced
Joined: 22 Dec 2006
Posts: 67
I see that the date is already in there. Maybe by adding another date like UpdatedDate="06.01.2009"
Then you could do something like:
Code
if UpdatedDate = $date - 7{
menu.item.class=updated
}else{
menu.item.class=normal
}

Just my quick 2 cents.
Maybe Pain has something to add as well.


Re: New photo's button
User avatar
Imagevue Hitman
Joined: 2 May 2006
Posts: 2858
Actually interesting idea, we'll think about it, have to write down to not forget.

_________________
Nick // Imagevue

Image
Image
Image
Image

dear-apple.com jaconda.im indexr gridpapr


Re: New photo's button
lowray1975
Experienced
Joined: 26 Jul 2008
Posts: 137
I was wondering if the "smart folder" mentioned below - that would show images uploaded in the last X days - is going to make it into a future release.

Just curious - it's a great idea!

Thanks!!!


Re: New photo's button
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7319
It is a good idea, and we hope to implement it ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


cron
 
Imagevue Forums HomeForum  View topic - New photo's button8 posts