Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
146 stars 127 forks source link

Gallery, character search suggestion/question #164

Open att3 opened 10 years ago

att3 commented 10 years ago

How about adding live search, when you type something it will show live. Something like this; http://www.w3schools.com/php/php_ajax_livesearch.asp Any opinions about this?

Gallery Why is gallery working only with imgland.net, is it like that for security reasons or? I've reading a bit about this uploading now thingy now and I know that the default "upload file" could be potentially harmful if written badly, but those issues could be avoided quite easily.

I am not professional at this subject, so maybe somebody could tell me more about this subject.

Is there any real advantage if the pictures would upload to database, not to X folder. If you're open for the "upload image" gallery I've got some suggestions. -- Admin would have to accept or deny the pictures that have been uploaded -- Max amount of pictures that account or ip well, why not both could upload per day -- Gallery sliding images.

If we wanna make it real fancy, (just really nice) - we could make it something like this; http://www.script-tutorials.com/facebook-like-photo-gallery-with-comments/

Example; instead of your name => character name => would show only X amount of comments per default, if there's more than x amount, there could be a button for "load more" or just pagination.

Please tell me your opinions, I can start working on this things and make pull request when I feel that they are somewhat ready. Then you could comment the shit out of the files and I can do the changes that the files would require.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4340450-gallery-character-search-suggestion-question?utm_campaign=plugin&utm_content=tracker%2F532683&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F532683&utm_medium=issues&utm_source=github).
Znote commented 10 years ago

Live search: too query demanding.

Why use imgland.net?

Why not host the images yourself?

Why not allow other sites such as tinypic or imageshack?

Fancy AJAX things: If you are interested in playing around with this, keep in mind that jquery or any javascript libraries cannot be used. (only for custom layouts). So if you want to make a fancy gallery page, you need to create a small ajax system with vanilla/plain javascript code. The gallery page also needs to look nice on all compatible layouts, even if they have no provided CSS code, and if they do update their layouts, they should have access to override gallery CSS rules to fit their layout.