Viewtopic.php
find
Code:
page_footer();
add before it
Code:
$sql = "SELECT user_id, username, user_colour
FROM " . USERS_TABLE . "
WHERE user_type IN (" . USER_FOUNDER . ', ' . USER_NORMAL . ")
ORDER BY username_clean";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)){
$row['user_colour'] = (!empty($row['user_colour'])) ? $row['user_colour'] : '000000';
$style_bold = ($row['user_colour'] == '000000') ? 'normal' : 'bold';
$template->assign_block_vars('username_bb', array(
'USERNAME_BB_BOLD' => $style_bold,
'USERNAME_BB_VALUE' => '|#' . $row['user_colour'] . '|' . $style_bold . '|'. $row['user_id'],
'USERNAME_BB_USER' => $row['username']));}
$db->sql_freeresult($result);
My quickreply_editor file contains this line <!-- INCLUDE posting_buttons.html -->
so the out come is this (Note my qr file is modded)
Attachment:
qr.png [ 24.6 KiB | Viewed 2836 times ]
I also had it on mchat at one time but have lost the edits
