Ok, I got my Bot's colors working in the memberlist and in viewonline.php. Viewonline is fairly easy but requires some editting. The colors in the memberlist however.... because of modifications iv'e made, it would require a tutorial. (Sorry about that, forgot I modifed it so much).
REMEMBER: BACKUP the following 2 files before making ANY changes!
For viewonline:
IN FILE viewonline.php:
FIND:
Code: Select all
'L_LAST_UPDATE' => $lang['Last_updated'] )
REPLACE WITH:
Code: Select all
'L_LAST_UPDATE' => $lang['Last_updated'],
'BOT_URL' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=your bot's user id'))
FIND:
REPLACE WITH:
FIND:
REPLACE WITH:
======= Save, Etc. viewonline.php =======
IN FILE templates/subSilver/viewonline_body.tpl:
(remember to edit other styles you may have)
FIND:
AFTER ADD:
Code: Select all
<tr>
<td width="35%" class="row1"> <a href="{BOT_URL}" style="color:#00ffff;font-size : 12px;font-family: Verdana,Arial,Helvetica,sans-serif;">Your Bot's Name</a> </td>
<td width="25%" align="center" nowrap="nowrap" class="row1"> <span class="gen">Your Bot's Last Update</span> </td>
<td width="40%" class="row1"> <span class="gen">Where You Want Your Bot Cruising</span> </td>
</tr>
======= Save, etc. viewonline_body.tpl =======
As you can see I kinda hacked the heck out of the name spot. This also doesn't use the alternating row1/row2 backgrounds in the table cell spots, so it may look a little funny with multiple registered users online.
For member list, as stated above I will have to redo my code so it conforms more to the original phpBB code that comes with the distribution package(s).