Loading...
  1. Dismiss Notice
  2. Dismiss Notice
  3. Dismiss Notice
  4. If this is your first visit, you may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

vote reward page timer

Discussion in 'Old Threads' started by strmdragon, Jun 22, 2010.

  1. strmdragon

    strmdragon New Member

    Joined:
    Jun 9, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    didn't find if its been suggested before
    i even searched for vote timer

    is there a way on the voting page we can get a timer listed for when we can vote again?

    I've seen it on other private server pages and its really handy specially if you are like me and tend to forget the last time you voted.
     
  2. pineapple22

    pineapple22 New Member

    Joined:
    May 27, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Houston, Texas
    You could always write it down :wink:

    But, that does sound like a good idea.
     
  3. iDante

    iDante Banned

    Joined:
    May 21, 2010
    Messages:
    195
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Arizona
    Sounds like a good idea. Probably low priority though.
     
  4. depaus

    depaus Proficient

    Joined:
    Jun 1, 2010
    Messages:
    203
    Likes Received:
    3
    Trophy Points:
    238
    Location:
    Maastricht
    Look at ur clock right under, which time u voted, and vote again after 12 hours. Can't be simpler than that :tongue:
     
  5. iDante

    iDante Banned

    Joined:
    May 21, 2010
    Messages:
    195
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Arizona
    An alarm set to 12 hours prior to your vote can also help.
     
  6. azunai

    azunai New Member

    Joined:
    Jun 18, 2010
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    well its just 1 sql querry + 3 lines of php code , should be possible tho ;P
     
  7. hitkill

    hitkill Well-Known Member

    Joined:
    Jun 5, 2010
    Messages:
    1,256
    Likes Received:
    85
    Trophy Points:
    0
    Location:
    Zutphen
    If you can get a PHP code that really works it is a good idee but for now just look at a clock before voting.
     
  8. depaus

    depaus Proficient

    Joined:
    Jun 1, 2010
    Messages:
    203
    Likes Received:
    3
    Trophy Points:
    238
    Location:
    Maastricht
    And btw, now u just put in your charname and vote and it will auto-add to your account, when u want a timer I GUESS u need to login then ^^, Else u won't see the timer, so more work to just remind u, unless it's attached to ur IP
     
    Last edited: Jun 22, 2010
  9. kecimis

    kecimis Proficient Forum Legend

    Joined:
    Jun 6, 2010
    Messages:
    271
    Likes Received:
    35
    Trophy Points:
    0
    I am not sure how its exactly in the db, so this is just example.
    But as you can see its just few lines of codes.
    time ... Unix timestamp,
    name ... name of column where Name of player is stored,
    vote .. name of table,

    $dbconnection(conection to db)
    $query=odbc_exec($dbconnection, "SELECT time FROM vote WHERE name='".$_POST["vote"]."');
    odbc_fetch_row($query);
    $time=odbc_result($query,1);

    $nextvote=$time+(3600*12);

    echo "Your account already voted";
    echo "You can vote again at ".date("G:i:s j.n.Y",$nextvote);

    Its easy, but I think its not necessary, just look at you clock when you are voting and add 12 hours.
     
    Last edited: Jun 22, 2010
  10. Sabby

    Sabby Proficient

    Joined:
    Jul 4, 2010
    Messages:
    137
    Likes Received:
    24
    Trophy Points:
    0
    Just nice to have a timer some of us have busy lives and can't remember when was it we voted, since our mind is over incumbered with other things. I know of other gaming sites who have them, if it's easy then why not?
     
  11. evilset

    evilset Expert Forum Legend

    Joined:
    Jul 3, 2010
    Messages:
    815
    Likes Received:
    1,091
    Trophy Points:
    348
    Location:
    Ljubljana
    This would be a nice thing to add, please do it.
     
  12. WeNeedWeed

    WeNeedWeed Proficient

    Joined:
    Jul 22, 2010
    Messages:
    206
    Likes Received:
    5
    Trophy Points:
    0
    +1 agree this will help alot to say how much time left till next vote:)
     
  13. roland

    roland Getting there

    Joined:
    Jul 8, 2010
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    0
    Just through the last voting or with every voting the time into the cookies and on page load compare it to the current time.
     
  14. Akillernoypi

    Akillernoypi New Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Christchurch
    It might be a good idea coz for me i usually forgets coz am working like AM PM in one day ,huhuhu
     
  15. yorouichi

    yorouichi Proficient

    Joined:
    Jul 27, 2010
    Messages:
    186
    Likes Received:
    40
    Trophy Points:
    248
    set up a timer..i got one on my fone...i set up a reminder to alarm every 12 hours..xD
     
  16. Neofelis

    Neofelis Proficient

    Joined:
    Aug 1, 2010
    Messages:
    178
    Likes Received:
    1
    Trophy Points:
    0
    i agree.. will be really helpful if got timer.. :lol:
     
  17. mehran

    mehran New Member

    Joined:
    Jul 24, 2010
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Tehran
    i think thats good idea ... for timing !
     
  18. Fynie

    Fynie Ayyyyeeeeeeeee Forum Legend

    Joined:
    Jul 10, 2010
    Messages:
    2,043
    Likes Received:
    943
    Trophy Points:
    333
    Location:
    Australia
    Well I was thinking...have a toolbar that links to the Gamez Website, and there is a timer on it that counts down from when you can vote next :). So if u go on the internet to do something, u don't have to go to the website directly to find out the time.

    Just a thought :D
     
  19. zenorf

    zenorf New Member

    Joined:
    Nov 1, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    I would like timer too coz Im voting while in school ;) i wanted to post new thread but saw this one
     
  20. pandak12

    pandak12 Proficient

    Joined:
    Sep 29, 2010
    Messages:
    233
    Likes Received:
    10
    Trophy Points:
    0
    +1.....................
     

Share This Page