1
   

Custom Registration Form

 
 
Dabuek
 
Reply Tue 22 Mar, 2005 01:19 pm
Hey Craven,
I love the mods! So when are you going to let the cat out of the bag and tell us how to get a cool forum registration form like you guys have?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 2,862 • Replies: 5
No top replies

 
Craven de Kere
 
  1  
Reply Wed 23 Mar, 2005 12:41 am
Make a template (start with your profile_add_body.tpl) with the items you want on your form and name it 'profile_register_body.tpl'

Then in includes/usercp_register.php

find


Code:$template->set_filenames(array(
'body' => 'profile_add_body.tpl')
);


replace with

Code:if ($mode=='register')
$template->set_filenames(array( 'body' => 'profile_register_body.tpl'));
else $template->set_filenames(array('body' => 'profile_add_body.tpl'));
0 Replies
 
Dabuek
 
  1  
Reply Wed 23 Mar, 2005 12:28 pm
So you're saying just strip profile_add_body.tpl of what you don't want, and then rename it and ftp it over (after having modified the includes usercp_register.php file)...
Have I got that right?
Have you considered making this a sticky, or at least referencing it in the "promoting the forum" thread?

BTW, Craven... I love the Poe quote in your profile... It makes a REALLY great point to it.
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 23 Mar, 2005 12:55 pm
Dabuek wrote:

Have I got that right?


Yes
0 Replies
 
mdvaldosta
 
  1  
Reply Mon 5 Dec, 2005 01:27 pm
Craven, can you post your profile_register_body.tpl?
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 10 Dec, 2005 03:17 pm
I am not at a computer that I can do that from right now, but it's pretty simple. Just look at the elements I include by viewing the source on the register page.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Custom Registration Form
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 11/02/2024 at 09:29:02