Quick access dropdown menu for the user name
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #19
RE: Quick access dropdown menu for the user name
i thought, i can find the add buddy link in that member_profile, but it only says {buddyoptions}

now where to find it?

Frown

This is the code so far i completed with that one option "addbuddy" remaining. anyone will help to achieve it? need to add the user to our buddy list, when we click on the addbuddy option. all other options are working fine.

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="{$post['profilelink_plain']}">ViewProfile</a></td><td><img src="{$theme['imgdir']}/new_pm.gif" alt="" title="" /> <a href="private.php?action=send&amp;uid={$post['uid']}">SendPM</a></td></tr>
<tr><td><img src="{$theme['imgdir']}/hotfolder.gif" alt="" title="" /> <a href="search.php?action=finduserthreads&amp;uid={$post['uid']}">ViewThreads</a></td><td><img src="{$theme['imgdir']}/re_pm.gif" alt="" title="" /> <a href="member.php?action=emailuser&amp;uid={$post['uid']}">SendEmail</a></td></tr>
<tr><td><img src="{$theme['imgdir']}/newfolder.gif" alt="" title="" /> <a href="search.php?action=finduser&amp;uid={$post['uid']}">ViewPosts</a></td><td><img src="{$theme['imgdir']}/buddies.gif" alt="" title="" /> <a href="{profilelink}">AddBuddy</a></td></tr></table>
    </div>
</div>


I checked all templates for {buddyoptions} and i think its in the core template/php file???

(This post was last modified: 10-15-2010 05:01 AM by 1master1.)
10-14-2010 07:20 PM
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 07:20 PM

 Standard Tools
Forum Jump: