View Full Version : How to remove links from postbit dropdown menu?
clubkeeper
04-16-2014, 03:23 AM
First off, thank you to the people on this forum! This sort of stuff is new to me and I have found lots of great info while searching the archives. Now for my question...
How can I remove links from the dropdown menu which appears when you click on a username in the postbit?
Blogs are disabled and the only person posting articles is the admin. I want to remove "View Blog Entries" and "View Articles" because it confuses regular members who do not have access to these features. Also, I want to change "View Forum Posts" to read "View more posts by [username]" - is that possible?
I think the template may be called memberaction_dropdown but I could not find much info while searching.
Thank you!
bzcomputers
04-16-2014, 06:28 AM
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...
<!-- <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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.