Quick access dropdown menu for the user name
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #15
RE: Quick access dropdown menu for the user name
I tried to do something but i found that i cant add the links directly to the menu items. Its funny that i tried to add
<a href="{$post('profilelink')}">Viewprofile</a> to get to the user profile. It shows the profile name before Viewprofile. I want that link to work when we click on viewprofile.

Here is the code i tired and i want some one to fix it with the core mybb links to work.

Code:
1
2
3
4
5
6
7
<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
    <div class="popup_item_container">
        <table style="text-align:left; padding:5px 2px 2px 1px;"><tr><td ><img src="{$theme['imgdir']}/modcp/editprofile.gif" alt="" title="" /> <a href="${profilelink}">ViewProfile</a></td><td><img src="{$theme['imgdir']}/new_pm.gif" alt="" title="" /> <a href="${profilelink}">SendPM</a></td></tr>
<tr><td><img src="{$theme['imgdir']}/hotfolder.gif" alt="" title="" /> <a href="${profilelink}">ViewThreads</a></td><td><img src="{$theme['imgdir']}/re_pm.gif" alt="" title="" /> <a href="{profilelink}">SendEmail</a></td></tr>
<tr><td><img src="{$theme['imgdir']}/newfolder.gif" alt="" title="" /> <a href="{profilelink}">ViewPosts</a></td><td><img src="{$theme['imgdir']}/buddies.gif" alt="" title="" /> <a href="{profilelink}">AddBuddy</a></td></tr></table>
    </div>
</div>


I want that, AddBuddy, SendPM, SendEmail must be hidden/disappeared when we click on our profile link as its not possible to add ourself and not necessary to sendpm or sendemail

10-14-2010 06:14 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Quick access dropdown menu for the user name - 1master1 - 10-14-2010 06:14 AM

 Standard Tools
Forum Jump: