We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>NewUserTemplate (24 Jul 2007, TommyMartin)
Tags:
create new tag
, view all tags

Question

Hi,

I have recently tried to modify the NewUserTemplate.txt

---++ My Personal Data

%EDITTABLE{ format="| label |text,30|" changerows="off" quietsave="off" }%

Name: %USERINFO{"NewUserTemplate" format="$wikiname"}%
Email: %USERINFO{"NewUserTemplate" format="$emails"}%

---++ Useful Links

Some LINKS

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="UserView"}%

And when i create a new user and try to view the result

My Personal Data

Name:  
Email:  

Useful Links

Some LINKS

  • First Name: Tommy
  • Last Name: Martin


The problem now is i have this additional first,last name and set ALLOWTOPICCHANGE in the bottom which i want to get rid of, but i just cannot find where do they come from, and how to remove them...

Thanks in advance

Tommy

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- TommyMartin - 20 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I think i have noticed that this might has something to do with the Register.pm file, looking at the writeRegistrationDetailsToTopic method.. but still i wondering if i can remove those thing away... better if without any modification to the Register.pm file

-- TommyMartin - 20 Jul 2007

it's hard coded in Register.pm (line 884) so you have to touch the file file and remove the ALLOWTOPICHANGE part if you wanna get rid of it.

-- CarloSchulz - 23 Jul 2007

Yeah.. i did it already, editing the Register.pm, so that those thing will appear hidden, thank anyway

-- TommyMartin - 24 Jul 2007

 
Change status to:
Topic revision: r5 - 24 Jul 2007 - 10:04:28 - TommyMartin
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback