
04-16-2014, 06:28 AM
|
 |
|
|
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Removing Links From Member Action Drop Down Menu:
1) Go to AdminCP - Styles & Templates - Style Manager
2) For Default Style - Select Menu Item - Template Options "Edit Templates"
3) Find "memberaction_dropdown" in template list and doubleclick on it
4) You will then see the coding for the individual links. It will look like...
Code:
<!-- <vb:if condition="$show['viewblog']">
<li class="right">
<a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php?{vb:raw session.sessionurl}u={vb:raw memberinfo.userid}" class="siteicon_blog" rel="nofollow">
{vb:rawphrase view_blog_entries}
</a>
</li>
</vb:if> -->
5) To hide the unwanted links just surround them with code added in red above. You could also delete it, but hiding it will allow you to bring it back easier if you choose to in the future.
6) Do this for each individual condition/link you want to hide in the menu.
Note: Alternatively, I believe if you just disable vBulletin Blog and vBulletin CMS under Plugins & Products - Manage Products these links will no longer show and you will not have to edit the template manually, but I'm not positive.
To Change Phrases:
1) Go to AdminCP - Languages & Phrases - Search in Phrases
2) In the Search for Text box enter: View Forum Posts
3) Select Find. (It should only come up with one result.)
5) Click the "Edit" button to the right of the result.
6) Enter the text you would like the button to say in the box and click save.
...as for adding the username variable someone else will need to step in on that. Since the value is not currently available.
Just be aware that it may be more confusing if you add the username variable to just that one link, when all the links in the menu already pertain to that specific user. You may just want to keep it as is.
|