Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 05:47 am EST
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
11
6
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
7
7
Quote
All times are EST. The time is now 05:47 am.
- 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