News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

'External' registration

Started by nsrempel, May 14, 2007, 04:58:01 PM

Previous topic - Next topic

nsrempel

Hi there,

What im trying to build is a minimalistic external registration. The registration page should simply be the few neccessary fields, and a white page (no template or theme what-so-ever). The reason is to make it fast to load, and not have any unnessecary content at all. Registration only.

The problems I've encountered so far are: If I make a seperate php file, that is NOT accessed through index, obviously it doesn't want to connect to Subs-Members with appropriate settings. When I changed this to use the 'initialization' presented within index itself, it automaticaly redirects to index.php

The other thing I tried is to put the new registration in Sources, and have the page referenced by Index. This works, but then how do I remove all traces of the template and theme?

Thanks for the help.

Kays

Couldn't you use a custom "action" to do this. ?action=miniregister

I don't know enough about it yet. But I believe that if you place that file in the Sources directory and add an action in the action array in index.php then you should go to it when that action is called.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

nsrempel

Aye, that's what I was refering to in the latter part of my post. That works fine except for the template problem, (i.e. I dont want the template or theme, just a blank screen)

Kays

Quotedoesn't want to connect to Subs-Members with appropriate settings

Ok. How and what happens, if anything.

Are you using SSI.php?

Considering the fact that people only visit that page once, is it worth the effort?


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: