Kunena 6.3.0 released

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

Question [gelöst] Falscher Avatar im Profil mit Jomsocial

More
15 years 1 month ago - 15 years 1 month ago #1 by jokas
Hallo,

hat jemand eine Lösung um die anzeige des eigenen avatars bei der profilseite zu ändern?

ich benutze jomsocial und wenn ich irgendeine profilseite aufrufe erscheint (wie bei euch allen) das eigene bild.
Last edit: 15 years 1 month ago by Lintzy.

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

More
15 years 1 month ago #2 by Lintzy
Ich bin mir nicht sicher, was du genau willst. Mit Klick auf MyProfile erscheint das eigene Avatar (logischerweise), bei Klick auf das Profil anderer User sieht man deren Avatar.

Um dort ein anderes anzuzeigen, als im Rest des Forum, müsstest du imho so einiges am PHP-Code verändern.

Wenn du dein eigenes komplett ausblenden willst, geht das per CSS, jedoch werden dadurch auch die Avatare der anderen auf der Profilseite ausgeblendet:

CSS. style.css aus components/com_community/templates/default/css
(Veränderungen rot markiert)

#community-wrap .profile-avatar {
border:8px solid #E4E3D1;
float:left;
display:none;
}
#community-wrap div.profile-info {
margin:0 0 0 4px;
float:left;

}

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

More
15 years 1 month ago #3 by orthanc
jokas wrote:

ich benutze jomsocial und wenn ich irgendeine profilseite aufrufe erscheint (wie bei euch allen) das eigene bild.

Nö, ich seh Deinen Kopfhörer in Deinem Profil.

hat jemand eine Lösung um die anzeige des eigenen avatars bei der profilseite zu ändern?

Was soll denn das Resultat dieser Lösung sein?
... Sonntags lassen meine hellseherischen Fähigkeiten irgendwie rapide nach. ;)

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

More
15 years 1 month ago #4 by jokas
Es geht um das Profil in Kunena - mit dem Avatar von Jomsocial.
Hier im Forum die Funktion deaktiviert (aus besagtem Grund schätze ich).
Ich möchte aber das Profil von Kunena nutzen um alle Forenfunktionen wie zb. Signatur nutzen zu können.
Wie gesagt - das funktioniert auch - nur wird dann nicht das eigene Profilbild angezeigt, sondern das vom Admin.

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

More
15 years 1 month ago #5 by orthanc
jokas wrote:

Es geht um das Profil in Kunena - mit dem Avatar von Jomsocial.
Hier im Forum die Funktion deaktiviert (aus besagtem Grund schätze ich).

Hier im Forum ist das Profil mitsamt Avatar von JomSocial.

Ich möchte aber das Profil von Kunena nutzen um alle Forenfunktionen wie zb. Signatur nutzen zu können.

Signaturen funktionieren hier im Forum auch mit dem JomSocial-Profil.

Oder steh ich auf dem Schlauch? ;)

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

More
15 years 1 month ago #6 by jokas
Ich befürchte du stehst auf dem schlauch - oder es ist immer noch nicht klar geworden was ich meine.

Kannst ja mal eine Signatur anlegen. ;-)

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

More
15 years 1 month ago - 15 years 1 month ago #7 by orthanc
Stimmt eine Signatur kann ich nicht anlegen.
Nur woher kommt dann diese hier ? Angelegt bevor JomSocial integriert wurde? Kannst ihn ja mal befragen. ;)

edit: ok, über Umweg möglich. ;) siehe Link unten

Ist bekannt und Änderung geplant, hier lesen .
Da steht auch, wie die Signature trotzdem reinkommt. ;)
Last edit: 15 years 1 month ago by orthanc.

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

More
15 years 1 month ago #8 by jokas
wie die signatur mit der abgeschalteten profilverwaltung von kunena angelegt werden kann weiß ich. das ist aber nicht die lösung für mein problem, da es mir um den richtigen avatar in im kunena profil geht!

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

More
15 years 1 month ago #9 by jokas
ich denke mal das der avatar nur falsch aus der datenbank geholt wird.
vielleicht kann mir jemand sagen wo ich die datenbankabfragen für die kunena profilseite finde?

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

More
15 years 1 month ago #10 by orthanc
components\com_kunena\template\default\plugin\fbprofile\fbprofile.php
Code:
if ($fbConfig->avatar_src == "jomsocial") { // Get CUser object $user =& CFactory::getUser($leaf->userid); $msg_avatar = '<span class="fb_avatar"><img src="' . $user->getAvatar() . '" alt="" /></span>';
... das muss geändert werden.

Du kannst Dich am Avatar vom CB orientieren:
Code:
else if ($fbConfig->avatar_src == "cb") { $database->setQuery("SELECT avatar FROM #__comprofiler WHERE user_id=$userid AND avatarapproved=1"); $avatar = $database->loadResult();

Ich hab kein JomSocial und kann da jetzt nicht weiter helfen, da ich die Tabellen vom JomSocial nicht kenne.

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

Time to create page: 2.231 seconds