Hallo, hexxcode!
Wird es in Zukunft vielleicht einige der folgenden Features geben?:
– Forum Ranks
– Features für das Gruppenplugin (farbl. Hervorhebung des Namens nach Gruppenfarbe, Name der Gruppe als “Titel”)
– Profilpage der Nutzer (per Klick auf den User)
– PM System
– “Online-Checker” im Post (unter dem Profilbild)
– Suchfunktion
As an example
It is possible to so solve the:
Connect a plugin WP-RECALL https://wordpress.org/plugins/wp-recall/
Profile, PM, reviews, ratings(a separate code), Publications, color
functions.php
function getUserRoles($id) {
$user = new WP_User((int)$id);
return implode(' and ', $user->roles);
}
function my_function($author_id) {
$user_info = get_userdata($author_id);
// echo getUserRoles($author_id);
if(getUserRoles($author_id)=='administrator') {echo '<div><b style="color: #F43D2A;"><i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i></br>Админ</b></div>';}
else
if(getUserRoles($author_id)=='contributor') {echo '<div><b style="color: #E3BB24;"><i class="fa fa-paw"></i> <i class="fa fa-paw"></i></br>Пользователь</b></div>';}
else
if(getUserRoles($author_id)=='author') {echo '<div><b style="color: #099922;"><i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i></br>Модератор</b></div>';}
else
if(getUserRoles($author_id)=='editor') {echo '<div><b style="color: #099922;"><i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i> <i class="fa fa-paw"></i></br>Модератор</b></div>';};
echo '<p class="social-icons"><a href="'.get_bloginfo('wpurl').'/author/'.$user_info->user_login.'" title="Профиль"><i class="fa fa-user"></i></a>
<a href="'.rcl_format_url(get_author_posts_url($author_id),'privat').'" title="Личное сообщение"><i class="fa fa-comment"></i></a>
<a href="'.rcl_format_url(get_author_posts_url($author_id),'recall').'" title="Отзывы"><i class="fa fa-trophy"></i></a>
<a href="'.rcl_format_url(get_author_posts_url($author_id),'groups').'" title="Группы"><i class="fa fa-group"></i></a>
<a href="'.rcl_format_url(get_author_posts_url($author_id),'publics').'" title="Публикации"><i class="fa fa-book"></i></a></p>';
}
screenshot:
http://image.prntscr.com/image/e3d3a4d3cedd4f6bb5ef34efaa0d61e3.png
can be replaced under the style forum:)
http://image.prntscr.com/image/51a66dca9a92437ab32a4ef260f583b9.png
– Suchfunktion
https://wordpress.org/support/topic/searching-forum-1?replies=4
Im “Latest Threads” Widget werden auch Threads angezeigt, die per “Limit Access” eigentlich nicht für diese Gruppe zugelassen worden sind.
It can be seen only the administrator
Die Rolle “Moderator” hat keine Funktion. Man muss Administrator sein, um Bereiche die für “Moderatoren” gekennzeichnet sind, zu sehen.
Above example will useful
Thanks for the answer! Ill have look into the suggested plugin!
The problem with the “latest threads widget” explained more in detail:
I made a forum which can only be seen by the group “test” (used the limited to function). The group was made with the plugin.
IF someone mades a thread there, even guests can see the name of the thread in the widget.
No sorry. The widget should be seen by EVERY user/guest. The posts they see in the widget should depend on the forum access they have (the forum group theyre in).
Will have to wait Asgaros )
Hallo,
Moderatoren werden über das Benutzerprofil des entsprechenden Mitglieds definiert. Dafür wird nicht die WordPress-Rolle genutzt, sondern ganz unten auf der Seite befindet sich eine Checkbox mit dem Namen „Forum-Moderator“. Wenn dies aktiviert wurde, sollte das auch alles wie gewünscht funktionieren.
Zu dem Widget-/Usergroups-Problem: Das muss ich mir mal näher anschauen. Diese Usergruppen-Erweiterung ist ja kein Teil des Hauptplugins, deswegen hinkt das manchmal etwas hinterher. Ich werde mal schauen, ob ich das die nächsten Tage beheben kann. 🙂
Das wäre echt super! Danke dir!
Hast du zu
– Forum Ranks
– Features für das Gruppenplugin (farbl. Hervorhebung des Namens nach Gruppenfarbe, Name der Gruppe als “Titel”)
– Profilpage der Nutzer (per Klick auf den Usernamen beim Post)
– PM System
– “Online-Checker” im Post (unter dem Profilbild)
dazu noch ein kleines Update/Blick in die Glaskugel?
Nein,
das sind auch alles Dinge, die über andere WordPress-Plugins in das Forum integriert werden können. Siehe dazu den Beitrag von YWorld.
– Ränke werde ich definitiv nicht mit aufnehmen, da der Beitragszähler eigentlich schon ausreichend genug ist um zu sehen, ob jemand aktiv ist oder nicht.
– Der Gruppentitel könnte über den asgarosforum_after_post_author-Hook angezeigt werden
– Profil/PM/Online-Status kann über den selben Hook über andere Erweiterungen integriert werden (siehe YWorld)