Kunena 6.4.7 Released

The Kunena team has announce the arrival of Kunena 6.4.7[K 6.4.7] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.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 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

Themen, die in diesen Bereich verschoben wurden, gelten allgemein als beendet. Falls es dazu noch zusätzliche Fragen gibt, können diese zwar noch gestellt werden, aber diese alten Themen sollten auf keinen Fall wieder auferstehen, um neue Probleme zu erörtern.
Eröffnet dazu bitte ein eigenes neues Thema.

Question User Informationen im Beitrag nicht mehr anzeigen

More
12 years 8 months ago - 12 years 8 months ago #1 by BruderTuc
Hallo,

Ich würde gerne die User Informationen im Beitrag deaktivieren (die kleinen Icons unter dem Avatar - habe ein Bild angehängt um das zu verdeutlichen). Ich finde aber irgendwie die Option dazu nicht.

Ist das überhaupt möglich?

Wenn ja, wie?

Danke schonmal für eure Mühen.
Last edit: 12 years 8 months ago by BruderTuc.

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

More
12 years 8 months ago #2 by rich
Du kannst diese via css ausblenden. Allerdings fehlen dann diese Icons auch im Profil. Trage folgenden Code am Ende in deine Joomla! template.css ein.
Code:
#Kunena .kicon-profile { display: none; }
Damit sind alle Icons ausgeblendet.

Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: BruderTuc

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

More
12 years 8 months ago #3 by BruderTuc
danke das versuch ich mal.

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

More
12 years 8 months ago #4 by BruderTuc
Also das mit dem Ausblenden klappt schonmal. Nun wollte ich noch fragen, ob das möglich ist, dass nur "nicht registrierte Nutzer" also quasi Gäste, diese Icons nicht sehen können.

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

More
12 years 8 months ago #5 by rich
Ich kenne leider keine Möglichkeit.

Important! Always create a backup before you make any changes to your website!

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

More
12 years 7 months ago - 12 years 7 months ago #6 by paraflyer
Dafür kenne ich eine Möglichkeit! :lol:

Code:
<?php $user = &JFactory::getUser($this->profile->username); if (in_array(( 2 || 5 || 6 || 8 || 13 || 14 ), $user->groups)) { if (in_array(2, $user->groups)) { echo ''; } elseif (in_array(5, $user->groups)) { echo ''; } elseif (in_array(6, $user->groups)) { echo ''; } elseif (in_array(8, $user->groups)) { echo ''; } elseif (in_array(13, $user->groups)) { echo ''; } elseif (in_array(14, $user->groups)) { echo ''; } } ?>

Den Code habe ich an der gewünschten Stelle in diese Datei eingefügt:
/components/com_kunena/template/$deintemplate/html/topic/default_profile_vertical.php

Dadurch kann ich nun entscheiden, welcher Text je nach Berechtigungsgruppe des jeweiligen Benutzers angezeigt wird. Der Einfachheit halber habe ich im obigen Beispiel den einzufügenden Text im ECHO-Bereich entfernt. Da kann dann beliebiger Quellcode eingefügt werden.
Last edit: 12 years 7 months ago by paraflyer.

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

More
12 years 7 months ago - 12 years 7 months ago #7 by paraflyer
Quark, ich habe die Frage falsch verstanden. Hier die korrekte Lösung:

Code:
<?php $usercheck = &JFactory::getUser($me->id); if (in_array(( 0 ), $usercheck->groups)) { echo 'lorem ipsum'; } ?>

Damit wären zumindest alle öffentlichen Besucher inkludiert. Man könnte das entsprechend erweitern, je nachdem, welche Benutzergruppen man versorgen möchte.

Viel Spaß! B)
Last edit: 12 years 7 months ago by paraflyer.
The following user(s) said Thank You: BruderTuc

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

Time to create page: 0.296 seconds