Welcome to Geeklog, Anonymous Tuesday, March 25 2025 @ 02:21 pm EDT
Geeklog Forums
Right Block ???
Hello guys,
how can i have the right blocks in :
no right block
this page is in fact taken from users.php and profile.thtml
Thanks
Stephane
how can i have the right blocks in :
no right block
this page is in fact taken from users.php and profile.thtml

Thanks
Stephane
12
7
Quote
Status: offline
kermit
Forum User
Junior
Registered: 03/27/04
Posts: 18
I just fixed it :
in user.php:
case 'profile':
$uid = COM_applyFilter ($HTTP_GET_VARS['uid'], true);
if (is_numeric ($uid) && ($uid > 0)) {
$display .= COM_siteHeader('menu');
$msg = COM_applyFilter ($HTTP_GET_VARS['msg'], true);
if ($msg > 0) {
$display .= COM_showMessage ($msg);
}
$display .= userprofile ($uid);
$display .= COM_siteFooter ($rightblock = true);
} else {
$display .= COM_refresh ($_CONF['site_url'] . '/index.php');
}
break;
yeah
in user.php:
case 'profile':
$uid = COM_applyFilter ($HTTP_GET_VARS['uid'], true);
if (is_numeric ($uid) && ($uid > 0)) {
$display .= COM_siteHeader('menu');
$msg = COM_applyFilter ($HTTP_GET_VARS['msg'], true);
if ($msg > 0) {
$display .= COM_showMessage ($msg);
}
$display .= userprofile ($uid);
$display .= COM_siteFooter ($rightblock = true);
} else {
$display .= COM_refresh ($_CONF['site_url'] . '/index.php');
}
break;
yeah
9
8
Quote
All times are EDT. The time is now 02:21 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content