User Registration

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
yankee07
Regular
Posts: 7
Joined: Tue Aug 01, 2006 5:32 am

User Registration

Post by yankee07 »

Hi, I currently setup a blog website through my host Godaddy.com. I am trying to have it so users can setup their own account. Can you please explain the steps I need to take in order for them to do this. Thank you in advance for your help.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Registration

Post by garvinhicking »

Hi!

I think this is not possible with godaddy pre-installed hosting, because you need a plugin for that. And installing a plugin requires either the spartacus plugin, or you must have FTP access to your blog install.

Once you did that, you can go and download the "User Self-Registration" plugin either via Spartacus or from http://spartacus.s9y.org/. With this plugin you should be able to achieve what you want. Just install both the event and sidebar plugin called like that, and you will have a new sidebar item where people can register themselves.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yankee07
Regular
Posts: 7
Joined: Tue Aug 01, 2006 5:32 am

Thank you

Post by yankee07 »

Great, Thank you. Thank actually worked out exactly how I was looking for it. Thanks again. :D
yankee07
Regular
Posts: 7
Joined: Tue Aug 01, 2006 5:32 am

User self registration

Post by yankee07 »

Hi garvinhicking,

Thanks again for you help in setting it up. The feature works great. I just have one more question about it. Is there a way for me that have the ability to approve the people who register before they are allow to post?

Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User self registration

Post by garvinhicking »

Hi!

No, that is currently not possible - usually it's also not required. You have two options:

1. You can make new authors only be allowed to post "Draft" entries. You can then review those people and only if they are fine, you give them a "Publish" ability.

2. You can add a contactform so that people do not instantly register themselves to their blog, but instead you receive an email with their "application". If the people sound proper, you could insert them as a user manually.

HTHk,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
iLife06
Regular
Posts: 6
Joined: Mon Aug 07, 2006 5:30 pm

Post by iLife06 »

Along the lines of User Self Registration...

I have an installation of S9Y on GoDaddy which I migrated from our dev server (which didn't have sendmail). Everything seems to functioning well with the exception of User Self Registration. After completing the registration info I never get the confirmation email.

Any suggestions? Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

When your blog wants to send mails, you need to configure the "Blog's email address" in s9y configuration to a valid sender address of a domain that is hosted on the server. Did you set that option?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
iLife06
Regular
Posts: 6
Joined: Mon Aug 07, 2006 5:30 pm

Post by iLife06 »

Ahhh.... :roll:
We do have an email set, but it's a @yahoo.com address. I'll add a user@my_domain.com address and give it a try.

Thanks!!!
jules
Regular
Posts: 7
Joined: Tue Aug 22, 2006 8:18 pm

Post by jules »

I am actually running into the same trouble. I do not recieve any activation-email. First I thought that the reason were the raunchily written mod_rewrite-roules plus dirtily configured relative HTTP-path and URL to the blog. (I needed this because I have installed the blog on http://sillydomain/~path/path/path/morepath/ but wanted to access it via http://subdomain.nicedomain.de/path.) So I reverted everything to a clean nice install under that silly URL, but still no success in getting the email.
The servers sendmail should support invalid "from"-emails as with other software that uses sendmail I can enter whatever I want as email and am getting those mails immediately.

The questions that I have are:

1. Is the blogs-email checked by serendipity before giving sendmail the information for being valid for the domain-name? Or is the notice that it has to be valid just a hint? (I assume not, as other applications can use sendmail with invaild emails)

2. If yes, can this part of the code be skipped?

3. If 1 yes, and 2 no, any more Ideas, what I could do to be protected against spamregistrations? What about a real registration-form with password- and email-correctness check and generated letterimages?

Any help would be greatly appreciated.

Regards
Jules
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Jules!

Are you sure that other software you use has a From: Header with an invalid domain name?

If so, then you have two issues: First, it violates MTA RFCs. ;) Second, if you really allow that, then Serendipity should work with it as well.

What did you set your Blog's E-Mail address to?

s9y uses the mail() PHP command which interfaces to sendmail. This might be different then a PERL script interfacing to sendmail.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jules
Regular
Posts: 7
Joined: Tue Aug 22, 2006 8:18 pm

Post by jules »

Hi garvin,

so far I spoke with the server admin and he told me how to implement a new MX record for his domainname into mine. Hoefully this helps.

After trying several email adresses I found out that gmx is rejecting the mail while all my other mailaccounts do accept it.

I will try it again in 24 hours when the changes on the my DNS are published worldwide.

Thanks for your support. (And many thanks for serendipity! More to this will go into another thread)

Jules
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Thanks for letting me know! I do suppose that the DNS entry should solve your problem. And mail rejection like yours is exactly the reason why different emails should not be entered in that field. ;)

HTH and glad to hear you enjoy serendipity :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply