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.

Display the actual Jomsocial Points the # of points not drops

8 years 7 months ago
  • Chris's Avatar
    Topic Author
  • Chris
  • Offline
  • Fresh Boarder
  • Posts: 76
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

ISSUE SUMMARY:
I have a site that is to be a rewards program for HR department that gives point to employees ( registered users) as a rewards program - these uses are supposed to be able to purchase products from the site - we are using Quick2Cart from Tech Joomla to achieve this But we want to display the actual number of points as a number rather than the default drops ( please refer to Pics) on both the Hello me and the Profile section
How can this be achieved TY

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

Attachments:
8 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

This is impossible by default, but you can hack / override this if you want
1. edit this file components/com_community/templates/jomsocial/layouts/profile/focus.php, find this code :

<img src="<?php echo $badge->current->image;?>" alt="<?php echo $badge->current->title;?>" class="joms-focus__badges"/>
change to :
$user->getKarmaPoint();

2. Edit this file modules/mod_hellome/tmpl/default.php, find this code :
<img src="<?php echo $myKarma; ?>" alt="<?php echo JText::_('MOD_HELLOME_KARMA'); ?>" width="103" height="19" style="margin: 5px 0 0;" />
change to :
$my->getKarmaPoint();

this is not tested yet, but I hope will be work

8 years 7 months ago
  • Chris's Avatar
    Topic Author
  • Chris
  • Offline
  • Fresh Boarder
  • Posts: 76
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

This code has made some iun expected format changes - these changes need to be adjusted Look at the Pic

1. See where the points are located? This is not something we want to do, prefer it back where the karma ter drop were
2. the result of editing this code has removed the Profile Avatar .

Please Advise ASAP please TY

Attachment jomsocial_Point_codeERROR.JPG not found

Attachments:
8 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Please check to :

<div class="joms-focus__badges">$my->getKarmaPoint();,/div>

Also regarding the avatar, I am not sure, because that is not coming from my code, please you check again.

thank you

8 years 7 months ago
  • Chris's Avatar
    Topic Author
  • Chris
  • Offline
  • Fresh Boarder
  • Posts: 76
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

I dont Know what that means - please explain what and where to put

<div class="joms-focus__badges">$my->getKarmaPoint();,/div>

or what I am replacing



Also we cant Find this Code :

- <img src="<?php echo $myKarma; ?>" alt="<?php echo JText::_('MOD_HELLOME_KARMA'); ?>" width="103" height="19" style="margin: 5px 0 0;" />

I NEED The POINTS TO APPEAR ON THE HELLO ME Please ASAP I have client meeting tomorrow can you PLEASE PLEASE Fix this for me
TY


Also the Avatar is still not working since we changed that code

Attachments:
8 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

please you revert all code, and make sure the avatar appear then.. if still not appear so that issue is not coming from my code.. create new topic for that.

I will help you the hellome module issue, but please provide me the FTP access first.

8 years 7 months ago
  • Chris's Avatar
    Topic Author
  • Chris
  • Offline
  • Fresh Boarder
  • Posts: 76
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

canadasmarketplace.ca/cpanel

U: MOVED
P: MOVED

8 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

what is the backend access? I cant access it, the current backend access is not working for me

8 years 7 months ago
  • Chris's Avatar
    Topic Author
  • Chris
  • Offline
  • Fresh Boarder
  • Posts: 76
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active
8 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I just fix it, please check

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