Support

  1. faristizabal
  2. Presales Question
  3. Wednesday, March 18 2015, 09:35 PM
Hi guys,
It's possible to display Google Adsense Adds in Search Results list?
ThankS!!!
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry but to do this you need to crete your template override, Easy Profile is developed with Joomla MVC model so you can override our templates.

You can copy and edit /components/com_jsn/views/list/tmpl/default.php into /templates/your-template-folder/html/com_jsn/list/default.php

Example: You can add this code for Google Adsense after line 60
if($countUsers==5) echo('google code');if($countUsers==10) echo('google code');
with this after the fifth and tenth user you will see your ADS.
  1. more than a month ago
  2. Presales Question
  3. # Permalink
faristizabal Accepted Answer
Pro
Hi!! Thanks for the answer, I have two more questions:

1. Am I able to create conditional fields?, for example, a field named "sport" with three options: "soccer", "basketball" and "golf", and then create a conditional field depending on the choosen sport, for example if a person choose "soccer" in sport field, that person gets new field named "position" with options like "goalkeeper", "midfielder", "striker", etc.

2. Am I able to score people? for exaple create a 5 stars scoring?

Thanks a lot guys!
  1. more than a month ago
  2. Presales Question
  3. # 1
admin Accepted Answer
Admin
Hi Felipe, sorry for late reply, it was too late for us and our offices are closed.

1. Yes, you can try this even with free version only you need to use text field instead radio field.

- Create a text field called "Sport" (available on edit profile/registration/profile pages)
- Create a text field called "Soccer Position" (available on edit profile/registration/profile pages)
- Set this condition on "Sport" field
if equal to custom value "soccer" show "Soccer Position" field.
- Now if you type "soccer" into "Sport" field you will see "Soccer Position" field

NOTE: Conditions have two way, so if this condition is not met "Soccer Position" field will be hidden

2. No sorry, this is not a feature.
  1. more than a month ago
  2. Presales Question
  3. # 2
admin Accepted Answer
Admin
Hi,
to show banner in user position try to add after line 54 this code:
if($countUsers==5){
if(($countUsers%$cols)==0) echo('<div class="row-fluid">');
echo('<div class="span'.$this->span.' col-lg-'.$this->span.' jsn_listprofile">Google Code</div>');
if(($countUsers%$cols)==($cols-1)) echo('</div>');
$countUsers+=1;

}


if you want to add other banner you can copy this code multiple time (change 5 with various positions)
Attachments (1)
  1. more than a month ago
  2. Presales Question
  3. # 3
faristizabal Accepted Answer
Pro
Thanks a lot, works perfectly.
  1. more than a month ago
  2. Presales Question
  3. # 4
faristizabal Accepted Answer
Pro
Easy Profile Support wrote:

Hi Felipe, sorry for late reply, it was too late for us and our offices are closed.

1. Yes, you can try this even with free version only you need to use text field instead radio field.

- Create a text field called "Sport" (available on edit profile/registration/profile pages)
- Create a text field called "Soccer Position" (available on edit profile/registration/profile pages)
- Set this condition on "Sport" field
if equal to custom value "soccer" show "Soccer Position" field.
- Now if you type "soccer" into "Sport" field you will see "Soccer Position" field

NOTE: Conditions have two way, so if this condition is not met "Soccer Position" field will be hidden

2. No sorry, this is not a feature.


This doesn't work with radio or select fields?
  1. more than a month ago
  2. Presales Question
  3. # 5
admin Accepted Answer
Admin
Hi,
sorry for late replay, it's a weekend for us :)

in select/radio fields you need to set the value of option in conditions

example 1:
1|Soccer
2|Baseball
3|Golf

in your condition you need to set: if equal to custom value "1" show soccer position field

example 2:
sport_soccer|Soccer
sport_baseball|Baseball
sport_golf|Golf

in your condition you need to set: if equal to custom value "sport_soccer" show soccer position field

if is so, please send me your site details, we will check your configuration. you can fill the form below the reply.
  1. more than a month ago
  2. Presales Question
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.