- Posts: 3
- Thank you received: 0
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Kunena Ranks inside Jomsocial profile
14 years 9 months ago #97822
by Tazsta
Kunena Ranks inside Jomsocial profile was created by Tazsta
Hi guys ive had a search around and i cant seem to find how to get this working.
Im trying to get the Kunena Ranks and image to show in the Jomsocial Profile page.
i found this in another post:
but that doesn't seem to work.
I went into the Kunena Profile summary.php file and found this:
Im trying to put this code in the Jomsocial Template profile.header.php file
Im running Kunena 1.6.4
Jomsocial 2.2.1
and Joomla 1.6.3
If anyone can help that would be greatly appreciated
Tazsta
Im trying to get the Kunena Ranks and image to show in the Jomsocial Profile page.
i found this in another post:
Code:
<?php echo JText::_('CC RANKKUN'); ?>
<div class="profile-rank" style="padding-top: 5px; text-align: center;"><img src="<?php require_once JPATH_ROOT.DS."administrator".DS."components".DS."com_kunena".DS."api.php";
$rank_image = KunenaUserAPI::getRank ( $user->id );
echo $rank_image->rank_image; ?>" alt="" /></div>
but that doesn't seem to work.
I went into the Kunena Profile summary.php file and found this:
Code:
<?php if (!empty($this->rank_title)): ?><li><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_RANK'); ?>: </strong><?php echo $this->escape($this->rank_title); ?></li><?php endif; ?>
<?php if (!empty($this->rank_image)): ?><li class="kprofile-rank"><?php echo $this->rank_image; ?></li><?php endif; ?>
Im trying to put this code in the Jomsocial Template profile.header.php file
Im running Kunena 1.6.4
Jomsocial 2.2.1
and Joomla 1.6.3
If anyone can help that would be greatly appreciated
Tazsta
Please Log in or Create an account to join the conversation.
14 years 9 months ago #98055
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Kunena Ranks inside Jomsocial profile
Hello,
You need to create a plugin which leverage ranks from Kunena and put them into Jomsocial.
You need to create a plugin which leverage ranks from Kunena and put them into Jomsocial.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
14 years 7 months ago - 14 years 7 months ago #103895
by Frunzik
Replied by Frunzik on topic Re: Kunena Ranks inside Jomsocial profile
<h3><span><?php echo JText::_('RANKUN'); ?></span></h3>
<div class="profile-rank" style="text-align: center;"><img src="<?php require_once JPATH_ROOT.DS.'administrator'.DS.'components'.DS.'com_kunena'.DS.'api.php';
$rank_image = KunenaUserAPI::getRank ($user->id); ?>" alt="" /></div>
<img src="components/com_kunena/template/default/images/ranks/<?php echo $rank_image->rank_image; ?>" alt="" />
<div class="profile-rank" style="text-align: center;"><img src="<?php require_once JPATH_ROOT.DS.'administrator'.DS.'components'.DS.'com_kunena'.DS.'api.php';
$rank_image = KunenaUserAPI::getRank ($user->id); ?>" alt="" /></div>
<img src="components/com_kunena/template/default/images/ranks/<?php echo $rank_image->rank_image; ?>" alt="" />
Last edit: 14 years 7 months ago by Frunzik.
Please Log in or Create an account to join the conversation.
- m59peacemaker
-
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
13 years 7 months ago #130094
by m59peacemaker
Replied by m59peacemaker on topic Re: Kunena Ranks inside Jomsocial profile
I can't get this to work. I really need those ranks in the JomSocial profile. When I copy that code into components/com_community/templates/default/profile.header.php, the page won't load anything after it gets to that part. It's mostly a white page.
Please Log in or Create an account to join the conversation.
Time to create page: 0.227 seconds