cotonti.com : Better forums https://www.cotonti.com Son konu mesajları Cotonti en Tue, 16 Dec 2025 16:08:08 -0000 TwistedGA Çrş, 18 Mar 2009 03:07:00 -0000 DemptD # 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 = "";
        }
Above the array assignment for the FORUMS_POSTS_ROW items...

Then I changed:
		"FORUMS_POSTS_ROW_USERTEXT" => $row['user_text'],
to:
		"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.

Wohhoo! Thats great, thanks! :-D]]>
Çrş, 18 Mar 2009 02:49:52 -0000
TwistedGA
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 = "";
        }
Above the array assignment for the FORUMS_POSTS_ROW items...

Then I changed:
		"FORUMS_POSTS_ROW_USERTEXT" => $row['user_text'],
to:
		"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.]]>
Çrş, 18 Mar 2009 01:38:33 -0000
DemptD
    When a user has no signature set it doesnt show up at all in the forum (like phpBB).
    A good attach feature.

More will come just have to remember all the things i found.]]>
Çrş, 18 Mar 2009 01:06:38 -0000