
04-13-2004, 09:57 AM
|
|
|
Join Date: Mar 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Scrub
This may work, tested it and it worked, but I'd test it first to be sure.
Open /includes/functions_showthread.php
Find
PHP Code:
else
{
$parsed_postcache['skip'] = false;
$post['message'] = parse_bbcode($post['pagetext'], $forum['forumid'], $post['allowsmilie']);
}
Replace with:
PHP Code:
else
{
$parsed_postcache['skip'] = false;
if ($post['usergroupid'] == 6) {
$post['message'] = parse_bbcode2($post['pagetext'], 1, 1, $forum['forumid'], $post['allowsmilie']);
} else {
$post['message'] = parse_bbcode($post['pagetext'], $forum['forumid'], $post['allowsmilie']);
}
}
To make it for just one person, all I'd think you have to do is change:
PHP Code:
$post['usergroupid'] == 6
to
PHP Code:
$post['userid'] == X
Change X to the user's ID you're wanting.
This was not my work, as I used two other hacks from vB2 to figure this out. Entourage and Palmer ofShinra are the original creators of this hack.
|
Worked for me. Maybe you should release this as a mini mod.
|