[Release] Portal Listenpunkte im Benutzer-Menü austauschen

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 2.0.x in this forum.
User avatar

Topic author
Kirk
Portal Professional
Portal Professional
Posts: 1628
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

[Release] Portal Listenpunkte im Benutzer-Menü austauschen

Post by Kirk » 6. November 2012 17:13

Name: Portal Listenpunkte im Benutzer-Menü (user_menu_side.html) austauschen.
Portal List points exchange in User menu.

Beschreibung: Ersetzt die Listenpunkte im user_menu_side.html gegen individuelle.
Replaces the list points in user_menu_side.html against individual.

Getestet mit Board3 Portal 2.0.0 / Tested with Board3 Portal 2.0.0
[+] Install Instructions
Instructions for prosilver based styles

Open: root/styles/[stylename]/template/portal/modules/user_menu_side.html

Find:

Code: Select all

	<div class="portal-navigation">
		<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 -->
				<!-- IF S_DISPLAY_SUBSCRIPTIONS -->
					<li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
				<!-- ENDIF -->
				<!-- 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_UM_MCP -->
					<li><a href="{U_UM_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>
Replace with:

Code: Select all

	<div class="portal-navigation">
		<div class="menutitle">{L_M_MENU}</div>
    </div>
	<div class="portal-navigation-new-posts">
			<ul>
				<!-- IF S_DISPLAY_SEARCH -->
					<li><a href="{U_NEW_POSTS}">{L_NEW_POSTS}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-unread-posts">
			<ul>
					<li><a href="{U_UNREAD_POSTS}">{L_UNREAD_POSTS}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-self-posts">
			<ul>
					<li><a href="{U_SELF_POSTS}">{L_SELF_POSTS}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-bookmarks">
			<ul>
				<!-- IF U_UM_BOOKMARKS -->
					<li><a href="{U_UM_BOOKMARKS}">{L_UM_BOOKMARKS}</a></li>
			</ul>
	</div>
				<!-- ENDIF -->
	<div class="portal-navigation-main-subscribed">
			<ul>
				<!-- IF S_DISPLAY_SUBSCRIPTIONS -->
					<li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-private-mesage-info">
			<ul>
				<!-- IF S_DISPLAY_PM -->
					<li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-profile">
			<ul>
				<li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-mcp">
			<ul>
				<!-- IF U_UM_MCP -->
					<li><a href="{U_UM_MCP}">{L_MCP}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-acp">
			<ul>
				<!-- IF U_ACP -->
					<li><a href="{U_ACP}">{L_M_ACP}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-login-logout">
			<ul>
				<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
			</ul>
	</div>
Open: root/styles/[stylename]/theme/portal.css

Find:

Code: Select all

.portal-navigation ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/arrowbullet.gif");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 2px 0;
	padding-left: 19px; /*link text is indented 19px*/
	font-weight: bold;
	font-size: 90%;
}
After add:

Code: Select all

.portal-navigation-new-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/new_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 7px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-unread-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/unread_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 8px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-self-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/self_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 10px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-bookmarks ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/bookmark.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 3px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-main-subscribed ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/subscribed.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 5px 0 5px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-private-mesage-info ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/pm.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-profile ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/profile.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-mcp ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/moderator.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-acp ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/acp.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-login-logout ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/logout.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}
For subsilver2 based styles

Open: root/styles/[stylename]/template/portal/modules/user_menu_side.html

Find:

Code: Select all

	<!-- IF S_DISPLAY_SEARCH -->
	<tr class="row1">
		<td>
			<a href="{U_NEW_POSTS}" title="{L_NEW_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_NEW_POSTS}</a>
		</td>
	</tr>
	<tr class="row1">
		<td>
			<a href="{U_UNREAD_POSTS}" title="{L_UNREAD_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UNREAD_POSTS}</a>
		</td>
	</tr>
	<tr class="row1">
		<td>
			<a href="{U_SELF_POSTS}" title="{L_SELF_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_SELF_POSTS}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF U_UM_BOOKMARKS -->
	<tr class="row1">
		<td>
			<a href="{U_UM_BOOKMARKS}" title="{L_UM_BOOKMARKS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UM_BOOKMARKS}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF S_DISPLAY_SUBSCRIPTIONS -->
	<tr class="row1">
		<td>
			<a href="{U_UM_MAIN_SUBSCRIBED}" title="{L_UM_MAIN_SUBSCRIBED}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UM_MAIN_SUBSCRIBED}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF S_DISPLAY_PM -->
	<tr class="row1">
		<td>
			<a href="{U_PRIVATEMSGS}" title="{L_MESSAGE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{PRIVATE_MESSAGE_INFO}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<tr class="row1">
		<td>
			<a href="{U_PROFILE}" title="{L_PROFILE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_PROFILE}</a>
		</td>
	</tr>
	<!-- IF U_MCP -->
	<tr class="row1">
		<td>
			<a href="{U_MCP}" title="{L_MCP}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_MCP}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF U_ACP -->
	<tr class="row1">
		<td>
			<a href="{U_ACP}" title="{L_M_ACP}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_M_ACP}</a><br />
		</td>
	</tr>
	<!-- ENDIF -->
	<tr class="row1">
		<td>
			<a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_LOGIN_LOGOUT}</a>
		</td>
	</tr>
</table>
Replace with:

Code: Select all

	<!-- IF S_DISPLAY_SEARCH -->
	<tr class="row1">
		<td>
			<a href="{U_NEW_POSTS}" title="{L_NEW_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/new_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_NEW_POSTS}</a>
		</td>
	</tr>
	<tr class="row1">
		<td>
			<a href="{U_UNREAD_POSTS}" title="{L_UNREAD_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/unread_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UNREAD_POSTS}</a>
		</td>
	</tr>
	<tr class="row1">
		<td>
			<a href="{U_SELF_POSTS}" title="{L_SELF_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/self_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_SELF_POSTS}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF U_UM_BOOKMARKS -->
	<tr class="row1">
		<td>
			<a href="{U_UM_BOOKMARKS}" title="{L_UM_BOOKMARKS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/bookmark<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UM_BOOKMARKS}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF S_DISPLAY_SUBSCRIPTIONS -->
	<tr class="row1">
		<td>
			<a href="{U_UM_MAIN_SUBSCRIBED}" title="{L_UM_MAIN_SUBSCRIBED}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/subscribed<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UM_MAIN_SUBSCRIBED}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF S_DISPLAY_PM -->
	<tr class="row1">
		<td>
			<a href="{U_PRIVATEMSGS}" title="{L_MESSAGE}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/pm<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{PRIVATE_MESSAGE_INFO}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<tr class="row1">
		<td>
			<a href="{U_PROFILE}" title="{L_PROFILE}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/profile<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_PROFILE}</a>
		</td>
	</tr>
	<!-- IF U_UM_MCP -->
	<tr class="row1">
		<td>
			<a href="{U_UM_MCP}" title="{L_MCP}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/moderator<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_MCP}</a>
		</td>
	</tr>
	<!-- ENDIF -->
	<!-- IF U_ACP -->
	<tr class="row1">
		<td>
			<a href="{U_ACP}" title="{L_M_ACP}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/acp<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_M_ACP}</a><br />
		</td>
	</tr>
	<!-- ENDIF -->
	<tr class="row1">
		<td>
			<a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/logout<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_LOGIN_LOGOUT}</a>
		</td>
	</tr>
</table>
Upload the file after unzip to root/styles/[stylename]/theme/images/portal
user_menue_icons.zip
Update your style:
"Administration Panel" (ACP)> "Styles"> "Templates"> each> "refresh"
"Administration Panel" (ACP)> "Styles"> "Themes"> each> "refresh"

The cache in the "Administration Panel" (ACP) > "General"> "Empty the cache"
[+] Installations Anleitung
Für prosilver basierende Styles

Öffne: root/styles/[stylename]/template/portal/modules/user_menu_side.html

Suche:

Code: Select all

       <div class="portal-navigation">
          <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 -->
                <!-- IF S_DISPLAY_SUBSCRIPTIONS -->
                   <li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
                <!-- ENDIF -->
                <!-- 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_UM_MCP -->
                   <li><a href="{U_UM_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>
Ersetze es mit:

Code: Select all

	<div class="portal-navigation">
		<div class="menutitle">{L_M_MENU}</div>
    </div>
	<div class="portal-navigation-new-posts">
			<ul>
				<!-- IF S_DISPLAY_SEARCH -->
					<li><a href="{U_NEW_POSTS}">{L_NEW_POSTS}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-unread-posts">
			<ul>
					<li><a href="{U_UNREAD_POSTS}">{L_UNREAD_POSTS}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-self-posts">
			<ul>
					<li><a href="{U_SELF_POSTS}">{L_SELF_POSTS}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-bookmarks">
			<ul>
				<!-- IF U_UM_BOOKMARKS -->
					<li><a href="{U_UM_BOOKMARKS}">{L_UM_BOOKMARKS}</a></li>
			</ul>
	</div>
				<!-- ENDIF -->
	<div class="portal-navigation-main-subscribed">
			<ul>
				<!-- IF S_DISPLAY_SUBSCRIPTIONS -->
					<li><a href="{U_UM_MAIN_SUBSCRIBED}">{L_UM_MAIN_SUBSCRIBED}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-private-mesage-info">
			<ul>
				<!-- IF S_DISPLAY_PM -->
					<li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-profile">
			<ul>
				<li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
			</ul>
	</div>
	<div class="portal-navigation-mcp">
			<ul>
				<!-- IF U_UM_MCP -->
					<li><a href="{U_UM_MCP}">{L_MCP}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-acp">
			<ul>
				<!-- IF U_ACP -->
					<li><a href="{U_ACP}">{L_M_ACP}</a></li>
				<!-- ENDIF -->
			</ul>
	</div>
	<div class="portal-navigation-login-logout">
			<ul>
				<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
			</ul>
	</div>
Öffne: root/styles/[stylename]/theme/portal.css

Suche:

Code: Select all

    .portal-navigation ul li a{
       background-image: url("{T_THEME_PATH}/images/portal/arrowbullet.gif");
       background-repeat: no-repeat;
       background-position: center left; /*custom bullet list image*/
       display: block;
       padding: 2px 0;
       padding-left: 19px; /*link text is indented 19px*/
       font-weight: bold;
       font-size: 90%;
    }
Danach einfügen:

Code: Select all

.portal-navigation-new-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/new_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 7px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-unread-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/unread_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 8px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-self-posts ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/self_posts.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 8px 0 10px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-bookmarks ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/bookmark.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 3px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-main-subscribed ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/subscribed.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 5px 0 5px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-private-mesage-info ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/pm.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-profile ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/profile.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-mcp ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/moderator.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-acp ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/acp.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}

.portal-navigation-login-logout ul li a{
	background-image: url("{T_THEME_PATH}/images/portal/user_menue_icons/logout.png");
	background-repeat: no-repeat;
	background-position: center left; /*custom bullet list image*/
	display: block;
	padding: 6px 0 6px 21px;
	font-weight: bold;
	font-size: 90%;
}
Für subsilver2 basierende Styles

Öffne: root/styles/[stylename]/template/portal/modules/user_menu_side.html

Suche:

Code: Select all

       <!-- IF S_DISPLAY_SEARCH -->
       <tr class="row1">
          <td>
             <a href="{U_NEW_POSTS}" title="{L_NEW_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_NEW_POSTS}</a>
          </td>
       </tr>
       <tr class="row1">
          <td>
             <a href="{U_UNREAD_POSTS}" title="{L_UNREAD_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UNREAD_POSTS}</a>
          </td>
       </tr>
       <tr class="row1">
          <td>
             <a href="{U_SELF_POSTS}" title="{L_SELF_POSTS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_SELF_POSTS}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF U_UM_BOOKMARKS -->
       <tr class="row1">
          <td>
             <a href="{U_UM_BOOKMARKS}" title="{L_UM_BOOKMARKS}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UM_BOOKMARKS}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF S_DISPLAY_SUBSCRIPTIONS -->
       <tr class="row1">
          <td>
             <a href="{U_UM_MAIN_SUBSCRIBED}" title="{L_UM_MAIN_SUBSCRIBED}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_UM_MAIN_SUBSCRIBED}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF S_DISPLAY_PM -->
       <tr class="row1">
          <td>
             <a href="{U_PRIVATEMSGS}" title="{L_MESSAGE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{PRIVATE_MESSAGE_INFO}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <tr class="row1">
          <td>
             <a href="{U_PROFILE}" title="{L_PROFILE}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_PROFILE}</a>
          </td>
       </tr>
       <!-- IF U_MCP -->
       <tr class="row1">
          <td>
             <a href="{U_MCP}" title="{L_MCP}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_MCP}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF U_ACP -->
       <tr class="row1">
          <td>
             <a href="{U_ACP}" title="{L_M_ACP}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_M_ACP}</a><br />
          </td>
       </tr>
       <!-- ENDIF -->
       <tr class="row1">
          <td>
             <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/portal/arrowbullet<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.gif" width="12" height="11" alt="" />&nbsp;{L_LOGIN_LOGOUT}</a>
          </td>
       </tr>
    </table>
Ersetze es mit:

Code: Select all

       <!-- IF S_DISPLAY_SEARCH -->
       <tr class="row1">
          <td>
             <a href="{U_NEW_POSTS}" title="{L_NEW_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/new_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_NEW_POSTS}</a>
          </td>
       </tr>
       <tr class="row1">
          <td>
             <a href="{U_UNREAD_POSTS}" title="{L_UNREAD_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/unread_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UNREAD_POSTS}</a>
          </td>
       </tr>
       <tr class="row1">
          <td>
             <a href="{U_SELF_POSTS}" title="{L_SELF_POSTS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/self_posts<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_SELF_POSTS}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF U_UM_BOOKMARKS -->
       <tr class="row1">
          <td>
             <a href="{U_UM_BOOKMARKS}" title="{L_UM_BOOKMARKS}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/bookmark<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UM_BOOKMARKS}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF S_DISPLAY_SUBSCRIPTIONS -->
       <tr class="row1">
          <td>
             <a href="{U_UM_MAIN_SUBSCRIBED}" title="{L_UM_MAIN_SUBSCRIBED}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/subscribed<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_UM_MAIN_SUBSCRIBED}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF S_DISPLAY_PM -->
       <tr class="row1">
          <td>
             <a href="{U_PRIVATEMSGS}" title="{L_MESSAGE}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/pm<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{PRIVATE_MESSAGE_INFO}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <tr class="row1">
          <td>
             <a href="{U_PROFILE}" title="{L_PROFILE}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/profile<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_PROFILE}</a>
          </td>
       </tr>
       <!-- IF U_UM_MCP -->
       <tr class="row1">
          <td>
             <a href="{U_UM_MCP}" title="{L_MCP}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/moderator<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_MCP}</a>
          </td>
       </tr>
       <!-- ENDIF -->
       <!-- IF U_ACP -->
       <tr class="row1">
          <td>
             <a href="{U_ACP}" title="{L_M_ACP}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/acp<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_M_ACP}</a><br />
          </td>
       </tr>
       <!-- ENDIF -->
       <tr class="row1">
          <td>
             <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/portal/user_menue_icons/logout<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->_rtl<!-- ENDIF -->.png" width="16" height="16" alt="" />&nbsp;{L_LOGIN_LOGOUT}</a>
          </td>
       </tr>
    </table>
Lade den Ordner nach dem entpacken in root/styles/[stylename]/theme/images/portal
user_menue_icons.zip
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"

Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
Hier noch ein paar Screenshots / Here are some screenshots

Prosilver

Davor / before:

Image

Danach / after:

Image

Subsilver2

Davor / before:

Image

Danach / after:

Image
You do not have the required permissions to view the files attached to this post.

User avatar

Roger123
Active Member
Active Member
Posts: 28
Joined: 10. January 2012 15:42
phpBB.de User: Roger123
phpBB.com User: Roger123
Location: DE-74921 Helmstadt

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Roger123 » 6. November 2012 21:43

THX für die anleitung klappte suppi

mfg
http://rh-welt.net/
phpbb-Version 3.11 Board3 Portal V2.01


CHUCKY
Active Member
Active Member
Posts: 5
Joined: 5. November 2012 20:28

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by CHUCKY » 7. November 2012 21:53

hmm was mache ich falsch?habe alles so gemacht wie es dort steht aber is alles noch beim alten -.-!hat sich nichts gändert!

User avatar

Topic author
Kirk
Portal Professional
Portal Professional
Posts: 1628
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Kirk » 8. November 2012 15:12

Hast du auch deinen Template und Themen Cache geleert?


CHUCKY
Active Member
Active Member
Posts: 5
Joined: 5. November 2012 20:28

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by CHUCKY » 8. November 2012 22:21

wow das war doch so einfach :roll: danke für die fixe info!jetzt hat es gefunzt!

User avatar

Wutzmann
Active Member
Active Member
Posts: 4
Joined: 4. November 2011 10:26
phpBB.de User: Wutzmann
phpBB.com User: Wutzmann

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Wutzmann » 4. February 2013 17:38

Hallo,

unter prosilver sind die Änderungen zu sehen aber unter prosilver_se hat sich nichts getan!

Ich habe die den Ordner mit den Bildern nach root/styles/prosilver_se/theme/images/portal kopiert, den Cache geleert und eine Vollständige Style-Aktualisierung durchgeführt!
Ich bin zwar kein Gynäkologe aber ich schau´s mir gern mal an!

User avatar

Topic author
Kirk
Portal Professional
Portal Professional
Posts: 1628
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Kirk » 4. February 2013 18:39

Hallo
Hast du bei prosilver_se auch die Einträge in der portal.css gemacht?

User avatar

Wutzmann
Active Member
Active Member
Posts: 4
Joined: 4. November 2011 10:26
phpBB.de User: Wutzmann
phpBB.com User: Wutzmann

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Wutzmann » 5. February 2013 00:42

Ich habe einfach ALLE Files vom Portal auch in das prosilver_se Verzeichnis kopiert und... geht :)
Ich bin zwar kein Gynäkologe aber ich schau´s mir gern mal an!

User avatar

Topic author
Kirk
Portal Professional
Portal Professional
Posts: 1628
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Kirk » 5. February 2013 18:13

Da der Style prosilver_se sich die meisten templates von prosilver holt, müsstest du nur die Bilder in´s
richtige Verzeichniss tun (was du ja getan hast) und die Einträge in die portal.css machen.

User avatar

Wutzmann
Active Member
Active Member
Posts: 4
Joined: 4. November 2011 10:26
phpBB.de User: Wutzmann
phpBB.com User: Wutzmann

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Wutzmann » 5. February 2013 19:04

Hab's dann nochmal RICHTIG gemacht und siehe da es geht :)
Ich bin zwar kein Gynäkologe aber ich schau´s mir gern mal an!

User avatar

Z-MANN
Active Member
Active Member
Posts: 25
Joined: 29. June 2008 17:58
phpBB.de User: Z-MANN

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Z-MANN » 20. September 2013 23:08

Klasse, funktioniert Perfekt!

Vielen Dank dafür!

User avatar

Z-MANN
Active Member
Active Member
Posts: 25
Joined: 29. June 2008 17:58
phpBB.de User: Z-MANN

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Z-MANN » 22. September 2013 14:52

Habe mir noch in der "user_menu_side.html" den Listenpunkt "Support Toolkit" unter "Administrations-Bereich" hinzugefügt.
Ich verwende bei "Support Toolkit" das selbe Icon wie beim "Administrations-Bereich", da dies im Prinzip auch zum Adminbereich gehört.

Code: Select all

   <div class="portal-navigation-acp">
         <ul>
            <!-- IF U_STK -->
               <li><a href="{U_STK}">{L_STK}</a></li>
            <!-- ENDIF -->
         </ul>
   </div>
Funktioniert prima!

Gruß

User avatar

Topic author
Kirk
Portal Professional
Portal Professional
Posts: 1628
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: [Release] Portal Listenpunkte im Benutzer-Menü austausch

Post by Kirk » 23. September 2013 18:39

Nur diesen Code in die user_menu_side.html einzugeben reicht nicht aus.
  • Es fehlt die Übersetzung der Sprachvariable ({L_STK})
  • Es fehlt die Definition für den Link zum STK (U_STK)
Das hier müsste man zusätzlich machen:
Öffne: root/portal/modules/portal_user_menu.php
Finde:

Code: Select all

'U_SELF_POSTS'			=> append_sid("{$phpbb_root_path}search.$phpEx", 'search_id=egosearch'),
Danach einfügen:

Code: Select all

'U_STK'				=> ($auth->acl_get('a_') || $auth->acl_getf_global('a_')) ? append_sid("{$phpbb_root_path}stk/index.$phpEx") : '',
Öffne: root/language/[deine Sprache]/mods/portal/portal_user_menu_module.php
Finde:

Code: Select all

'USER_MENU'					=> 'Benutzer-Menü',
Danach einfügen:

Code: Select all

'STK'	                    => 'Support Toolkit',

Return to “Released Modifications v2.0.x”