Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Self-Registration
Yuuri
Posted on 03 Jul 2009, 03:47:45

Access: Member
Total Posts: 13
Joined: 2009-07-03

How do guests register? I can't seem to find any link, page, or form.
#576
Chris
Posted on 03 Jul 2009, 15:45:38

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

You add ?goto=register to the address, or if you're friendly URLs /register/

Also if you're upgrading from 3.1 you'll need to edit the template you're using and add the code for the registration form.

Code:
Fill out the form below to register an account.<br /><br />
{errormessage}
<form method="post" action="" id="registrationform" name="registrationform">
<div style="float: left; width: 150px">Username:</div><input type="text" name="registrationusername" id="registrationusername" value="{username}" /><br />
<div style="float: left; width: 150px">Email:</div><input type="text" name="registrationemail" id="registrationemail" value="{email}" /><br />
<div style="float: left; width: 150px">Password:</div><input type="password" name="registrationpassword1" id="registrationpassword1" /><br />
<div style="float: left; width: 150px">Confirm Password:</div><input type="password" name="registrationpassword2" id="registrationpassword2" /><br />
<div style="float: left; width: 150px">Security Key:</div><img src="news/image.php" /> <input type="text" name="registrationskey" id="registrationskey" style="width: 50px" /><br />

<div style="float: left; padding-left: 150px"><input type="submit" name="register_submit" value="Create Account" /></div>
<br style="clear: both" />
</form>
#577
Last edited by Chris at 2009-07-03 15:49:22 Reason:
Yuuri
Posted on 03 Jul 2009, 23:43:20

Access: Member
Total Posts: 13
Joined: 2009-07-03

Thank you for your help, you've made a great script. But I found a small bug.

After you sign up it shows you this message "Your account has been created, you can now login here."

"login here" sends yu to the worng page this page http://dev.network-13.com/news/. The error appears to be in the file named langmsg.php in the 7th line from the bottom.
#578
Chris
Posted on 04 Jul 2009, 00:48:02

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Thanks for pointing this out :-)
#579
Ashleenahpage
Posted on 16 Aug 2009, 02:37:28

Access: Member
Total Posts: 38
Joined: 2009-05-31

i feel really dumb asking this,

but i can't seem how to get this to work. :(
could you explain please?
#750
Chris
Posted on 16 Aug 2009, 02:51:35

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Quote:
i feel really dumb asking this,

but i can't seem how to get this to work. :(
could you explain please?

I've taken a look at your site, it seems you've enabled friendly URLs but it's causing a server error, could mean your server doesn't support it.

Try disabling friendly URLs then adding ?goto=register to the url of your main page, it should then hopefully show the registration form users can fill out to register.
#753
Ashleenahpage
Posted on 16 Aug 2009, 03:00:16

Access: Member
Total Posts: 38
Joined: 2009-05-31

thank you Chris, so very much. It works now. :)
#754
Chris
Posted on 16 Aug 2009, 03:05:09

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Quote:
thank you Chris, so very much. It works now. :)

Glad it's working. Don't forget to create a new access level (assuming you don't already have the Commenter access level) and select that as the level new users get assigned to.
#758
Ashleenahpage
Posted on 16 Aug 2009, 05:09:34

Access: Member
Total Posts: 38
Joined: 2009-05-31

thanks again.

is there a way to change the link from your e-mail to go to your profile [if you have one] when you post a comment?
#764
Chris
Posted on 16 Aug 2009, 12:38:20

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If you edit the template you're current using, expand the Comments section, it looks like you're using something like this which makes their username a clickable email link

Code:
[email]{author}[/email]

change that to

Code:
<a href="http://ashleenah.dailycute.net/?goto=profile&user={author}">{author}</a>

this'll change the userame to a link to view that users profile, not all users are registered and the ones who aren't will still have a clickable name it simply will goto a profile that doesn't exist.
#765
Last edited by Chris at 2009-08-16 12:39:27 Reason:
Network-13.com © 2013