Loading...
 
Development

Development


Custom registration fields

posts: 1

I'm interested in using TikiWiki for a project, but I need to know whether I can create mandatory custom fields on the TikiWiki user registration page. I don't need TikiWiki to actually do anything with this information except make it visible to the administrator (and possibly other users).

Thanks.


posts: 3

I want to create a group based on user registration. So I have modified tiki-registration to include a new field (don't want to use tracker, b'cos of some issues), then modified the tiki-register.php.

Below are the changes I did
1) tiki-register.tpl (added a new field before password field...1.10.beta1)

{tr}Group{/tr}: add_group($_REQUEST%22group%22,$_REQUEST%22group%22,$_REQUEST%22group%22,,,,,,);

When i tested this, getting an error saying I am trying to insert NULL values into group name where I am passing the group name from user inputed field on registration page.

Do I need to do any more changes to be able pass value of 'group' from registration page ?


posts: 3

Reporting as code I entered was removed.

Image
Copy to clipboard
text


1) tiki-register.tpl
{tr}group{/tr}: add_group($_REQUEST%22group%22,$_REQUEST%22group%22,$_REQUEST%22group%22,,,,,,);

When i tested this, getting an error saying I am trying to insert NULL values into group name where I am passing the group name from user inputed field on registration page.

Do I need to do any more changes to be able pass value of 'group' from registration page ?



Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting