vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB WebMail v1.3 (https://vborg.vbsupport.ru/showthread.php?t=52841)

Slynderdale 05-13-2003 01:05 PM

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();
}

vB-Host.com 05-13-2003 01:26 PM

now I get Fatal error: Call to a member function on a non-object in /home/sports/public_html/webmailjoin.php on line 10

Slynderdale 05-13-2003 01:32 PM

Quote:

Today at 10:26 AM vB-Host.com said this in Post #42
now I get Fatal error: Call to a member function on a non-object in /home/sports/public_html/webmailjoin.php on line 10

I think its shownopermission() or something of that sort, you need to check, I dont use it much.

Breaker 05-13-2003 04:50 PM

i'm using horde/imp thingy + plesk control panel i dont know the name of, will this ever be able to work?

vB-Host.com 05-13-2003 10:04 PM

Breaker, no, only cpanel, put if you can set me up a plesk control panel, I can figure out the script changes.

vB-Host.com 05-13-2003 11:45 PM

update added, now v1.3 fixes a security hole allowing non members to set up an account.

alkatraz 05-14-2003 02:02 AM

I've got
cx panel version 3.2.1 - copyright 1999-2003 phpwebhosting.com

will this work?

vB-Host.com 05-14-2003 02:10 AM

nope, It is written for cPanel and only cPanel.. To most hosting companies there is no other panel ;)

insanctus 05-14-2003 10:36 AM

I am still having no luck even with the right theme lmao.

vB-Host.com 05-14-2003 10:51 PM

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 :)

insanctus 05-15-2003 03:06 AM

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..........

vB-Host.com 05-15-2003 05:17 AM

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&quota=$quota HTTP/1.0\r\nAuthorization: Basic $pass \r\n";

vB-Host.com 05-15-2003 05:22 AM

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

insanctus 05-15-2003 05:56 AM

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.

insanctus 05-15-2003 05:59 AM

Ps. If you feel going into my account and lookin would prove usefull please do lmao.

~ is at a total loss.

vB-Host.com 05-15-2003 06:02 AM

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

insanctus 05-15-2003 06:04 AM

Triple checked that.. They all good same thing as in my config for forum.

insanctus 05-15-2003 06:13 AM

ok found issue on that now that i see webmailjoin i toss in passy and nothing.

vB-Host.com 05-15-2003 06:17 AM

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.

vB-Host.com 05-15-2003 06:19 AM

Quote:

Today at 12:13 AM insanctus said this in Post #58
ok found issue on that now that i see webmailjoin i toss in passy and nothing.
after you put in your password, it should now take you to a new page telling you the account was created and asking for your password again to log you into neomail

insanctus 05-15-2003 06:22 AM

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.

insanctus 05-15-2003 06:26 AM

made name test and it still not doin it... could be my pc ?

Xyphen 05-16-2003 09:56 AM

Nice hack and all but I think you should have released it as a beta...

.:.NetStartz.:. 05-16-2003 02:56 PM

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.

vB-Host.com 05-17-2003 06:40 AM

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.

insanctus 05-17-2003 01:04 PM

Any price cut for those hosted by you :)

Emrys 05-18-2003 01:37 AM

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.

Slynderdale 05-18-2003 06:25 PM

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

Kohhal 05-19-2003 11:03 AM

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...

Cyricx 05-20-2003 03:35 AM

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]

GoTTi 05-20-2003 03:41 AM

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....

GoTTi 05-22-2003 03:10 AM

some help here...

vB-Host.com 05-22-2003 09:33 AM

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

GoTTi 05-23-2003 10:29 PM

??

what is the purpose of checkmailauth.php then?

GoTTi 05-26-2003 08:34 PM

??

what is the purpose of checkmailauth.php then?

mackers8923 06-01-2003 05:05 PM

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!!!!!!

GoTTi 06-07-2003 07:08 PM

??

what is the purpose of checkmailauth.php then?

GoTTi 06-10-2003 04:17 AM

any1 know what the purpose of checkmailauth.php is?

Cyricx 06-10-2003 02:03 PM

any update on integrating this with the store? :)

gmarik 06-10-2003 02:05 PM

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
  • Page Generation 0.01183 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete