How to remove?

Is there a way to completely remove the online lightbulb from the members block over their photo?

Quote · 20 Feb 2009
I'm sure there is but I cheated a bit and just changed the icon. Maybe you can make an icon that is just clear with no borders. This way, if you ever wanted to turn that ability back on, you've not messed with the native code to do so. At least it's a temp fix. I'm about to head out the door so not able to look it up right now. Can't remember the name of the icon but if I remember right it is under the tmp_uni templates under images. Take a look throught there. Maybe 'online.png'?
Quote · 20 Feb 2009

I thought about using a simple spacer.gif, but would like to remove it completely.

Quote · 21 Feb 2009

1. Open your design.inc.php  -> inc/design.inc.php

.

2. find this functin

.

function get_member_thumbnail( $ID, $float, $bDrawMargin=true )
{
global $site;

.

by default it locates at lines 758

.

3. scroll down that function and find this below code

.

//$bResDrawMargin = ($sCoupleImgEl != '') ? false : $bDrawMargin;
$bResDrawMargin = $bDrawMargin;
$ret = '';
$ret .= '<div class="thumbnail_block" style="float:' . $float . '; '.$sMarginsRCAddon.' ">';
$ret .= "<a href=\"".getProfileLink($ID)."\">";
$ret .= '<img src="' . getTemplateIcon( 'spacer.gif' ) . '" style="' . $sMarginsAddon . $style . '" alt="' . process_line_output( $aFileName['med_title'] ) . '" />' . $sCoupleImgEl;
$ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') );
$ret .= '</a>';
$ret .= '</div>';

return $ret;

.

.

4. comment out $ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') ); like below

.

//$ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') );

.

just add "//" caracter before it.

.

.

it shuld work

.

.

.

reni smansakra

http://smansakra.net.tc/guestbook.php?owner=116

Quote · 21 Feb 2009

1. Open your design.inc.php  -> inc/design.inc.php

.

2. find this functin

.

function get_member_thumbnail( $ID, $float, $bDrawMargin=true )
{
global $site;

.

by default it locates at lines 758

.

3. scroll down that function and find this below code

.

//$bResDrawMargin = ($sCoupleImgEl != '') ? false : $bDrawMargin;
$bResDrawMargin = $bDrawMargin;
$ret = '';
$ret .= '<div class="thumbnail_block" style="float:' . $float . '; '.$sMarginsRCAddon.' ">';
$ret .= "<a href=\"".getProfileLink($ID)."\">";
$ret .= '<img src="' . getTemplateIcon( 'spacer.gif' ) . '" style="' . $sMarginsAddon . $style . '" alt="' . process_line_output( $aFileName['med_title'] ) . '" />' . $sCoupleImgEl;
$ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') );
$ret .= '</a>';
$ret .= '</div>';

return $ret;

.

.

4. comment out $ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') ); like below

.

//$ret .= getProfileOnlineStatus( $user_is_online, $bResDrawMargin, ($sCoupleImgEl!='') );

.

just add "//" caracter before it.

.

.

it shuld work

.

.

.

reni smansakra

http://smansakra.net.tc/guestbook.php?owner=116

Quote · 21 Feb 2009

Thanks goodguyndfw I ended up just replacing the offline image with a spacer gif and the online to an animated icon.

Looks great now.

Thanks Smansakra for the info.  Although I went for the easy workaround, I'm sure others will definitely appreciate it.

Quote · 21 Feb 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.