req help : register <-> edit_profile

Now you can make it easyer for new users, with a shorter registration form

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

req help : register <-> edit_profile

Postby heifetz on Thu 18. Dec, 2003 19:02

Niels wrote:Niels wrote in the sticky:

This mod simply add a template more, with the same syntax as the original profile_add_body.tpl

this gives you the abillity to shorten the registration page, and still keep the ordenary "edit profile" page


than where do I change the link of the 'register'-button .. so it points to the (shortened) register-page .. and not the (full) profile-page?

is it in /profile.php ?

Code: Select all
   else if ( $mode == 'editprofile' || $mode == 'register' )
   {
      if ( !$userdata['session_logged_in'] && $mode == 'editprofile' )
      {
         redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=editprofile", true));
      }

      include($phpbb_root_path . 'includes/usercp_register.'.$phpEx);
      exit;
   }


the line with 'include' ... is that the 'else'-statement(of the inner 'if')?
if so.. can somebody explain what's written in that line..

thx in advance
heifetz
Poster
Poster
 
Posts: 2
Joined: Thu 18. Dec, 2003 18:25

Return to Custom registration form [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron