2
   

Custom Registration Form

 
 
View Profile 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?
 
  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
 
View Profile 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
 
  1  
Reply Wed 23 Mar, 2005 12:55 pm
Dabuek wrote:

Have I got that right?


Yes
0 Replies
 
  1  
Reply Mon 5 Dec, 2005 01:27 pm
Craven, can you post your profile_register_body.tpl?
0 Replies
 
  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

I'm the developer - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
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
mod rewrite for a different theme? - Discussion by etali
 
  1. able2know
  2. » Custom Registration Form
Copyright © 2009 Horizontal Verticals :: Page generated in 0.38 seconds on 11/24/2009 at 12:09:15 Top End