PDA

View Full Version : Add buddy list to misc in UserCP


Mokster
10-08-2004, 06:21 PM
hi, i know where to add the code, but i'm not quite sure what to add, i tried looking at the code in navbar but i don't understand it, can anyone help me with the coding to add the buddy list pop up to the misc menu in UserCP?

peterska2
10-09-2004, 01:52 AM
Add this to your USERCP_SHELL template.

<tr><td class="$navclass[buddylist]"><a class="smallfont" href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

Personally I would add it below

<tr>
<td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td>
</tr>

Mokster
10-09-2004, 05:58 AM
tyvm!!