You last visited: Today at 11:47
Advertisement
[Release] SSN Online website (for vsro)
Discussion on [Release] SSN Online website (for vsro) within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
09/12/2017, 13:28
#1
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
[Release] SSN Online website (for vsro)
Features News
Register (see config.php)
Server Status & Fake Players
SecretCode (enable & disable in config.php)
Require Email/Secret for Change & Forgot pass (Optional see config.php)
Allow Users to login with Email & Username
Ranking Max Results (see config.php)
LogErrors
Log AddSilk (see config.php / uses sec_content&primary)
Player Guild Job Ranks (with profiles)
Player Profile (show inventory without stats)
Guild Profile (Members & Master)
Player Profile BBCode (check my signature)
AddSilks (for gms, use the original CGI.CGI_WebPurchaseSilk)
Donate Page (no postback scripts)
Latest Uniques Killed ( )
Easy Slider & Download config (separate files continue reading)
Requirements PHP 7.0+
PDO Sqlsrv Extension
short_open_tag=On (google it or search for it in your php.ini & set it to On)
a little bit of PHP (i'm not going to help via tv)
Install Copy the website files to your root direction (www or htdocs)
navigate to includes/config.php and edit your SQL & Website Info
Create the C_EquipStrings table in your SHARD database
Config
the config file is the easiest to read & change.
i commented every single variable in this file
DO NOT forget to change your sql info in lastuniques/config.php
Images
SSN Onlyn
Image galleries require a modern browser with JavaScript enabled. Please make sure that your browser is up to date and/or enable JavaScript to view this gallery.
Admin Panel?
i did not include a FULL admin panel in this website, however, you could use
Slider/Download/Backlinks
3 files [sliderconfig.php] [downloadconfig.php] [backlinkconfig.php]
all of them use arrays (examples included should be easy)
Exploits/Bugs
report via pm
Donation
the donation page DOES NOT include a postback script for any payment gateways... you will need to code your own
The Code
i coded it this way on PURPOSE (not because i'm noob or anything) i like this style and i haven't used it for 2 years
anyway, nothing special... took me a few minutes.
Copyright
idc if you keep my name & skype in the footer or remove it
Help
if you're having an error i'll help you fix it via skype/pm or replies on this topic
found a bug? epvp pm
Download
UPDATE
Quote:
if YOU want to add Players Online
go to pages/template/sidebar.php
paste this line on top of the Gateway Status
after the ServerStatus <p>
Code:
<b>Players Online:</b> <span><?=$srvStatus['players'].' / '.$_maxOnline?></span><br>
09/12/2017, 13:57
#2
elite*gold: 0
Join Date: May 2017
Posts: 875
Received Thanks: 159
NICE TY
09/12/2017, 14:54
#3
elite*gold: 53
Join Date: Jul 2012
Posts: 538
Received Thanks: 184
thanks
09/12/2017, 14:55
#4
elite*gold: 0
Join Date: Feb 2016
Posts: 175
Received Thanks: 12
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php:13 Stack trace: #0 C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php(13): PDO->__construct('sqlsrv:server=J...', 'sa', 'sql@123') #1 C:\Program Files (x86)\Zend\Apache2\htdocs\include\config.php(61): Open('JOE-PC\\SQLEXPRE...', 'sa', 'sql@123', 'SRO_VT_ACCOUNT', 'SRO_VT_SHARD') #2 C:\Program Files (x86)\Zend\Apache2\htdocs\index.php(8): require_once('C:\\Program File...') #3 {main} thrown in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php on line 13
09/12/2017, 15:01
#5
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by
joescott
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php:13 Stack trace: #0 C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php(13): PDO->__construct('sqlsrv:server=J...', 'sa', 'sql@123') #1 C:\Program Files (x86)\Zend\Apache2\htdocs\include\config.php(61): Open('JOE-PC\\SQLEXPRE...', 'sa', 'sql@123', 'SRO_VT_ACCOUNT', 'SRO_VT_SHARD') #2 C:\Program Files (x86)\Zend\Apache2\htdocs\index.php(8): require_once('C:\\Program File...') #3 {main} thrown in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php on line 13
you need to enable PDO sqlsrv extension in your php.ini file
09/12/2017, 16:26
#6
elite*gold: 0
Join Date: Dec 2016
Posts: 69
Received Thanks: 24
Thank you good.
Help Again error.
09/12/2017, 17:11
#7
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by
NoVs54
Thank you good.
Help Again error.
Requirements
PHP 7.0+
PDO Sqlsrv Extension
short_open_tag=On (google it or search for it in your php.ini & set it to On)
a little bit of PHP (i'm not going to help via tv)
09/12/2017, 17:18
#8
elite*gold: 0
Join Date: Dec 2016
Posts: 69
Received Thanks: 24
Thanks PHP 7.0 install.
09/12/2017, 23:37
#9
elite*gold: 0
Join Date: Feb 2016
Posts: 175
Received Thanks: 12
Quote:
Originally Posted by
B1Q
you need to enable PDO sqlsrv extension in your php.ini file
how i can do this ??!!
09/13/2017, 05:09
#10
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by
joescott
how i can do this ??!!
one more thing
if YOU want to add
Players Online
go to pages/template/sidebar.php
paste this line on top of the
Gateway Status
after the ServerStatus <p>
Code:
<b>Players Online:</b> <span><?=$srvStatus['players'].' / '.$_maxOnline?></span><br>
09/13/2017, 12:54
#11
elite*gold: 1400
Join Date: May 2011
Posts: 1,198
Received Thanks: 740
It is nice to see that you are helping the community, Keep it up!
09/13/2017, 19:18
#12
elite*gold: 0
Join Date: Sep 2017
Posts: 4
Received Thanks: 0
ZendServer Have PHP5.6.0 What Should I Do With it
I Install 7.0 In C:/ But Nothing Still Error
Parse error: syntax error, unexpected '[' in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php on line 3
09/13/2017, 20:01
#13
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by
Hillton
ZendServer Have PHP5.6.0 What Should I Do With it
I Install 7.0 In C:/ But Nothing Still Error
Parse error: syntax error, unexpected '[' in C:\Program Files (x86)\Zend\Apache2\htdocs\include\sql.php on line 3
uninstall your zendserver or use wamp OR reinstall a newer version of ZendServer (9.0+)
I said PHP 7.0+ install it or the website will not work
I used the null coalescing operator
?? A LOT in the code
09/14/2017, 06:17
#14
elite*gold: 53
Join Date: Jul 2012
Posts: 538
Received Thanks: 184
help
Parse error: syntax error, unexpected end of file in C:\Program Files (x86)\Zend\Apache24\htdocs\pages\template\navbar.p hp on line 36
09/14/2017, 07:56
#15
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by
esteve458
help
Parse error: syntax error, unexpected end of file in C:\Program Files (x86)\Zend\Apache24\htdocs\pages\template\navbar.p hp on line 36
enable short_open_tag in php.ini
All times are GMT +1. The time now is 11:47 .