User Menü Portal Center

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply
User avatar

Topic author
wintstar
Active Member
Posts: 45
Joined: 24. March 2009 14:35
phpBB.de User: wintstar
phpBB.com User: wintstar
Location: Langgöns/Hessen
Contact:

User Menü Portal Center

Post by wintstar »

Hab in meinem Forum das User Menü in die Portal Mitte gesetzt, soweit funktioniert es. Aber wie bekomme ich den User Avatar und Rank rechts neben das Menü? :?:

Image

root/styles/prosilver/template/portal/block/user_menu.html

Code: Select all

<!--version $Id: user_menu.html 596 2009-12-25 13:02:46Z marc1706 $ //-->
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" />&nbsp;<!-- ENDIF -->{L_USER_MENU}{$LR_BLOCK_H_R}
	<div style="text-align: center;">
        <a href="{U_VIEW_PROFILE}"><!-- IF B3P_USER_COLOR --><span style="color: {B3P_USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{B3P_USERNAME}</span></a><br />
        <!-- IF B3P_AVATAR_IMG -->
            <a href="{U_PROFILE}">{B3P_AVATAR_IMG}</a>
        <!-- ELSEIF $NO_AVATAR_IMG -->
            <a href="{U_PROFILE}"><img src="{T_THEME_PATH}{$NO_AVATAR_IMG}" alt="" /></a>
        <!-- ENDIF -->

        <!-- IF B3P_RANK_TITLE --><br /><span class="gensmall">{B3P_RANK_TITLE}</span><!-- ENDIF -->
        <!-- IF B3P_RANK_IMG --><br />{B3P_RANK_IMG}<!-- ENDIF -->
    </div> 
	<hr class="dashed" />
	<div class="portal-navigation">
		<div class="menutitle">{L_M_UMENU}</div>
			<ul>
				<!-- IF S_DISPLAY_SEARCH -->
					<li><a href="{U_NEW_POSTS}">{L_NEW_POSTS}</a></li>
					<li><a href="{U_UNREAD_POSTS}">{L_UNREAD_POSTS}</a></li>
					<li><a href="{U_SELF_POSTS}">{L_SELF_POSTS}</a></li>
				<!-- ENDIF -->
				<!-- IF U_UM_BOOKMARKS -->
					<li><a href="{U_UM_BOOKMARKS}">{L_UM_BOOKMARKS}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
				<!-- IF S_DISPLAY_PM -->
					<li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
				<!-- IF U_MCP -->
					<li><a href="{U_MCP}">{L_MCP}</a></li>
				<!-- ENDIF -->
				<!-- IF U_ACP -->
					<li><a href="{U_ACP}">{L_M_ACP}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
			</ul>
	</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Danke
Stephan
Gruß Stephan :-)

Zitat: "Damit das Mögliche entsteht, muss immer wieder das Unmögliche versucht werden" (Hermann Hesse (1877-1962)).
Ein Blick ins zukünftige phpBB 3.1.1 - Forum, die lfd. Builds
phpBB 3.0.13 html 5 und responsive
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: User Menü Portal Center

Post by archivar »

Versuch mal das hier:
tausche den Inhalt gegen diesen in root/styles/prosilver/template/portal/block/user_menu.html:

Code: Select all

<!--version $Id: user_menu.html 596 2009-12-25 13:02:46Z marc1706 $ //-->
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" />&nbsp;<!-- ENDIF -->{L_USER_MENU}{$LR_BLOCK_H_R}
	<div style="text-align: center;"><span style="float: right;">
        <a href="{U_VIEW_PROFILE}"><!-- IF B3P_USER_COLOR --><span style="color: {B3P_USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{B3P_USERNAME}</span></a><br />
        <!-- IF B3P_AVATAR_IMG -->
            <a href="{U_PROFILE}">{B3P_AVATAR_IMG}</a>
        <!-- ELSEIF $NO_AVATAR_IMG -->
            <a href="{U_PROFILE}"><img src="{T_THEME_PATH}{$NO_AVATAR_IMG}" alt="" /></a>
        <!-- ENDIF -->
        <!-- IF B3P_RANK_TITLE --><br /><span class="gensmall">{B3P_RANK_TITLE}</span><!-- ENDIF -->
        <!-- IF B3P_RANK_IMG --><br />{B3P_RANK_IMG}<!-- ENDIF --></span>
    </div> 
	<div class="portal-navigation"><span style="float: left;">
		<div class="menutitle">{L_M_MENU}</div>
			<ul>
				<!-- IF S_DISPLAY_SEARCH -->
					<li><a href="{U_NEW_POSTS}">{L_NEW_POSTS}</a></li>
					<li><a href="{U_UNREAD_POSTS}">{L_UNREAD_POSTS}</a></li>
					<li><a href="{U_SELF_POSTS}">{L_SELF_POSTS}</a></li>
				<!-- ENDIF -->
				<!-- IF U_UM_BOOKMARKS -->
					<li><a href="{U_UM_BOOKMARKS}">{L_UM_BOOKMARKS}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
				<!-- IF S_DISPLAY_PM -->
					<li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
				<!-- IF U_MCP -->
					<li><a href="{U_MCP}">{L_MCP}</a></li>
				<!-- ENDIF -->
				<!-- IF U_ACP -->
					<li><a href="{U_ACP}">{L_M_ACP}</a></li>
				<!-- ENDIF -->
				<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
			</ul></span>
	</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
V.G. archivar
sorry for my bad english
User avatar

Topic author
wintstar
Active Member
Posts: 45
Joined: 24. March 2009 14:35
phpBB.de User: wintstar
phpBB.com User: wintstar
Location: Langgöns/Hessen
Contact:

Re: User Menü Portal Center

Post by wintstar »

Danke, funzt super :)

Gruß
Stephan
Gruß Stephan :-)

Zitat: "Damit das Mögliche entsteht, muss immer wieder das Unmögliche versucht werden" (Hermann Hesse (1877-1962)).
Ein Blick ins zukünftige phpBB 3.1.1 - Forum, die lfd. Builds
phpBB 3.0.13 html 5 und responsive
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: User Menü Portal Center

Post by Marc »

Ich verschiebe das Thema mal in das Styles Support Forum, da es da besser passt.
Post Reply

Return to “Styles Support”