Hallo,
ich möchte bei meinen Forum noch einen weiteren Logout Knopf hinzufügen. Wie kann ich den link dafür generieren lassen?
Und wie kann ich den Link von Profile ansehen im UserCP generieren lassen?
Quote:I would like to add another logout button to my forum. How can I generate the link for it?
<a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}" class="logout">Log Out</a>
log out link should be
visible to logged in members only.
hence
log out link appears at the header part which is
visible only to
logged in members. that part is called as
header_welcomeblock_member
Quote:And how can I see the link of profiles in the UserCP generate?
could not understand it. your profile here is at :
Quote:https://community.mybb.com/member.php?ac...uid=127288
clicking on user name link anywhere in forum should lead to user's profile
Danke, man kann ja im User CP sein Profil ansehen. Wie kann ich diesen link bekommen?
Quote:you can indeed look at the User CP profile. How can I get this link?
can you be more specific - whose profile link should be visible & at where
?
if it is
own user profile then
in general, user profile link is already available at the top header part
[header_welcomeblock_member]
Who ist the gerneral user profile link? I can not find him.
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>