Mibew Messenger Community

General => Support => Topic started by: mjeaves on July 03, 2012, 09:32:54 PM

Title: hide the offline button
Post by: mjeaves on July 03, 2012, 09:32:54 PM
Hi everyone,

Firstly - love this project - we're moving over from Live Person, which is just way too expensive for what it is.  I'm blown away by just how good webim is.

Anyway...

I've had a go, but break the code, and need a hand! :-)

I want to remove the 'offline' button (so only the 'online' button shows if an operator is online)... so nothing shows if no operator is online....

I've had a look through the forum and can't find a topic about this...

Hope you can help, anyone know what I should do to the button code?:

<!-- webim button --><a href="/webim/client.php?locale=en" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 &amp;&amp; window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/webim/client.php?locale=en&amp;url='+escape(document.location.href)+'&amp;referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="/webim/b.php?i=webim&amp;lang=en" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->

Thanks !  :-)
Title: Re: hide the offline button
Post by: mjeaves on July 03, 2012, 09:40:39 PM
Just to add to this...

I read and actioned this post, but it did not work, the offline button became a clickable 'missing image'

http://mibew.org/forums/index.php/topic,2745.msg5229.html#msg5229
Title: Re: hide the offline button
Post by: reysol on June 29, 2014, 06:02:39 AM
This can be obtained using a small trick:
The button will not disappear, but it will be too small to be seen.
It will also be very difficult to locate with the mouse