Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

points instead of drops

10 years 4 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

hi,
is there a button that i can switch between the karma drops and to show the points?
or i have to insert code?
please advice
BR
Amit

10 years 4 months ago
Licenses:

Hi,

you need to put custom code at jomsocial template by using template override method.
documentation.jomsocial.com/wiki/Customizing_Template

could you please elaborate more? do you want to show points only at profile cover or other pages?
I can provide the custom code for you.

Regards

10 years 4 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

hi,
i want to show points in profile, but if i can in more places it would be great. foe example under the name of a user or user profile photo.

10 years 4 months ago
Licenses:

Hi,

for profile:
copy /components/com_community/templates/jomsocial/layouts/profile/focus.php
to
/templates/jm-joomads-ef4/html/com_community/layouts/profile/

edit that new file and at line 114 put this new code

<?php $cuser = CFactory::getUser($user->id); ?>
<span class="joms-focus__info--desktop">Points: <?php echo $cuser->getKarmaPoint(); ?></span>

Ref:
documentation.jomsocial.com/wiki/JomSocial_User_Object

Regards

The following user(s) said Thank You: Amit
10 years 4 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

Great.
How to add it to modul top member?
Anit

10 years 4 months ago
Licenses:

Hi,

do you mean JS members module?
I saw top members module not enabled.

please provide me site URL where having that module.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW