- Posts: 19
- Thank you received: 0
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/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
Question [Gelöst] Infobox (Welcome...)
- lastboyscout
- Topic Author
- Offline
- Junior Member
Hab ein Problem, dass ich schon beim FB hatte und nie lösen konnte: ich würde gerne die Infobox oben (dort wo "Welcome ..." ect. steht) fix ausblenden. Hab leider bis jetzt noch keine Lösung gefunden.
Seit heute hab ich Kunena am laufen und irgendwie sah es schon immer unschön aus, wenn ein Benutzer sich übers Forum anmelden bzw. registrieren muss - verwende auf meiner Seite den Community Builder mit eigenem Login und möchte, dass sich die Benutzer NUR dort einloggen bzw. registrieren.
Wäre toll, wenn jemand eine Lösung für mich hätte.
Danke und liebe Grüße.
Please Log in or Create an account to join the conversation.
Ich kann dir kurz ein paar Hinweise geben, nachfolgend das, was ich mir damals für die Firebox-Modifizierung !!!notiert hatte. Verändert wird die Datei profilebox.php (findest du im template)
Zeile 114 u. 115 von:
$registerlink = sefRelToAbs('index.php?option=com_user&task=register&Itemid=' . $Itemid);
$lostpasslink = sefRelToAbs('index.php?option=com_user&view=reset&Itemid=' . $Itemid);
}
ändern in:
$registerlink = sefRelToAbs('index.php?option=com_comprofiler&task=registers');
$lostpasslink = sefRelToAbs('index.php?option=com_comprofiler&task=lostPassword');
}
Zeile 195 folgendes löschen:
<a href = "<?php echo $loginlink;?>"> und </a>
also aus:
<a href = "<?php echo $loginlink;?>"><?php echo _PROFILEBOX_LOGIN; ?></a> <?php echo _PROFILEBOX_OR; ?> <a href = "<?php echo $registerlink;?>"><?php echo _PROFILEBOX_REGISTER; ?></a>.
das machen:
<?php echo _PROFILEBOX_LOGIN; ?> <?php echo _PROFILEBOX_OR; ?> <a href = "<?php echo $registerlink;?>"><?php echo _PROFILEBOX_REGISTER; ?></a>.
Please Log in or Create an account to join the conversation.
- lastboyscout
- Topic Author
- Offline
- Junior Member
- Posts: 19
- Thank you received: 0
Hab mich evtl. vorhin nicht präzise genug ausgedrückt: ich möchte die ganze Box oben verstecken - also gleicher Effekt, der kommt, wenn man das "Minus" neben der Search-Box oben anklickt.
Please Log in or Create an account to join the conversation.
/components/com_kunena/template/default/plugin/profilebox
Zeile 229-341 auskommentieren mit <!-- -->
<!-- <table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "fb_profilebox" >
<tbody id = "topprofilebox_tbody">
<tr class = "<?php echo $boardclass ;?>sectiontableentry1">
<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&func=announcement&do=show'.KUNENA_COMPONENT_ITEMID_SUFFIX;
?>
| <a href = "<?php echo $annlink;?>"><?php echo _ANN_ANNOUNCEMENTS; ?> </a>
<?php } ?>
</td>
<?php
if (mosCountModules('kunena_profilebox'))
{
?>
<td>
<div class = "fb_profilebox_modul">
<?php
if (CKunenaTools::isJoomla15())
{
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$options = array('style' => 'xhtml');
$position = 'kunena_profilebox';
echo $renderer->render($position, $options, null);
}
else
{
mosLoadModules('kunena_profilebox', -2);
}
?>
</div>
</td>
<?php
}
?>
</tr>
</tbody>
</table> -->
Please Log in or Create an account to join the conversation.
- lastboyscout
- Topic Author
- Offline
- Junior Member
- Posts: 19
- Thank you received: 0
In der Datei components/com_kunena/kunena.php ganz einfach folgende Zeilen ausdokumentieren: 544, 547 bis 554.
544:
547 bis 554:
Hab's mal kurz getestet und es scheint problemlos zu funktionieren.
Ich häng hier noch die veränderte kunena.php für die 1.0.8 an, falls das jemand brauchen kann (einfach in einen Textfile kopieren und als kunena.php ins Verzeichnis uploaden).
Please Log in or Create an account to join the conversation.
Das Minuszeichen hatte ich dabei außer Acht gelassen, wurde auch nicht nach gefragt
Please Log in or Create an account to join the conversation.
- lastboyscout
- Topic Author
- Offline
- Junior Member
- Posts: 19
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Other solutions are written in sticky threads (german), fxstein will read them, and decide, what is important enough to become part of new Kunena-Version. I have not so much time, to write all in german AND in english.
Please Log in or Create an account to join the conversation.
The problem is, that when I'm tired (mostly 4-5 hours of sleep for 3 weeks) I tend to do things too quickly. I will get some rest soon, but before that I'd like to know if there are any problems with the release.
Please Log in or Create an account to join the conversation.