Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 05:47 am EST

Geeklog Forums

Right Block ???


Status: offline

kermit

Forum User
Junior
Registered: 03/27/04
Posts: 18
awake
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

Question
Thanks
Stephane
 Quote

Status: offline

kermit

Forum User
Junior
Registered: 03/27/04
Posts: 18
I tried the
$rightblock = true;
in COM_siteFooter lib-common.php

but on some pages I DON'T want the right block....
how can i do it ?
 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
 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