i promise this is the last one, i have got a log in working now but on the login dialog post where i got the plugins etc.. he posted an update which has a create new account feature but he didnt attach any extra plugins or files in order to make it "work"
this is the code i have for the new account button
Login.NewAccount("New Account", "Information", "Please Fill All Fields And Do Not Use Special Characters", "New Account", "User Name :", "Password :", "Password Again:", "Cancel", "OK");
if (NewAcc.Result == "IDOK") then
if (NewAcc.UserName == "") then Dialog.Message("Notice", "Please Eneter A Valid User Name", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
if (NewAcc.Password ~= NewAcc.Password2) then Dialog.Message("Notice", "Passwords Does Not Match", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
----------------------------
Dialog.Message("Notice", "New Account Created\r\nUserName : "..NewAcc.UserName.."\r\nPassword :"..NewAcc.Password, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
------------------------------
end
end
end
this is the code i have for the new account button
Login.NewAccount("New Account", "Information", "Please Fill All Fields And Do Not Use Special Characters", "New Account", "User Name :", "Password :", "Password Again:", "Cancel", "OK");
if (NewAcc.Result == "IDOK") then
if (NewAcc.UserName == "") then Dialog.Message("Notice", "Please Eneter A Valid User Name", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
if (NewAcc.Password ~= NewAcc.Password2) then Dialog.Message("Notice", "Passwords Does Not Match", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
----------------------------
Dialog.Message("Notice", "New Account Created\r\nUserName : "..NewAcc.UserName.."\r\nPassword :"..NewAcc.Password, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
------------------------------
end
end
end
Comment