Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Les sujets sont déplacés dans ce domaine ne sont fermés parce qu'ils se rapportent à des versions non prises en charge de Kunena.

Idea Kunena 1.5 avec CB effacer les liens d'inscription/connection/déconnection

  • PaRaDiSiAk
  • PaRaDiSiAk's Avatar Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
14 years 8 months ago - 14 years 8 months ago #1 by PaRaDiSiAk
Lorsque l'on utilise cojointement Kunena et CB (Community Builder), les liens d'inscription de Kunena ne sont pas les mêmes que ceux de CB.
J'ai modifié le fichier profilebox.php (components/com_kunena/template/default/plugin/profilebox/profilebox.php), afin de ne pas afficher dans Kunena les liens d'inscription/connection/déconnection.

Pour ceux que cela intéresse :

Dans components/com_kunena/template/default/plugin/profilebox/profilebox.php :
Remplacer
Code:
<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($kunena_my->id, $user_fields) || $kunena_my->usertype == 'Administrator' || $kunena_my->usertype == 'Super Administrator') { $is_editor = true; } else { $is_editor = false; } if ($is_editor) { ?> | <a href = "<?php echo CKunenaLink::GetAnnouncementURL($fbConfig, 'show');?>"><?php echo _ANN_ANNOUNCEMENTS; ?> </a> <?php } ?> | <?php echo CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0, _KUNENA_SEARCH_ADVSEARCH);?> </td>

Par :
Code:
<br /> <?php echo CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0, _KUNENA_SEARCH_ADVSEARCH);?> </td>

Puis dans le même fichier,
Remplacer :
Code:
<br/> <?php echo _PROFILEBOX_PLEASE; ?> <a href = "<?php echo $loginlink;?>"><?php echo _PROFILEBOX_LOGIN; ?></a> <?php echo _PROFILEBOX_OR; ?> <a href = "<?php echo $registerlink;?>"><?php echo _PROFILEBOX_REGISTER; ?></a>. &nbsp;&nbsp; <a href = "<?php echo $lostpasslink;?>"><?php echo _PROFILEBOX_LOST_PASSWORD; ?></a> </td>

Par :
Code:
<br /> <?php echo CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0, _KUNENA_SEARCH_ADVSEARCH);?> </td>

C'est tout !
Last edit: 14 years 8 months ago by PaRaDiSiAk.

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

Time to create page: 1.057 seconds