Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi Couch! Its me again!

I wanna ask about :

Can i create 3 types of Extended User?

Lets say :
Code: Select all
-root

--couch

--user1
---user1_index.php
---user1_profile.php

--user2
---user2_index.php
---user2_profile.php

--user3
---user3_index.php
---user3_profile.php


If can, how to achieve this?

Thx!
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
Hi,

We can only associate a single template to extend the users so it cannot be done the way you suggested, I'm afraid.

However, I think you can do the following to achieve the same results -
Define three 'folders' in the extending template to represent the three kind of users.
Define fields for all three types of users in the template but while showing the profile, check which folder the user belongs to and then show only the relevant fields.

Does this help?
Hi KK.
Sorry for my late respon. My internet sux this week.

Btw, i already implement your suggestion. I have a 3 diffrnt folders on my extendd user template.
So now, i create 3 diffrnt user registration page (databound), "user1-reg.php", " user2-reg.php and "user3-reg.php" with each input for each needs of users type. What i want is :

When user access "user1-reg.php" and reg, that user no need to choose user1 folder, so when access user1-reg, he will registed to user1 folder.

Any suggestion?


Thx.!
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
Hi,

While creating the user you can explicitly associate the account with the right folder, as recently discussed here -
viewtopic.php?p=21261#p21261
I think you should find the mentioned thread useful.

Hope it helps.
KK wrote: Hi,

While creating the user you can explicitly associate the account with the right folder, as recently discussed here -
viewtopic.php?p=21261#p21261
I think you should find the mentioned thread useful.

Hope it helps.


Thx KK for pointing me to the solution.
Now everythings work perfectly! :D
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
5 posts Page 1 of 1