BabbleBoard Support Forums
What Are YOU Babbling About?
Hello Guest!  |  Home  |  Search  |  Login  |  Register
Home | Bug Reports | Couple Of Things
Couple Of Things
Barabus




Posts: 9
Joined: 07 February 2008

Thursday, Feb 07, 2008 04:51  Trackback URL

Firstly I am having trouble with the Subscriptions... I have a package setup but whenever a member goes to upgrade their account nothing appears apart from the header... any ideas on this?

The second is, and may be better off in another area but I thought I would add it here... are the passwords salted or just hashed? Just out of curiosity as I may implement my own salting...

Other than the above, a great piece of kit

Go To Top
-Unregistered-




Posts: 9
Joined: 07 February 2008

Thursday, Feb 07, 2008 06:59  Trackback URL

Here's exactly what happens with the password (as taken from the new password generation for a user who has forgotten their password):

$new_password= md5($new_password);
}
else{
$new_password= base64_encode(bin2hex(mhash(MHASH_SHA256,$new_password)));
}

As far as your subscription issue, I assume you are using v1.1.5? Having just purchased the script, I'm afraid it will take me a while to be able to solve the issue, as I am still getting used to the code myself. Give me some time and I'll see if I can replicate the issue here. Is it possible that you are using any weird characters that are throwing it off? And if your board isn't too far along, possibly try reinstalling?

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Thursday, Feb 07, 2008 10:46  Trackback URL

Thanks for the info

As for the subscriptions, I thought it may because I manually added a user to the db (lack of freetype support) but now this is reolved and I have registered a test user properly but still having this issue

Go To Top
PutzMan123



Role

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5

Thursday, Feb 07, 2008 16:34  Trackback URL

The actual password hashing works like this;

PHP CODE
<?php 
if (!function_exists('mhash')){ 
$passwordmd5($password); 

else{ 
$passwordbase64_encode(bin2hex(mhash(MHASH_SHA256,$password))); 

?>


If you are coding a script or something for BB, I really do recommend that you use the if (!function_exists('mhash')){ line. More useful if you move server.

Barabus Trackback URL

Thanks for the info

As for the subscriptions, I thought it may because I manually added a user to the db (lack of freetype support) but now this is reolved and I have registered a test user properly but still having this issue

iirc, only if your usergroup can upgrade will the upgrade page appear. I think the if() statement is missing a redirection if no upgrade packages are available.



Last edited by: PutzMan123 - Thursday, Feb 07, 2008 16:36.
Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Thursday, Feb 07, 2008 17:25  Trackback URL

How do I enable a group to upgrade as I can't seem to find an option for that

Go To Top
PutzMan123



Role

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5

Thursday, Feb 07, 2008 18:32  Trackback URL

That will be in your ACP // PayPal Subscriptions and then either editing an existing package or creating a new one, changing the 'Upgrade Groups' so that it looks like Old Group => New Group.

Need anymore explanation or is that ?

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Thursday, Feb 07, 2008 19:40  Trackback URL

Ah but Ive already done that and its still not working

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Saturday, Feb 09, 2008 15:41  Trackback URL

Any help on this because I would really like to use the software

Go To Top
PutzMan123



Role

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5

Saturday, Feb 09, 2008 15:44  Trackback URL

PM me with a link to your site - I'll take a look for you

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Saturday, Feb 09, 2008 16:39  Trackback URL

The site is currently on a development server on my PC at the moment and isn't 'live'

Not sure why it isn't working though, Ive tried several test packages and nothing shows, although it does recognise when a package isn't available for a users group

Go To Top
PutzMan123



Role

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5

Saturday, Feb 09, 2008 17:54  Trackback URL

Are you using WAMP or XAMPP or something similar. If so, it could be a problem with Windows servers.

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Saturday, Feb 09, 2008 18:10  Trackback URL

No its a manual install on a linux box

Go To Top
Jonny




Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
Sunday, Feb 10, 2008 10:04  Trackback URL

Maybe try checking the database and see if it exists in there?

Go To Top
Barabus




Posts: 9
Joined: 07 February 2008

Monday, Feb 11, 2008 02:40  Trackback URL

Yeah DB info all exists and Ive tried adding data manually into the database too... no luck

Go To Top
 
1 Guest(s), 0 Member(s) Viewing This Topic:
 
 
 
Powered by BabbleBoard v1.1.6
All Content © BabbleBoard Support Forums