Subsonic registration engine

A little external engine to register users in Subsonic

Moderator: moderators

Postby SparkyRih » Fri Jul 01, 2011 9:28 am

Hellscream wrote:Yep i try with ver 1.0 on 4.4 and i also try today 1.1 4.5beta still same prob (no acc created on subsonic) maybe i need to configure php but i dont know how. btw thx 4 reply keep with good work


Are you running Apache? if so, can you confirm that you have the cURL module installed?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby Hellscream » Fri Jul 01, 2011 12:45 pm

this is curl test

$url = "http://www.achari.in"; 2 $ch = curl_init(); 3 curl_setopt($ch, CURLOPT_URL,$url); 4 curl_setopt($ch, CURLOPT_VERBOSE, 1); 5 curl_setopt($ch, CURLOPT_POST, 0); 6 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 7 $returned = curl_exec($ch); 8 curl_close ($ch); 9 echo $returned;

I will try again today.
I'll kepp u inform about progress thx
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Postby SparkyRih » Fri Jul 01, 2011 3:51 pm

If users are registerd in the DB, but not in Subsonic, then there is omething wrong with the information given to Subsonic, or cURL isn't installed, or not working properly...

If you can't get it to work, please post or pm your config.php...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Need Clearer Instructions

Postby masterofrpm » Wed Jul 13, 2011 5:16 am

I confused as to what and where to install all these different packages and where to put the php files where to install the curl module etc. please respond soon I really need this set up as soon as possible. and also the files in the SubRegEngine, where to I drop those, there is alot of folders and with many subfolders. it would also be nice to have links to the proper versions needed run each version of your mod.
masterofrpm
 
Posts: 8
Joined: Wed Jul 13, 2011 5:13 am

Re: Need Clearer Instructions

Postby SparkyRih » Wed Jul 13, 2011 10:59 am

masterofrpm wrote:I confused as to what and where to install all these different packages and where to put the php files where to install the curl module etc. please respond soon I really need this set up as soon as possible. and also the files in the SubRegEngine, where to I drop those, there is alot of folders and with many subfolders. it would also be nice to have links to the proper versions needed run each version of your mod.


Did you read the instructoins on the download page?
I explained where to put and how to edit all the files...

Please let me know what you don't understand...

And it's not because I'm a lazy person, but installing cURL and GD is something you should ask google...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby masterofrpm » Wed Jul 13, 2011 8:00 pm

the files in subregengine, which folder do i put it in? I know it is not your webserver but there are plenty of folders that have an index.* file and i know those are base folders but idk which one is the one to put the files.
masterofrpm
 
Posts: 8
Joined: Wed Jul 13, 2011 5:13 am

Postby SparkyRih » Wed Jul 13, 2011 8:33 pm

masterofrpm wrote:the files in subregengine, which folder do i put it in? I know it is not your webserver but there are plenty of folders that have an index.* file and i know those are base folders but idk which one is the one to put the files.


Yeah, I didn't really made tht clear, I see... I'll edit the instructions later on...

The files inside the subregengine folder need to be placed on a PHP enabled webserver... as a matter of fact, this can be any web server that supports PHP and the GD nd cURL modules...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby masterofrpm » Wed Jul 13, 2011 9:26 pm

ok ... what i want to do is to try to have as much of the whole subsonic setup (including the mod and its requirements) so i would like to know where files need to be and what options should be chosen for the installation. btw ill be installing this on a windows xp system.
masterofrpm
 
Posts: 8
Joined: Wed Jul 13, 2011 5:13 am

Postby SparkyRih » Wed Jul 13, 2011 9:45 pm

masterofrpm wrote:ok ... what i want to do is to try to have as much of the whole subsonic setup (including the mod and its requirements) so i would like to know where files need to be and what options should be chosen for the installation. btw ill be installing this on a windows xp system.


I don't think I can be any more clear about where to put all the files?
And on how tu run an apache or IIS server... that's something you need to find out yourself. I guess...

I
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby masterofrpm » Tue Jul 19, 2011 1:00 am

ok i think you are misunderstanding me... I know how to run a web server... however don't want to do a trial and error run where I have to re-install till it works. I want to know where do i put the files to make the built in Jetty server to run the php scripts rather than installing IIS or a different web server. reason for this is because this is my main computer and i do not feel like setting up a new service just to run the php that your not clarifying will work with subsonics service even if it is on a different server program/port.
masterofrpm
 
Posts: 8
Joined: Wed Jul 13, 2011 5:13 am

Postby SparkyRih » Tue Jul 19, 2011 12:00 pm

I don't think you understand how my script works...

My script can only run on an PHP/MySQL enabled system, so you need IIS or Apache with a MySQL database behind it to run it...

The only thing you need to do in subsonic is to replace and edit the login.jsp following the instructions...

There is no way of putting the files on a jetty server and running it... you need a separate (virtual) server (or on the same machine, using a different port)....

I see it's pretty hard to set this up for some people, but I've also seen a lot of Subsonic owners who have set this up without even contacting me in any way... so I guess it can be done if you take your time and read very well...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby Hellscream » Sun Jul 24, 2011 10:26 am

I reinstall all and configure all from begining and now i get error in line 16 in mailconf.php file.
After registering mysql accept data but nothing on SS, i also receive email with successfull registration anyone have similar problem :?

cURL support enabled
cURL Information 7.20.0
Age 3
Features
AsynchDNS Yes
Debug No
GSS-Negotiate No
IDN No
IPv6 Yes
Largefile Yes
NTLM Yes
SPNEGO No
SSL Yes
SSPI Yes
krb4 No
libz Yes
CharConv No
Protocols dict, file, ftp, ftps, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
Host i386-pc-win32
SSL Version OpenSSL/0.9.8o
ZLib Version 1.2.3

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.3
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.44
WBMP Support enabled
XBM Support enabled

Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0


MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $

Directive Local Value Master Value
mysql.allow_local_infile On On
mysql.allow_persistent On On
mysql.connect_timeout 3 3
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port 3306 3306
mysql.default_socket MySQL MySQL
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

php modules
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_auth_digest mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dav_lock mod_dir mod_env mod_headers mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_proxy mod_proxy_ajp mod_rewrite mod_setenvif mod_ssl mod_status mod_php5 mod_perl
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Postby SparkyRih » Sun Jul 24, 2011 10:37 am

The error on line 16 is probably a notice? if so, you can disable notices, they don't really matter.... If it is a warning or anything else, please give me the exact error, so I can fix it, but it has nothing to do with the fact that you're script doesnt'register users in SS...

Did you give the script the right info? admin+pass+domain (without http://)?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby Hellscream » Sun Jul 24, 2011 10:40 am

Yes i do exactly as in description for instalation i will give u more infos later.
THX again for fast reply i know im persistent
CHEERS m8
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

The database used

Postby trickydick » Sat Jul 30, 2011 5:22 am

By what I can ell the database used for subsonic is HyperSQL Database Engine (http://hsqldb.org/) and buy the db properties file its version 1.8.0.5. This database is purely written in java and is free.

I have no java experience and have no idea how to edit the existing database, but if there is someone out there that has the know how, we could have a built-in registration page as one with subsonic.

The way I would go is figure out the database structure in subsonic, then build a entirely new database with the same structure, then add the registration table, then build the register.jsp page to include an admin page that will list the user whom registered and then can approve or disapprove the requests.
Tricky
User avatar
trickydick
 
Posts: 147
Joined: Wed Mar 30, 2011 12:43 am
Location: Sanford, North Carolina

PreviousNext

Return to Subsonic Registration Engine

Who is online

Users browsing this forum: No registered users and 0 guests