|
|
|
|
|
Re: User specific header/footer information [message #5146 is a reply to message #5142] |
Thu, 22 August 2002 13:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Simple, via the use of PHP code.
For example:
php_code: (header.inc.t)
if( _uid ) {
$special_header = mysql_query("Fetch some HTML code from MySQL");
} else {
$special_header = '';
}
template_code: (header.tmpl)
{TEMPLATE-DATA: special_header}
FUDforum Core Developer
|
|
|
|
|
|
Re: User specific header/footer information [message #5154 is a reply to message #5151] |
Thu, 22 August 2002 14:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, you'd need to write a simular hack to FUDforum if you want that sort of functionality. The header/footer hack is fairly easy to do. Since all you'd need would be to add 2 extra fields into the users table and add code to header/footer to display them.
Pretty easy thing to do.
FUDforum Core Developer
|
|
|
|
|