By Nefi de Marioz on Monday, 30 January 2017
Posted in General
Replies 3
Likes 0
Views 106
Votes 0
HI,

I would like to check, is there any script that I can use for me to put in to my custom module so it can show user current point in certain page in joomla frontend?

regards,
Nefi
Hello Nefi,

You could already use the "EasySocial Menu" module to display navigation and the user's points. Am I missing anything here?
·
Monday, 30 January 2017 22:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Happy New Year to you,

Thank you this is what I looking for.. In case there is any other script that I can use if you guys have for me to copy and paste in the custom module so it can only show the Current login for Points

Regards,
Nefi
·
Monday, 30 January 2017 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nefi,

The code snippet is in that module to retrieve the user's points To be precise, this block:

[gist]
<div>
<a class="mod-es-meta" href="<?php echo ESR::points(array('layout' => 'history' , 'userid' => $my->getAlias()));?>">
<?php echo $my->getPoints(); ?> <?php echo JText::_('MOD_EASYSOCIAL_MENU_POINTS'); ?>
</a>
</div>
[/gist]
·
Monday, 30 January 2017 23:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post