1
rossweb
edit user page
  • 2004/11/30 15:30

  • rossweb

  • Just popping in

  • Posts: 22

  • Since: 2004/10/30


Can anyone tell me how to remove the "Signature" box and caption and the "notification method" box and caption from user info, also which files need "doctored"?

Thanks

2
coopersita
Re: edit user page

/include/registerform.php

3
rossweb
Re: edit user page
  • 2004/11/30 19:11

  • rossweb

  • Just popping in

  • Posts: 22

  • Since: 2004/10/30


Thanks, but I can't find any reference to signature in that file????????

4
coopersita
Re: edit user page

Sorry. I sent you to the registration form...

The files you want to change are /userinfo.php (shows a user's profile) and /edituser.php (lets a user change his profile).


In userinfo.php what you want to do is comment out lines ~128, 129 for signature.

//$xoopsTpl->assign('lang_signature', _US_SIGNATURE);
//$xoopsTpl->assign('user_signature', $myts->makeTareaData4Show($thisUser->getVar('user_sig', 'N'),0,1,1));


And for edituser.php lines ~206 for signature:

//$form->addElement($sig_tray);


And ~209, 210 for notifications:

//$form->addElement($notify_method_select);
//$form->addElement($notify_mode_select);


This should help you begin.

That should do it. But before you do anything, make copies of your files.

5
rossweb
Re: edit user page
  • 2004/12/3 11:23

  • rossweb

  • Just popping in

  • Posts: 22

  • Since: 2004/10/30


Thanks very much, that did the trick.

Login

Who's Online

165 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 165


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