Is there a way to completely remove the online lightbulb from the members block over their photo?
Is there a way to completely remove the online lightbulb from the members block over their photo? |
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'? |
I thought about using a simple spacer.gif, but would like to remove it completely. |
1. Open your design.inc.php -> inc/design.inc.php . 2. find this functin . function get_member_thumbnail( $ID, $float, $bDrawMargin=true ) . by default it locates at lines 758 . 3. scroll down that function and find this below code . //$bResDrawMargin = ($sCoupleImgEl != '') ? false : $bDrawMargin; . . 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 |
1. Open your design.inc.php -> inc/design.inc.php . 2. find this functin . function get_member_thumbnail( $ID, $float, $bDrawMargin=true ) . by default it locates at lines 758 . 3. scroll down that function and find this below code . //$bResDrawMargin = ($sCoupleImgEl != '') ? false : $bDrawMargin; . . 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 |
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. |