Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - API System problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

API System problems

 Post Reply Post Reply
Author
NETLover View Drop Down
Newbie
Newbie


Joined: 05 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote NETLover Quote  Post ReplyReply Direct Link To This Post Topic: API System problems
    Posted: 13 November 2006 at 2:57pm
I'm testing the API system.
I've not imported the user db in the wwforum.
 
1) When an user login in my system and then go to the wwforum homepage they are been registered, so login sharing works.
But users was registered without mail address.
How can they receive notify in mail?
 
2) When an user change password from my modify page, and then log in in my site with the new password, he can't login in the wwforum. Password is not accepted, but old password not works too 0_0.
Is the login case sensitive in the wwforum?
How does it not works?
I've checked in the db of wwforum but passwords are cripted so i don't know what passwords are been written in de wwforum db.
 
P. 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2006 at 6:45pm
1. Use the Settings button at the top of teh forum to edit the users profile and type in a password. The next version will also include email in the API.

2. When a users updates the password in your system update the session password variable, once this is done when the vitors goes to the forum with the new password the system will update with the new password.
Back to Top
NETLover View Drop Down
Newbie
Newbie


Joined: 05 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote NETLover Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2006 at 4:37pm
1) I can't login like administrator, the password of my user administrator is not accepted...since when i've change password with my modify page. When the new version will be avaible?

2) Yes ok. But only for testing, i've changed password with my system, then i've logout and then i've login with the new password in my system, but the forum don't accept the new password and the old password too :-((
Back to Top
mxm.Kosh View Drop Down
Newbie
Newbie
Avatar

Joined: 27 September 2006
Location: Switzerland
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote mxm.Kosh Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2006 at 10:33am
Hey everyone
 
I had also some problems with the API system. Seems that this module is not finally bug-free ;-)
 
I can't explain why, but in the file "admin.asp" there are 3 lines:
 
Quote
'Read in the users details from the form if user is logging in
strUsername = Trim(Mid(Request.Form("name"), 1, 15))
strPassword = LCase(Trim(Mid(Request.Form("password"), 1, 15)))
 
Is this really true that the password is converted to lower case? I ask because this was the problem for all my login-problems with the API. After I changed this, everything works fine... some explanations borg? :)
 
---
 
For future versions I wish, that I can't only give user, pass and email to the api. Can't you make an array or (i think better) a dictionary for all the values in the db?
 
For example in the current version i have to set the user/pass in the member-api like this:
 
Quote
session("username") = "myusername"
session("password") = "mypassword"
 
Is there a way to do this like:
 
Quote
dictMemberAPI("Username") = "myusername"
dictMemberAPI("Password") = "mypassword"
dictMemberAPI("Email") = "myemail"
dictMemberAPI("Lastname") = "mylastname"
...
 
Greets
Chris
 
Back to Top
NETLover View Drop Down
Newbie
Newbie


Joined: 05 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote NETLover Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2006 at 12:02am
Hi mxm.Kosh

Can you explain me what can i modify to insert mail too in wwf?
Only nick and password was write in wwf db.
How can i do to write user mail too?
I' cant't wait the new version of forum i need this forum now for my site.
Can you help me?

and.. about lowercase login problem.. can you give me rows to update?

Do you have some any problem to share login and users with your site?

Regards

Pier
Italy
Back to Top
NETLover View Drop Down
Newbie
Newbie


Joined: 05 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote NETLover Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2006 at 7:22pm
And.. when a user delete himself from the site? How can he be deleted from the wwforum too ? :-(
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.