OpenNos register page

10/25/2016 07:41 KyoshaPL#1
Hi. I'm looking for register page to OpenNos files. They changed mysql to mssql so old relases are usless.
I don't know php so writing smth like that could be really hard for me.
Thanks
10/25/2016 07:57 Prosecutor#2
Use manuals.

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

No one will help you for free.

P.S But maybe someone is kind and will help you.
01/25/2017 19:12 kurtmac#3
Please help me with page i cant do with php
01/25/2017 20:02 Fizo55#4
[Only registered and activated users can see links. Click Here To Register...]
01/25/2017 20:21 kurtmac#5
help me with this Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\config.php on line 59
01/25/2017 21:01 Fizo55#6
Do you use NosRegister?
01/25/2017 21:27 Ortator#7
Quote:
Originally Posted by kurtmac View Post
help me with this Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\config.php on line 59
You need maybe mssql extensions in you php path, sqlsrv_connect its a function from MSSQL.
01/25/2017 21:32 kurtmac#8
i dont know how i install this extensions

Quote:
Originally Posted by hugo50000 View Post
Do you use NosRegister?

yes
01/25/2017 21:43 Ortator#9
[Only registered and activated users can see links. Click Here To Register...]

Look at you php info with : ( you need you php version )

PHP Code:
<?php phpinfo(); ?>
01/25/2017 21:43 kurtmac#10
Quote:
Originally Posted by Ortator View Post
You need maybe mssql extensions in you php path, sqlsrv_connect its a function from MSSQL.
please help me with conf :(

my php version is

PHP Version 5.5.12

PHP Version 5.6.25
01/25/2017 22:15 Fizo55#11
Install

Download and install Xampp or Wampp, or if you want apache and php.

In order to use sqlsvr you need to install mssql extension you can find more there :

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...] (install, copy .dll to php/ext ) and add to php.ini
Microsoft Drivers for PHP for SQL Server : [Only registered and activated users can see links. Click Here To Register...] (i don't know if this will help you)
php.ini to add

extension=php_pdo_sqlsrv_5_nts.dll
extension=php_sqlsrv_5_nts.dll
extension=php_pdo_sqlsrv_5_nts_x64.dll
extension=php_pdo_sqlsrv_5_nts_x86.dll
extension=php_pdo_sqlsrv_5_ts_x64.dll
extension=php_pdo_sqlsrv_5_ts_x86.dll
extension=php_sqlsrv_5_nts_x64.dll
extension=php_sqlsrv_5_nts_x86.dll
extension=php_sqlsrv_5_ts_x64.dll
extension=php_sqlsrv_5_ts_x86.dll
PhpShort Tag

In order to use script you need to enable shorttag, search in php.ini for "short_open_tag" and enable him by "short_open_tag=On"

Config you'r page

Download notepad++ or any other editor, go to config.php and modify what you need.

Optional Steps for proper use.

Google Captcha (reCaptcha)

Personally i strong recomand you to use this feature, this will prevent spam (al most). You can get free sitekey&secretkey via google just singup there [Only registered and activated users can see links. Click Here To Register...] and register you'r site.

Enable 'sendverification'

If you have an mail server, you can enable sendverification this will send account validation mail to users, to confirm his account.

Enable 'displaytos'

This will provide an link to ToS and Privacy Policy page, as you know, you store user's mail and IP, so you may need to enable this tow feature to warn users about store personal data.

Enable forgot

Some user can forgot this password, and you know... if they want account back they can do via own mail.

Mail server

If you need a mail server for windows / windows server , as free alternative i recommand you [Only registered and activated users can see links. Click Here To Register...]

SSL Certificate

As you known (or no) OpenNos use port 80, so you can't run apache on 80, as alternative you can replace http with https , for that we need a SSL Ceritificare, SSL use 443 port, not 80, so your users can type in brower " [Only registered and activated users can see links. Click Here To Register...] " and will be displayed your register page, you can get a free ssl ceritificare at [Only registered and activated users can see links. Click Here To Register...] as well this ceritificate work on mail server too.
01/25/2017 22:41 kurtmac#12
Now I say it again, I have Windows 8.1 with XAMPP. when in php.ini I write all the directions so I do not work, please help I can with php and xampp me all the time is not set

what you write so I do not understand, and when I do it according to what you write so it does not

Sorry for my bad english

please help me i need make registration page and i dont know how
01/26/2017 08:53 Ortator#13
Quote:
Originally Posted by kurtmac View Post
Now I say it again, I have Windows 8.1 with XAMPP. when in php.ini I write all the directions so I do not work, please help I can with php and xampp me all the time is not set

what you write so I do not understand, and when I do it according to what you write so it does not

Sorry for my bad english

please help me i need make registration page and i dont know how
Check you php version and look at the readme Etats .dll you need
01/26/2017 17:35 kurtmac#14
how i connect to database ?

Something went wrong while connecting to MSSQL

<?php
$dbhostname = "127.0.0.1"; //MsSQl Server Addres
$db = array(
"Database" => "opennos", // Database Name
"Uid" => "nostale", //Database User
"PWD" => "bilokej" // Database Password;
);
$hosturl = "2*.107.***.3"; //Your host patch eg

this is my conf
01/26/2017 17:59 Fizo55#15
Just because you do not enable Microsoft Server connection please enable it and try again