1. Yvan_Besnard
  2. General
  3. Monday, August 07 2017, 05:10 PM
hello
I Have a subscription Paypal button for only registered users. I would place it in profile edit for change user group with a html delimiter field. a form in form is not a good idea because E.P says it's a violacy of the security when I click on paypal button and stop the action.
how to do for autorize the registered to click on paypal button for change usergroup ?
admin Accepted Answer
Admin
Hi,
Easy Profile extends Joomla user management (not replace), so edit profile page is the same of Joomla (managed from Joomla com_users component).
E.P says it's a violacy of the security when I click on paypal button and stop the action.
this not regards Easy Profile, This should depend how your Paypal Button works, I think that it send edit profile form without Joomla access token, so Edit Profile page return a security error.
Unfortunately I does not know how to works your Paypal Button, but I recommend you to put it into a module (out from edit profile form).
  1. more than a month ago
  2. General
  3. # 1
Yvan_Besnard Accepted Answer
I find a solution But I thought that with the E.P fields there might be way around the problem.
I realized in edit profile a button that link to the page where the paypal button is located.

other question : always with field of E.P : users can give a link in link field but I would display a icon or a button for this link that is variable by user ; this is possible with fields of E.P ?

thank to answers
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply, yesterday it was too late for us and our offices are been closed :D

Yes this is possible, you can use HTML delimiter field type and Content Plugin to make this, follow these steps:
- Make Link field not available in profile page
- Create a custom field of type HTML Delimiter and set it to be available only in profile page
- Set HTML description in the new field with something like this*:

<a href="/{user link_alias displayed raw}">your content</a>

- Edit link field and add this condition: if equal to custom value (leave empty custom value) then hide HTML delimiter field

In profile page you will see HTML field type only when link field is filled, it will show the link with your custom content.

* NOTE: HTML editors like TinyMce (built in Joomla editor) should not recognize something like {user ...} as link, so it may change the output, so I recommend you to disable editor when you edit this field.

Docs:
HTML delimiter field type: http://docs.easy-profile.com/index.php/article/html-delimiter-field-type
Content Plugin: http://docs.easy-profile.com/index.php/article/content-plugin
  1. more than a month ago
  2. General
  3. # 3
Yvan_Besnard Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
you can do this with a simple template override:
- Copy file from /components/com_jsn/views/profile/tmpl/default.php to /templates/your-template-folder/html/com_jsn/profile/default.php
- edit new file and add this code after line 101

<?php echo $this->user->getField( 'htmldelimiter_alias' ) ; ?>


Docs about JsnUser Object at http://docs.easy-profile.com/index.php/article/jsnuser-object
  1. more than a month ago
  2. General
  3. # 5
Yvan_Besnard Accepted Answer
thank
other question for the same field :
I add a radio field when it's selected is a filter for search users with Shop icon
I add a new condition on shop url field :
if field not to value (empty)
then display with shop
but not result

thank to answers
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
I do not know if I understand well but I try to answer.

You can not use conditions to filter users, conditions can hide/show fields and add/remove users from usergroups.
  1. more than a month ago
  2. General
  3. # 7
Yvan_Besnard Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 8
admin Accepted Answer
Admin
Hi,
probably there is a error in alias of field, Easy Profile does not allow char "-" in the alias, so try something like "icon_shop" instead "icon-shop"
  1. more than a month ago
  2. General
  3. # 9
Yvan_Besnard Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 10
admin Accepted Answer
Admin
Hi,
to check this we need to see your configuration. Can you please post me your site details? you can use the form below the reply in "Site Details" tab.
  1. more than a month ago
  2. General
  3. # 11
Yvan_Besnard Accepted Answer
it's done
  1. more than a month ago
  2. General
  3. # 12
admin Accepted Answer
Admin
Hi,
sorry I did not know you used the social network plugin :D

Anyway I have done this for you, you can see override file at /templates/ja_simpli/html/com_jsn/profile/social.php (custom code is between lines 28 and 34)
  1. more than a month ago
  2. General
  3. # 13
Yvan_Besnard Accepted Answer
I see and i thank you for this.
thank to answers
  1. more than a month ago
  2. General
  3. # 14
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.