1
   

error document and quick register.

 
 
celcom
 
Reply Fri 7 Jan, 2005 08:36 pm
anyone got idea how to make error ducument for 404 ,301 ... and redirect it to register page for phpbb.
How to make quick register form for phpbb
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 633 • Replies: 2
No top replies

 
Craven de Kere
 
  1  
Reply Sat 8 Jan, 2005 06:52 pm
The errors depend on you server etc.

e.g. with apache you can use .htaccess files to redirect certain erros to the registration page.

Here is an example from my file:

ErrorDocument 404 http://www.able2know.com/forums/profile.php?mode=register&agreed=true

As to the quick registration form just 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
 
celcom
 
  1  
Reply Sun 9 Jan, 2005 10:41 am
Thank you. It works!
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. » error document and quick register.
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/18/2025 at 02:08:40