[RELEASE] Vote for D.P script (PHP)

02/10/2015 12:41 Trayne01#1
Hello,

Today i share you the vote for dp script from my server, sorry but it is in french but you can translate it via google traduction, its simple to understand.

The player have to select one of four site avaliable, it will open a new windows, he vote, and he will earn his Donation Point.

The links set by defaut are from Shaiya Legacy, you should change by your links. (inside vote.php file) line 35:
PHP Code:
         
          case 
"nr1"$link "http://www.xtremetop100.com/in.php?site=1132354390";
          break;
          case 
"nr2"$link "http://www.oxigen-top100.com/in-455262.html";
          break;
          case 
"nr3"$link "http://gamingtop100.net/in.php?site=15592";
          break;
          case 
"nr4"$link "http://topofgames.com/index.php?do=votes&id=78734";
          break;
        } 
On the config.php file, you should change Point by point you want by vote, time needed by time (minute) before vote again. Change too SQL Server connection data if required.


Run SQL script to get Users_Vote table.

SS:

[Only registered and activated users can see links. Click Here To Register...]

Credit goes to BodySalvage for design
[Only registered and activated users can see links. Click Here To Register...]

DOWNLOAD:
[Only registered and activated users can see links. Click Here To Register...]

NOTE: You have to tun on MSSQL extension on your PHP config file from your web server, you can too use that [Only registered and activated users can see links. Click Here To Register...] insted of official MS drivers if you have some problem with.

Here you can find my register script made with abrasiv work in same style:
[Only registered and activated users can see links. Click Here To Register...]
02/10/2015 18:29 _Diavolino_#2
cool for your contribution here ;) i was see on Other french forum your help hehe ^^
02/10/2015 19:45 Cansas59#3
cool..thats really looks nice :)

The vote script are works fine...but the registration gives Parse error
02/11/2015 14:34 Trayne01#4
Dou you want register/changepass script too?
It's just abrasive work with email field and BodySalvage design
02/11/2015 15:36 Cansas59#5
yes...fine :)

you have perfect orange stats for hp too?

why dont work the right click barrier on the scripts?
02/11/2015 18:05 Trayne01#6
Here u go:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

EDIT:
Quote:
Originally Posted by Cansas59
you have perfect orange stats for hp too?
No sorry but i'm going to do it in few day
02/11/2015 18:56 Cansas59#7
dont work...the servername are correct :(

i want odbc driver for this?
02/11/2015 18:58 Trayne01#8
Quote:
servername
? Could explain a bit more?
02/11/2015 19:04 Cansas59#9
my user and passwort are correct for the reg script

EDIT: WORKS :)

Thank you for the Release.
02/11/2015 19:18 Trayne01#10
Wahts the error you got?
02/11/2015 20:30 Cansas59#11
why dont work the right click barrier?
02/11/2015 20:37 Trayne01#12
What do you mean?
10/08/2015 11:41 Apero#13
sa fonctionne a merveille
les 3 premiere heure il mes bien la restriction des 3 heure
mes ensuite y'a plus de restriction et on peut voter a gogo
tu c'est pas de ou sa peut venir ?

J'ai regarder le script et j'ai trouver l'erreur

mssql_query("DELETE FROM PS_UserData.dbo.Users_Vote WHERE UserID = '".$row1[1]."'",$mslink);


Ces .$row2[1]. qui faux avoir et pas .$row1[1].

J'espere que se qui avais se bug serront en profiter
11/18/2015 22:54 Victore123#14
Hey Guys, i have got that problem.Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\vote\vote.php on line 26
I put the right Login into the config.php, but it wont work :/
Can anyone helpe me ?
05/25/2016 17:40 white95260#15
Merci beaucoup Apero ! :)