DemptD |
|
---|---|
I would like to see a better forum system.
A good attach feature. More will come just have to remember all the things i found. |
TwistedGA |
|
---|---|
After a look around and a few minutes in ConTEXT, I came up with a solution to your first request.
Required two files being edited. core/forums/forums.posts.inc.php and skins/forums.posts.tpl. I added:
$signature = "<hr />\n<div class='signature'>".$row['user_text']."</div>";
if ($row['user_text'] == '')
{
$signature = "";
}
Then I changed:
"FORUMS_POSTS_ROW_USERTEXT" => $row['user_text'],
"FORUMS_POSTS_ROW_USERTEXT" => $signature,
And finally, inside the forums.posts.tpl, I removed the <div> tags around: {FORUMS_POSTS_ROW_USERTEXT} Works awsome.. Really does help remove the unsghtlyness of not having a signature stored. [color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]
|
DemptD |
|
---|---|
# TwistedGA : After a look around and a few minutes in ConTEXT, I came up with a solution to your first request. Wohhoo! Thats great, thanks! ![]() |
TwistedGA |
|
---|---|
Maybe it'll make it into the core, if not, it can be had here atleast.. LOL
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]
|