TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 466
  • Total: 466

register page / article / block

Started by gijs, December 29, 2006, 01:13:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gijs

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)

JPDeni

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.

gijs

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!

gijs

Any help would be appriciated... thoughts, anyone?

penfield

I'm interested in the same thing. Did you get the code gijs?

Jpg


penfield

Thanks for pointing that out jpg! I'll see if it does the trick.

penfield

Very nice. Thanks again for helping-out!

Jpg


This website is proudly hosted on Crocweb Cloud Website Hosting.