Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 03:43

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Suggestion about voting
PostPosted: 23. Oct 2008, 09:47 
Offline

Joined: 22. Oct 2008, 11:29
Posts: 16
Hi.
If a allow guests to vote images on my galleries, I need to disable only voting if guest voted.
I think that I can do it based on IP...
How can I change the code in order to get this option?


Top
 Profile  
 
 Post subject:
PostPosted: 23. Oct 2008, 14:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't really understand the first sentence. Can you be more specifiy?

/Michael


Top
 Profile  
 
 Post subject: Answer
PostPosted: 23. Oct 2008, 15:48 
Offline

Joined: 22. Oct 2008, 11:29
Posts: 16
Ok, sorry for my bad English.
I put TWG in a directory, then I allow to guests users to voting.
The problem is that a guest can vote indefinitely, so I would like to allow only one vote for IP address.
How can I do this?

I don't want to activate registration for user in order to get voting system.


Top
 Profile  
 
 Post subject:
PostPosted: 23. Oct 2008, 16:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Right now you can only vote once for a image. But if you choose another image and the the other again you can vote again.

the easiest solution would be that you restrict the voting by a session. Then the change would be very local.
For other solutions you would have to store the ip and the image number somehow ...

/Michael


Top
 Profile  
 
 Post subject: Answer
PostPosted: 23. Oct 2008, 19:22 
Offline

Joined: 22. Oct 2008, 11:29
Posts: 16
How can I restrict voting by a session?
Any CONTROL PANEL option?


Top
 Profile  
 
 Post subject:
PostPosted: 23. Oct 2008, 21:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - this would have to be implemented.

But I really like this solution and therefore I did it on top of my todo list.
It will come with the next update.

/Michael


Top
 Profile  
 
 Post subject: Question
PostPosted: 24. Oct 2008, 07:26 
Offline

Joined: 22. Oct 2008, 11:29
Posts: 16
Thank you very much.
Any realease date?


Top
 Profile  
 
 Post subject:
PostPosted: 24. Oct 2008, 09:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No. The last release was last week ;).

But it will be in the next minor update. You don't have to wait in the next bigger release ;). Simply subscribe to the rss feed to get updated.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy