1
seolio
Registration Page
  • 2006/2/16 22:09

  • seolio

  • Not too shy to talk

  • Posts: 196

  • Since: 2005/11/2


Is it possible to add text on the registration page above the submit button, e.g. Your registration will be approved within 24 hours, in red writing or something.

Cheers

2
davidl2
Re: Registration Page
  • 2006/2/16 23:05

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Yes it should be possible. But i'm afraid I don't know how myself.

3
seolio
Re: Registration Page
  • 2006/2/17 16:20

  • seolio

  • Not too shy to talk

  • Posts: 196

  • Since: 2005/11/2


Cheers for the help, at least you could be bothered to reply.

4
allnewtome
Re: Registration Page
  • 2006/2/17 22:21

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I can only answer for XOOPS 2.2.3

The easiest way would be to add stuff to the top of the screen. E.g. a heading and/or the introductory text which you suggest.

The file you need to amend is modules/profile/register.php

At the very end you'll see

case 'register':
    default:
//INSERT STUFF HERE
    
include_once 'include/forms.php';
    
$reg_form =& getRegisterForm($newuser);
    
$reg_form->display();

    break;
}
include 
XOOPS_ROOT_PATH.'/footer.php';
?>


Add your stuff after the line where I've put (imaginatively enough) INSERT STUFF HERE.

If you know PHP and HTML, the rest is a doddle (and the next bit will be too simple for you)

All the PHP you'd need is to insert your HTML between

echo <<

ENDOFTEXT;


With the HTML, it might look like:

echo <<

Register for this site


Thank you for your interest in the site etc etc.

Your registration will be approved within 24 hours

ENDOFTEXT;




I hope I've understood your question!!


EDIT: The ENDOFTEXT; shouldn't be indented, I think.

5
seolio
Re: Registration Page
  • 2006/2/19 3:49

  • seolio

  • Not too shy to talk

  • Posts: 196

  • Since: 2005/11/2


Thanks for that, I dont know PHP but that worked, the 'ENDOFTEXT;' did not have to be indented, it gave a parse error when I indented it. Thanks

seolio

Login

Who's Online

355 user(s) are online (307 user(s) are browsing Support Forums)


Members: 0


Guests: 355


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits