- Posts: 1
COMMUNITY FORUM
I need extra fields in the user profiles
- Jan Franciszek Cieslak
- Topic Author
- Offline
- New Member
Less
More
12 years 1 month ago #64673
by Jan Franciszek Cieslak
I need extra fields in the user profiles was created by Jan Franciszek Cieslak
Hi all,
This is my first post on this forum. Here is my question. I am using joomla 2.5. I would like to add some extra custom fields in user profile pages, not in articles), which can be edited by the users themselves. BUT, these fields should only exist in profiles form specific ACL groups. I know that K2 extension offers a possibility of adding extra fields in articles, but can you add them in user profile pages too?
Overall, this is what I am trying to achieve for the website I am making:
There will be 2 types of users with a possibility of adding content: lets say registered users, and premium users.
Premium accounts will be paid (could be done with a subscription extension), but unlike in normal paid subscription account, they will not have access to additional content, but instead, they will be able to create an extended profile page (lets say with description and images instead of just contact details). So I just wanted to know which extension would give me this possibility of adding extra fields to profile pages, based on ACL. Would K2 do the job?
BIG THANKS!
This is my first post on this forum. Here is my question. I am using joomla 2.5. I would like to add some extra custom fields in user profile pages, not in articles), which can be edited by the users themselves. BUT, these fields should only exist in profiles form specific ACL groups. I know that K2 extension offers a possibility of adding extra fields in articles, but can you add them in user profile pages too?
Overall, this is what I am trying to achieve for the website I am making:
There will be 2 types of users with a possibility of adding content: lets say registered users, and premium users.
Premium accounts will be paid (could be done with a subscription extension), but unlike in normal paid subscription account, they will not have access to additional content, but instead, they will be able to create an extended profile page (lets say with description and images instead of just contact details). So I just wanted to know which extension would give me this possibility of adding extra fields to profile pages, based on ACL. Would K2 do the job?
BIG THANKS!
Please Log in or Create an account to join the conversation.
- yaksushi
- Offline
- Premium Member
Less
More
- Posts: 157
12 years 1 month ago #64674
by yaksushi
Replied by yaksushi on topic Re: I need extra fields in the user profiles
did you ever find an answer to this? I'm looking to accomplish the same.
Please Log in or Create an account to join the conversation.
- Pata
- Offline
- New Member
Less
More
- Posts: 3
12 years 1 month ago #64675
by Pata
Replied by Pata on topic Re: I need extra fields in the user profiles
Hi,
I'd like to know too.. I'm interested in this! :lol:
I'd like to know too.. I'm interested in this! :lol:
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 1 month ago #64676
by william white
Replied by william white on topic Re: I need extra fields in the user profiles
Please Log in or Create an account to join the conversation.
- yaksushi
- Offline
- Premium Member
Less
More
- Posts: 157
12 years 1 month ago #64677
by yaksushi
Thanks William, yes I currently have the extended fields installed. What I'm looking for is how to add additional fields to this. I looked at the plugin but can't figure out how to add custom fields to the extended fields plugin.
Replied by yaksushi on topic Re: I need extra fields in the user profiles
William White wrote: have you seen this
getk2.org/extend/extensions/date/item/73-user-extended-fields-for-k2
?
Thanks William, yes I currently have the extended fields installed. What I'm looking for is how to add additional fields to this. I looked at the plugin but can't figure out how to add custom fields to the extended fields plugin.
Please Log in or Create an account to join the conversation.
- Andrey Miasoedov
- Offline
- Senior Member
12 years 1 month ago #64678
by Andrey Miasoedov
Replied by Andrey Miasoedov on topic Re: I need extra fields in the user profiles
In plugins\k2\userExtendedFields add the following :
userExtendedFields.xml :
<param name="your_param_name" type="text" size="40" default="" label="param name" description=""/>
userExtendedFields.php :
$your_param_name = $pluginParams->get('your_param_name');
userExtendedFields\tmpl\default.php
<?php if($your_param_name): ?>
<?php echo $your_param_name; ?>
<?php endif; ?>
userExtendedFields.xml :
<param name="your_param_name" type="text" size="40" default="" label="param name" description=""/>
userExtendedFields.php :
$your_param_name = $pluginParams->get('your_param_name');
userExtendedFields\tmpl\default.php
<?php if($your_param_name): ?>
<?php echo $your_param_name; ?>
<?php endif; ?>
Please Log in or Create an account to join the conversation.
- yaksushi
- Offline
- Premium Member
Less
More
- Posts: 157
12 years 1 month ago #64679
by yaksushi
Replied by yaksushi on topic Re: I need extra fields in the user profiles
@Andrey Miasoedov THANKS!!!! :woohoo:
Please Log in or Create an account to join the conversation.
- Hannah Niebla
- Offline
- New Member
Less
More
- Posts: 1
10 years 3 months ago #64680
by Hannah Niebla
Replied by Hannah Niebla on topic Re: I need extra fields in the user profiles
did that work?
Please Log in or Create an account to join the conversation.