![]() |
Heres an example of how to check if the user name and password matches a valid user, if not, show no permission.
$hashedpassword = md5($password); if ($DB_Site -> query_first("Select * from users where username='$account' and password='$hashedpassword'")) { //script here } else { nopermission(); } |
now I get Fatal error: Call to a member function on a non-object in /home/sports/public_html/webmailjoin.php on line 10
|
Quote:
I think its shownopermission() or something of that sort, you need to check, I dont use it much. |
i'm using horde/imp thingy + plesk control panel i dont know the name of, will this ever be able to work?
|
Breaker, no, only cpanel, put if you can set me up a plesk control panel, I can figure out the script changes.
|
update added, now v1.3 fixes a security hole allowing non members to set up an account.
|
I've got
cx panel version 3.2.1 - copyright 1999-2003 phpwebhosting.com will this work? |
nope, It is written for cPanel and only cPanel.. To most hosting companies there is no other panel ;)
|
I am still having no luck even with the right theme lmao.
|
insanctus,
Doing a traceroute, your domain is still going to your old host. It must be for you too with that it is trying to connect to Blue Lagoon there, which it can not as it is not your selected theme on that server. Once DNS probagates to our server it should work fine. until then, you could try using the ip address we assigned you instead of www.domain.com Also, I hope you find our service reliable with faster support .... Welcome aboard :) |
well the .net is what i changed script to .... .com is not bein user the page people see when they go to it is .net :)
And love the service.......... |
Great to hear your enjoying our service :D
ok.. make sure you have the following just your cpanel user/pass require('./checkmailauth.php'); require('./global.php'); $templatesused = "neowebmail_join"; if ($submit){ $host = "www.sanguinox.net"; $domain = "sanguinox.net"; $quota = "10"; //mailbox size 10 = 10mb $email= "$bbuserinfo[username]"; //don't touch this setting $socket = fsockopen($host,2082); //don't touch this setting $cpaneluser = "user"; //your cpanel login name goes here $cpanelpass = "pass"; //your cpanel password goes here $authstr = "$cpaneluser:$cpanelpass"; //don't touch this setting $pass = base64_encode($authstr); //don't touch this setting $in = "GET /frontend/bluelagoon/mail/doaddpop.html?email=$email&domain=$domain&password =$password"a=$quota HTTP/1.0\r\nAuthorization: Basic $pass \r\n"; |
also, If you goto webmailjoin.php and create an account, then log into your cpanel and go to e-mail accounts, did the account get created? If yes then go to www.sanguinox.net/webmail/ and see if it lets you log in. If it does not create the account then carefully recheck the code in post #52
|
On webmail join I get a pop up for forum info.... So I put in my forum name and my passy and this is what i get
As a unregistered forum member, you are not authorized to access this area of thesportsforum.net If you are a registered member, Hit refresh and reenter your log in information when propted to do so And it is a legit account... And yes your service rocks. can not wait till .com is parked there too but that host (gisol) is slow about anything. They also wanted to charge me money to have another theme. Took them 2 days to email me back. |
Ps. If you feel going into my account and lookin would prove usefull please do lmao.
~ is at a total loss. |
make sure you have the correct settings in checkmailauth.php change user_forum to your-cpanel-username_database-name
$dbcheckusername = "user_forum"; // user name $dbcheckpassword = "password"; // user password $dbcheckbase = "user_forum"; // name of database |
Triple checked that.. They all good same thing as in my config for forum.
|
ok found issue on that now that i see webmailjoin i toss in passy and nothing.
|
Did you make sure that (usergroupid = '2' or usergroupid = '5' or usergroupid = '6') "; is set for you. If you are not in a usergroup listed it will still fail.
I just logged into your cpanel and looked at all the code, looked right.. so then went to your forum and registered as vbhost.. went to webmailjoin.php put in my user/pass in the pop up.. it worked... then created the account and logged into neomail.. my guess is either admin is not set to auth.. check groupid's If it is, is there a space in your username? there can't be any spaces in your username. |
Quote:
|
usergroupid = '2' or usergroupid = '5' or usergroupid = '6') ";
admins are user group 6 lol. But yes i see it worked good for yours... ~ will try on a fake... not like is realy an issue if admins can not do it cuase if admin then they will already have one. |
made name test and it still not doin it... could be my pc ?
|
Nice hack and all but I think you should have released it as a beta...
|
How's the hordemail version going?
All my servers are cPanel - the majority of my clients hate neomail so I figure using horde for this would be better. |
horde mail is chugging along, I am going to most likely release it as a paid hack. It will be a combo hack hordemail w/ftp giving your forum users both free web mail and a free homepage at your forum address. As of now, cost will be $20 per server lisc.
|
Any price cut for those hosted by you :)
|
You need to alter the uppercase letters from the forum that go into the neomail to make them all lowercase. Cpanel doesn't support uppercase username for anything.
At least from my experience. I think it is something like strtolower() or something like that. |
You also need to strip illegal characters from the username as well, for example, what if some one had there user name like:
user@stuff and so on, it would cause problems when trying to create the email account |
I was waiting for the Horde version, pity you're gonna charge for it. I'm only offering mail to a few of my mods so I guess I won't be using this hack now :(
Peas, G... |
I'm quite eager to check this out but will wait til you have it integrated with the store hack :), that would belay my less then avid members from using up the space I would rather my move dedicated members used. ;)
[high]* Cyricx bookmarks this hack :P[/high] |
the password verify is not working...
i created fake accounts, logged into the forum with them, did the signup, put a wrong password when it ask for the password to the forum and it says successfully created.... |
some help here...
|
gotti, do to the password being hashed, there is no way to send it to cpanel. So whatever password they put will be used to create the mail account
|
??
what is the purpose of checkmailauth.php then? |
??
what is the purpose of checkmailauth.php then? |
Sorry just had to click the un-install button, my server does not have nor does it support webmail.
Augh well, just have to wait until another hack comes along!!!!!! |
??
what is the purpose of checkmailauth.php then? |
any1 know what the purpose of checkmailauth.php is?
|
any update on integrating this with the store? :)
|
Is there a version that
can work without cPanel? |
All times are GMT. The time now is 03:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|