Here's what I did to add a button named "chat". I dunno if it's the best way 'cause I don't know PHP. In the first <replace> step, make sure you replace "http://www.your
url.com" with the url to your chat script. Go to
http://www.nextcelica.net/yabbse to see the "chat" button on the top menu. My button does not link to a chat script because my server doesn't allow them. Go ahead and save the chat button if you wanna use it. If any of you guys who really know PHP know how to make it better, please do and I will update this mod.
<edit file>
Sources/Subs.php
</edit file>
<search for>
$yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>;
</search for>
<replace>
$yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>$menusep<a href=\"http://www.your url.com\">$img[chat]</a>";
</replace>
<edit file>
english.lng
</edit file>
<search for>
$txt[749] = "The 'number of posts' box can only contain digits.";
</search for>
<add after>
$txt[chat] = "Chat";
</add after>
<search for>
$img[website_sm] = "<img src=\"$imagesdir/www_sm.gif\" alt=\"$txt[515]\" border=\"0\">";
</search for>
<add after>
$img[chat] = "<img src=\"$imagesdir/chat.gif\" alt=\"$txt[chat]\" border=\"0\">";
</add after>