By Manish Arora on Thursday, 29 May 2014
Posted in General Issues
Replies 6
Likes 0
Views 587
Votes 0
i need to show user rank below his pic in discussion view, which file i need to edit guide me

and i hope this code to get rank is correct

$profileid=current discussion/reply user
$user= DiscussHelper::getTable('Profile');
$user->load($profileid);
echo DiscussHelper::getUserRanks( $userx->id );
Hello Manish,

I'm sorry by default the ranks is already displayed under the profile pic: http://screencast.com/t/f7ymPWwwdx0 . Can you elaborate more on your requirement? Please advise.
·
Thursday, 29 May 2014 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
no rank is show when we hover on it ,i want to show permanently above the rank meter
·
Friday, 30 May 2014 03:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manish,

I am sorry for the late reply.
Can you try put this file in your site and see how it goes.
dir: \components\com_easydiscuss\themes\simplistic\frontpage.post.php .

Please make backup first before override this file in your site, so that you're able to revert it back if you don't want it.
Hope this will help.
Thanks.
·
Friday, 30 May 2014 11:36
·
0 Likes
·
0 Votes
·
0 Comments
·
i needed to show respective users rank below profile pic not my rank below all users

instead of echo DiscussHelper::getUserRanks( $system->profile->id );
it should be DiscussHelper::getUserRanks( $post->user->id );
·
Friday, 30 May 2014 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
also the file you have provided show rank in frontpage view , i need to show ranks as well in discussion view ,similar to premium written below my profile pic in this discussion
·
Friday, 30 May 2014 17:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manish,

I am sorry for the earlier, please try put this attached files in your site. Dir:
\components\com_easydiscuss\themes\simplistic\post.reply.item.php
\components\com_easydiscuss\themes\simplistic\post.question.item.php

Is there anywhere else you want to put this? If you have anymore question, please don't hesitate to ask us.
By the way, this customization is only available for your site and please make backup if you want to update EasyDiscuss. You will be responsible to put these modification back after update.

Please be advise.
Thanks.
·
Friday, 30 May 2014 18:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post