Author Topic: Offline image and link  (Read 7803 times)

0 Members and 1 Guest are viewing this topic.

chrisb123

  • Full Member
  • ***
  • Posts: 6
Offline image and link
« on: November 18, 2009, 09:31:03 AM »
Is it possible to use the offline image to link to a contact page rather than to the contact for on mibew?

Failing that is it just possible to remove the link to the offline contact form on mibew, or even better simply not have an image show at all if offline.

Thanks in advance,  Chris

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: Offline image and link
« Reply #1 on: November 23, 2009, 07:54:18 PM »
Edit /webim/client.php, line 91:

   if(!has_online_operators($groupid)) {
                ......
        }

Replace .... with

   header("Location: /contacts.html");
   exit;

To hide image at all, replace your offline version with /images/free.gif (1x1 transparent gif).