Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 18:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on [RELEASE] Vote for D.P script (PHP) within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
[RELEASE] Vote for D.P script (PHP)

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:



Credit goes to BodySalvage for design


DOWNLOAD:


NOTE: You have to tun on MSSQL extension on your PHP config file from your web server, you can too use that 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:
Trayne01 is offline  
Thanks
6 Users
Old 02/10/2015, 18:29   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 342
Received Thanks: 87
cool for your contribution here i was see on Other french forum your help hehe ^^
_Diavolino_ is offline  
Thanks
1 User
Old 02/10/2015, 19:45   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
cool..thats really looks nice

The vote script are works fine...but the registration gives Parse error
Cansas59 is offline  
Old 02/11/2015, 14:34   #4
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
Dou you want register/changepass script too?
It's just abrasive work with email field and BodySalvage design
Trayne01 is offline  
Old 02/11/2015, 15:36   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
yes...fine

you have perfect orange stats for hp too?

why dont work the right click barrier on the scripts?
Cansas59 is offline  
Old 02/11/2015, 18:05   #6
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
Here u go:



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
Trayne01 is offline  
Thanks
1 User
Old 02/11/2015, 18:56   #7
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
dont work...the servername are correct

i want odbc driver for this?
Cansas59 is offline  
Old 02/11/2015, 18:58   #8
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
Quote:
servername
? Could explain a bit more?
Trayne01 is offline  
Old 02/11/2015, 19:04   #9
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
my user and passwort are correct for the reg script

EDIT: WORKS

Thank you for the Release.
Cansas59 is offline  
Old 02/11/2015, 19:18   #10
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
Wahts the error you got?
Trayne01 is offline  
Old 02/11/2015, 20:30   #11
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
why dont work the right click barrier?
Cansas59 is offline  
Old 02/11/2015, 20:37   #12
 
Trayne01's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 473
Received Thanks: 1,093
What do you mean?
Trayne01 is offline  
Old 10/08/2015, 11:41   #13
 
Apero's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 156
Received Thanks: 42
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
Apero is offline  
Thanks
1 User
Old 11/18/2015, 22:54   #14
 
elite*gold: 0
Join Date: Apr 2015
Posts: 3
Received Thanks: 0
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 ?
Victore123 is offline  
Old 05/25/2016, 17:40   #15
 
elite*gold: 0
Join Date: Feb 2014
Posts: 110
Received Thanks: 11
Merci beaucoup Apero !
white95260 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[RELEASE] Vote for DP script (WORKING)
10/24/2014 - Shaiya PServer Guides & Releases - 18 Replies
So I searched EVERYWHERE for a working vote for DP script but every single one had a bug or an error... So I chose to edit a current one which was the release: Here! First of all ... NO it doesn't have an SQL injection, neither files that will corrupt your database.. I found a few mistakes and I edited them (PhP / SQL coding) Here is the new working release: Click Here SIMPLY CHANGE THE DB INFORMATION INSIDE CONFIG.PHP and then change the 4 voting sites placed in Vote.php and...
[Release] Dekaron Vote Script
03/27/2014 - Dekaron Private Server - 47 Replies
With help of some other scripts i found a way to do it, vote ;) Its a little tricky but it should be easy Name: Vote Script (php) Download: Dkunderground.org Scan: Found nothing Scan URL: Jotti's malware scan You will need:
[RELEASE] Vote 4 AP Script ( 4 Sites )
02/12/2014 - Shaiya PServer Guides & Releases - 12 Replies
Hey, I change something in the released script from Zeus, you only can use 1 voting site and you need to fix something for get this script working. http://www.elitepvpers.com/forum/shaiya-pserver-d evelopment/2082973-re-upload-vote-us.html I done some changes and here is it. :o 1. Open config.php and change mssql db_user and db_pass 2. Open vote.php and change vote sites ( line : 36 - 42 )
[Release]Vote Script for Coins
12/22/2013 - Metin2 PServer Guides & Strategies - 21 Replies
Hey, ich habe auch mal ein kleines Vote Script für Coins gemacht, dieses läuft über iframes, weil wenn ich es anders machen würde, würde es meinem Auschasscript sehr SEHR stark ähneln xD 1. SQL Command: ALTER TABLE `account`; ADD COLUMN `remainingtime` datetime NOT NULL AFTER `web_aktiviert`; Oder einfach der Tabelle account.account eine Spalte namens 'remainingtime' hinzufügen und den Type auf 'datetime' stellen!



All times are GMT +2. The time now is 18:46.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.