Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 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 Change of header avatar position

More
17 years 2 months ago #5805 by audisport
Hi guys,
First of all, Txs a lot for this great component!

Little question, is there a possibility to move the top avatar in the header from left to right?

Thanks a lot for your help.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #5958 by Matias
components/com_kunena/template/default/plugin/profilebox/profilebox.php line 127:

Change order of the two <td>'s.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #6012 by audisport
Txs a lot!

Could you please insert a part of the code you are talking about between the tds?

Thanks again ;)

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago - 17 years 2 months ago #6017 by Lintzy
Change this

original:

<td class = "td-1 fbm" align="left" width="5%">
<?php echo CKunenaLink::GetProfileLink($fbConfig, $my->id, $jr_avatar);?>
</td>


<td valign = "top" class = "td-2 fbm fb_profileboxcnt" align="left">
<?php echo _PROFILEBOX_WELCOME; ?>, <b><?php echo $jr_username; ?></b>

<br />

<a href = "<?php echo $jr_latestpost ; ?>"><?php
echo _PROFILEBOX_SHOW_LATEST_POSTS; ?> </a> | <?php echo $jr_profilelink; ?> | <a href = "<?php echo $logoutlink;?>"><?php echo _PROFILEBOX_LOGOUT; ?></a>
<?php
$user_fields = @explode(',', $fbConfig->annmodid);

if (in_array($my->id, $user_fields) || $my->usertype == 'Administrator' || $my->usertype == 'Super Administrator') {
$is_editor = true;
}
else {
$is_editor = false;
}

if ($is_editor) {
$annlink = 'index.php?option=com_kunena&amp;func=announcement&amp;do=show'.KUNENA_COMPONENT_ITEMID_SUFFIX;

?>
| <a href = "<?php echo $annlink;?>"><?php echo _ANN_ANNOUNCEMENTS; ?> </a>
<?php } ?>

</td>



changed:

<td valign = "top" class = "td-2 fbm fb_profileboxcnt" align="left">
<?php echo _PROFILEBOX_WELCOME; ?>, <b><?php echo $jr_username; ?></b>

<br />

<a href = "<?php echo $jr_latestpost ; ?>"><?php
echo _PROFILEBOX_SHOW_LATEST_POSTS; ?> </a> | <?php echo $jr_profilelink; ?> | <a href = "<?php echo $logoutlink;?>"><?php echo _PROFILEBOX_LOGOUT; ?></a>
<?php
$user_fields = @explode(',', $fbConfig->annmodid);

if (in_array($my->id, $user_fields) || $my->usertype == 'Administrator' || $my->usertype == 'Super Administrator') {
$is_editor = true;
}
else {
$is_editor = false;
}

if ($is_editor) {
$annlink = 'index.php?option=com_kunena&amp;func=announcement&amp;do=show'.KUNENA_COMPONENT_ITEMID_SUFFIX;

?>
| <a href = "<?php echo $annlink;?>"><?php echo _ANN_ANNOUNCEMENTS; ?> </a>
<?php } ?>

</td>

<td class = "td-1 fbm" align="left" width="5%">
<?php echo CKunenaLink::GetProfileLink($fbConfig, $my->id, $jr_avatar);?>
</td>

Last edit: 17 years 2 months ago by Lintzy.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #6030 by audisport
It worked! TXSSSSS

Please Log in or Create an account to join the conversation.

Time to create page: 0.280 seconds