TinyPortal

Development => Support => Topic started by: gijs on December 29, 2006, 01:13:35 AM

Title: register page / article / block
Post by: gijs on December 29, 2006, 01:13:35 AM
Any idea how to create a block or page (article) that allows visitors to register?

(ideally it would be even to register to a specific - predetermined - membergroup)
Title: Re: register page / article / block
Post by: JPDeni on December 29, 2006, 01:24:48 AM
The only way to do it would be to copy the registration code into a php file, which seems a little redundant. But maybe you have another reason that you need to do it.

There is a mod over at SMF to assign a membergroup to new users.
Title: Re: register page / article / block
Post by: gijs on December 29, 2006, 08:21:25 AM
My reason is twofold:

- I like to keep my installation as clean / mod-free as possible. Adding pages & blocks has relatively little impact.
- I run different 'websites from one package. Depending on the theme, people see different boards, blocks etc. (by only making changes in index.template.php!). Guests are allowed on one but not on an other.

And now I want to offer the possibility to register on just one of them. (and preferably assigning a membergroup automatically, but not necessarily). If I would be copying the registration code... what would that be? thanks!
Title: Re: register page / article / block
Post by: gijs on December 30, 2006, 10:24:14 AM
Any help would be appriciated... thoughts, anyone?
Title: Re: register page / article / block
Post by: penfield on March 26, 2007, 03:31:49 AM
I'm interested in the same thing. Did you get the code gijs?
Title: Re: register page / article / block
Post by: Jpg on March 26, 2007, 03:38:57 AM
Well there is a Quick Registration Block...

Here-
http://www.tinyportal.net/index.php?topic=5797.0
Title: Re: register page / article / block
Post by: penfield on March 26, 2007, 03:47:05 AM
Thanks for pointing that out jpg! I'll see if it does the trick.
Title: Re: register page / article / block
Post by: penfield on March 26, 2007, 04:32:54 AM
Very nice. Thanks again for helping-out!
Title: Re: register page / article / block
Post by: Jpg on March 26, 2007, 05:18:14 AM
Your welcome..It was my pleasure. :P