|
#50250
08/13/2001 5:49 AM
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
perhaps, not only me wants this hack...
the idea is:
in a separate .HTML page, there's a form which includes textfields for username, password, email, other info... and of course a 'submit' button.
is it possible to make a script that each time i input entries to this form and click the 'submit' button, the entries will be forwarded to the ubb's flat-file database and the inputted users will automatically be members of that ubb?
A man of understanding sets his face towards wisdom...
|
|
|
#50251
08/13/2001 11:25 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Rather easy to do. Just use the same required fields in the form with the same actions... it will most likely need to be processed the "normal" ubb way because the fields go through several steps of making sure the fields were filled out correctly, that they aren't duplicates of someone else (email, username, etc), and writes to several areas - the email file, the member profile, the memberslist, and the membertotal.
|
|
|
#50252
08/15/2001 8:29 AM
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
hmmm... sounds motivating. but i want the form, when submitted directs to a predefined page and not to the usual 'thank you' page of the UBB. is this possible?
A man of understanding sets his face towards wisdom...
|
|
|
#50253
08/15/2001 5:07 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
Here's something I thought of: Could you not just alter UBB's thank you page to look the way you want it to? You could make the thank you page look just like the page you want to redirect to, or you could also add load="window.location='http://yourpage.html'"> to the page, which would actually redirect them to your hard-coded html page of choice.
public_reg_confirm.pl, and public_reg_confirm_kid.pl are the two template files you'll need to do this. Hope this helps.
---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|