Unusual vote script

Results 1 to 2 of 2
  1. #1
    Apprentice speaekris is offline
    MemberRank
    Sep 2009 Join Date
    LietuvaLocation
    12Posts

    information Unusual vote script

    Hello, do somebody have unusual vote script? We have theme were are about 7 vote sites. I want make gift system for guys who vote in all 7 sites.

    Like: I come to that theme vote for all 7 site and in 123.txt automatick add my ip. Then I cant go to that theme 12 H and after 12 H i come back vote fo all 7 sites and it again wrote my ip.

    123.txt loks like:
    ip.x.x.x.1
    ip.x.x.x.2
    ip.x.x.x.3
    ip.x.x.x.4
    ip.x.x.x.5
    ip.x.x.x.6
    ip.x.x.x.7
    after 12 hours
    ip.x.x.x.2
    ip.x.x.x.4
    ip.x.x.x.7
    after 12 hours
    ip.x.x.x.2
    ip.x.x.x.3
    ip.x.x.x.4
    ip.x.x.x.5
    ip.x.x.x.6
    ip.x.x.x.7
    ...


  2. #2
    Enthusiast Corticarte is offline
    MemberRank
    Jun 2011 Join Date
    25Posts

    Re: Unusual vote script

    Hi There,

    I am not convinced this is possible using a single text file due to there not being multiple timestamps involved here, in order to achieve this you will be required to use multiple text files then have a Query on your site to check a folder on your webserver for an IP matching theirs in said folder. Your Powershell script will clear out any text files older than X.

    Either that or you could use a SQL Database and have a stored procedure run against it every 12 hours which clears out any IP entries which are older than that.... This is probably the simple way of doing this if you can somehow program your Site to query the SQL backend.

    *This is not something that I can assist with directly however I thought I would point you in the right direction.



Advertisement