Barabus
Posts: 9
Joined: 07 February 2008
|
Thursday, Feb 07, 2008 04:51
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
|
|
|
-Unregistered-
Posts: 9
Joined: 07 February 2008
|
Thursday, Feb 07, 2008 06:59
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?
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Thursday, Feb 07, 2008 10:46
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
|
|
|
PutzMan123

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5
|
Thursday, Feb 07, 2008 16:34
The actual password hashing works like this;
PHP CODE
<?php
if (!function_exists('mhash')){
$password= md5($password);
}
else{
$password= base64_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 
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.
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Thursday, Feb 07, 2008 17:25
How do I enable a group to upgrade as I can't seem to find an option for that
|
|
|
PutzMan123

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5
|
Thursday, Feb 07, 2008 18:32
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 ?
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Thursday, Feb 07, 2008 19:40
Ah but Ive already done that and its still not working
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Saturday, Feb 09, 2008 15:41
Any help on this because I would really like to use the software
|
|
|
PutzMan123

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5
|
Saturday, Feb 09, 2008 15:44
PM me with a link to your site - I'll take a look for you
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Saturday, Feb 09, 2008 16:39
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
|
|
|
PutzMan123

Posts: 396
Joined: 22 June 2007
Location: London, England
BabbleBoard Version: v1.1.5
|
Saturday, Feb 09, 2008 17:54
Are you using WAMP or XAMPP or something similar. If so, it could be a problem with Windows servers.
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Saturday, Feb 09, 2008 18:10
No its a manual install on a linux box
|
|
|
Jonny
Posts: 59
Joined: 22 June 2007
Location: Rochdale, England
|
Sunday, Feb 10, 2008 10:04
Maybe try checking the database and see if it exists in there?
|
|
|
Barabus
Posts: 9
Joined: 07 February 2008
|
Monday, Feb 11, 2008 02:40
Yeah DB info all exists and Ive tried adding data manually into the database too... no luck
|
|
|