Author Topic: Button code resolved!!  (Read 15725 times)

0 Members and 1 Guest are viewing this topic.

compuby

  • Full Member
  • ***
  • Posts: 8
Button code resolved!!
« on: July 02, 2009, 03:02:50 AM »
Hi everyone, well first i want to say thanks to the administrator who made this for free! Second, i want to say to all the peoples that always complaint, her guys its free remember that!!!

Ok, now. for the button problem that dosent show up, you need to modify the code for:
<!-- 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/button.php" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->

Everything will work fine after that.



Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Button code resolved!!
« Reply #1 on: July 02, 2009, 12:03:52 PM »
;) we already found the fix. But this may help those who aren't using mod_security. :)

see http://mibew.org/forums/index.php/topic,168.msg639.html#msg639 for more info ;)
« Last Edit: August 02, 2013, 10:40:49 PM by faf »

compuby

  • Full Member
  • ***
  • Posts: 8
Re: Button code resolved!!
« Reply #2 on: July 02, 2009, 07:46:52 PM »
yes , but the problem with this is that when you try to change the .htaccess file in root. It dosent change anything.

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Button code resolved!!
« Reply #3 on: July 02, 2009, 07:51:15 PM »
you have to restart your apache server.... and yes it does... it even did for about 20 guys i know whose said it worked.

compuby

  • Full Member
  • ***
  • Posts: 8
Re: Button code resolved!!
« Reply #4 on: July 02, 2009, 07:53:58 PM »
Oh ok, i didnt know that. But the problem is that i'm not hosted by myself. I'm hosted by godaddy.com so i dont know if they will restart it for that

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Button code resolved!!
« Reply #5 on: July 02, 2009, 07:57:32 PM »
hmmm good point! i wounder how it worked for me on hostgators... glad you brought that up!

compuby

  • Full Member
  • ***
  • Posts: 8
Re: Button code resolved!!
« Reply #6 on: July 02, 2009, 07:59:16 PM »
i also have an account with hostgator for an other website and i tried it and still not working. The only way is to restart the server, but i dont think that they will do this only for a 'test'

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Button code resolved!!
« Reply #7 on: July 02, 2009, 08:15:53 PM »
well, all i did to mine, was enter that code in the .htaccess file. Then i logged in and it worked.  hmmmm but i actually now that i think of it, you don't have to restart... .htaccess and .htpass files are files that aren't apart of the server software...