PDA

View Full Version : Problem changing style of Buddy List module


Marris
12-30-2005, 10:01 AM
I've edited adv_portal_module_shell, adv_portal_buddylistbits and adv_portal_onlineusers, but I can't seem to change the underlying style for the Buddy List body content, such as "No Buddies Online".

I have successfully customized all the other modules on the portal with custom fonts, headers and styles, but I can't seem to find the right template to customize the look of the Buddy List message.

<tbody id="collapseobj_module_2" style=""><tr><td>
<table align="center" border="0" cellpadding="6" cellspacing="0" width="100%">

<tbody><tr><td class="alt2"><span class="smallfont">No buddies online</span></td></tr>

</tbody></table></td></tr>
</tbody>

Specifically, I'm looking for the template that sets the <td class="alt2"><span class="smallfont"> for the Buddy List table body code above.

Again, I have already edited adv_portal_module_shell, adv_portal_buddylistbits and adv_portal_onlineusers, but there is no change, so there must be some other template which determines the style of the Buddy List content. I also tried putting conditional styles <if condition="THIS_SCRIPT == 'adv_index'"> in vbulletin's BUDDYLIST and buddylistbit, but that didn't have any effect.

Thanks for your help.

Marris
01-01-2006, 01:53 PM
I finally found it...

In onlineusers.php Line 142, the style is set outside of the template system:

$modulehtml = '<tr><td class="' . $bgclass . '">' . $buddylistbits . '</td></tr>';