×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× 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
  • Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
11 years 2 months ago - 11 years 2 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
<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 :
<br />
 
                <?php echo CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0, _KUNENA_SEARCH_ADVSEARCH);?>
 
</td>

Puis dans le même fichier,
Remplacer :
<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 :
<br />
 
                <?php echo CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0, _KUNENA_SEARCH_ADVSEARCH);?>
 
</td>

C'est tout !
Last edit: 11 years 2 months ago by PaRaDiSiAk.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.092 seconds