Author Topic: How to Embed WebBot into your Website  (Read 1867 times)

0 Members and 1 Guest are viewing this topic.

Offline Scope

  • Founder
  • Hero Member
  • *****
  • Posts: 2,261
    • View Profile
    • BnetWeb
How to Embed WebBot into your Website
« on: February 21, 2009, 12:54:14 AM »
How to add WebBot to your Website

How to add channel list WITH transparency Example below...

Code: [Select]
<iframe src="http://webbot.bnetweb.org/bnetweb/cc.php" width="220" height="20" frameborder="0" scrolling="no" allowtransparency="true"></iframe><br />
<iframe src="http://webbot.bnetweb.org/bnetweb/channel.php" width="220" height="461" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
Quote
-- Replace http://webbot.bnetweb.org/bnetweb/cc.php with your UserID.
-- Replace http://webbot.bnetweb.org/bnetweb/channel.php with your UserID.
You may adjust height/width to your specifications, however it is not recommended to change width or text may be cut off.


How to add channel list WITHOUT transparency

Code: [Select]
<div style="background-color:#000000;"><iframe src="http://webbot.bnetweb.org/bnetweb/cc.php" width="220" height="20" frameborder="0" scrolling="no" allowtransparency="true"></iframe><br />
<iframe src="http://webbot.bnetweb.org/bnetweb/channel.php" width="220" height="461" frameborder="0" scrolling="auto" allowtransparency="true"></iframe></div>
Quote
-- Replace http://webbot.bnetweb.org/bnetweb/cc.php with your UserID.
-- Replace http://webbot.bnetweb.org/bnetweb/channel.php with your UserID.
You may adjust height/width to your specifications, however it is not recommended to change width or text may be cut off.
-- You may replace "background-color:#000000;" with any color or hexadecimal color code you wish for the background (i.e. "background-color:black;" or "background-color:#000000;")
-- Yes, you still need to set allowtransparency="true" for this to function properly on Internet Explorer, on Firefox it's not needed.


How to add chat screen WITH transparency Example below...

Code: [Select]
<iframe SRC="http://webbot.bnetweb.org/bnetweb/chat.php" width="570" height="481" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
Quote
-- Replace http://webbot.bnetweb.org/bnetweb/chat.php with your UserID.
You may adjust height/width to your specifications, however it is not recommended to change width or text may be cut off.


How to add chat screen WITHOUT transparency

Code: [Select]
<div style="background-color:#000000;"><iframe SRC="http://webbot.bnetweb.org/bnetweb/chat.php" width="570" height="481" frameborder="0" scrolling="auto" allowtransparency="true"></iframe></div>
Quote
-- Replace http://webbot.bnetweb.org/bnetweb/chat.php with your UserID.
You may adjust height/width to your specifications, however it is not recommended to change width or text may be cut off.
-- You may replace "background-color:#000000;" with any color or hexadecimal color code you wish for the background (i.e. "background-color:black;" or "background-color:#000000;")
-- Yes, you still need to set allowtransparency="true" for this to function properly on Internet Explorer, on Firefox it's not needed.


How to add the send chat textbox Example below...

Code: [Select]
<iframe SRC="http://webbot.bnetweb.org/bnetweb/sendchat.php" width="800" height="32" frameborder="0" scrolling="NO" allowtransparency="true" background-color="black"></iframe>
Quote
-- Replace http://webbot.bnetweb.org/bnetweb/sendchat.php with your UserID.
You may adjust height/width to your specifications, however it is not recommended to change width or text may be cut off.


View the WebBot listing at http://webbot.bnetweb.org

Any questions about adding WebBot to your website let me know.
  • Scope@USEast


Offline tn5421

  • Jr. Member
  • ***
  • Posts: 34
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #1 on: April 08, 2009, 02:35:50 AM »
Here is an example layout.  This is done for Transparency with UID: bnetweb

webbot.htm
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WebBot Interface</title>
<style type="text/css">
.fsx01 {font-size: 11px;}
.fsx02 {font-size: 12px;}
.fsx03 {font-size: 13px;}
.fsx04 {font-size: 15px;}
.fsx05 {font-size: 16px;}
.fsx06 {font-size: 19px;}
.fsx07 {font-size: 21px;}
.fsx08 {font-size: 24px;}
.fsx09 {font-size: 27px;}
.fsx10 {font-size: 29px;}
.fsx11 {font-size: 32px;}
.fsx12 {font-size: 35px;}
.fsx13 {font-size: 37px;}
.fsx14 {font-size: 48px;}
.fsx15 {font-size: 64px;}
.fsx16 {font-size: 96px;}
.txdec {text-decoration: none;}
#centered{position:relative;width:800px;height:100%;margin:0px auto 0 auto;text-align:left;padding-left:1px;}
#ILOGO {position:absolute;z-index:1;visibility:visible;text-align:left;left:0px;top:0px;width:800px;height:52px;font-size:1px;}
#FRAMECHAT {position:absolute;z-index:2;visibility:visible;text-align:left;left:0px;top:62px;width:570px;height:461px;background-color:black;}
#FRAMECHANNEL {position:absolute;z-index:3;visibility:visible;text-align:left;left:575px;top:82px;width:220px;height:461px;}
#SENDBACK {position:absolute;z-index:3;visibility:visible;text-align:left;left:-8px;top:548px;width:800px;height:32px;}
#ONSERVER {position:absolute;z-index:3;visibility:visible;text-align:left;left:620px;top:548px;width:200px;height:32px;}
#CURRENT {position:absolute;z-index:4;visibility:visible;text-align:center;left:575px;top:55px;width:220px;height:32px}
.dfltt {font-family:Times New Roman;font-size:14px;font-weight:normal;text-decoration:none;text-align:left;}
body {margin:0px;text-align:center;height:100%;width:100%;}
</style>
</head>
<body bgcolor="#000000" alink="#ff0000" link="#0000ff" vlink="#800080">
<br><div id="centered">
<div id="ILOGO"> <img Align="Top" SRC="http://webbot.bnetweb.org/images/logo.gif" alt="" border=0 width="665" height="52">
</div>
<div id="FRAMECHAT">
  <div id="Grtf4" class="dfltt">
<iframe SRC="http://webbot.bnetweb.org/bnetweb/chat.php" width="570" height="481" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
  </div>
</div>
<div id="FRAMECHANNEL">
  <div id="Grtf5" class="dfltt">
 <iframe src="http://webbot.bnetweb.org/bnetweb/channel.php" width="220" height="461" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
  </div>
</div>
<div id="CURRENT">
  <div id="Grtf6" class="dfltt">
<iframe src="http://webbot.bnetweb.org/bnetweb/cc.php" width="220" height="20" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
  </div>
</div>
<div id="SENDBACK">
  <div id="Grtf7" class="dfltt">
    <iframe SRC="http://webbot.bnetweb.org/bnetweb/sendchat.php" width="800" height="32" frameborder="0" scrolling="NO" allowtransparency="true" background-color="black"></iframe>
  </div>
</div>
<div id="ONSERVER">
  <div id="Grtf8" class="dfltt">
    <iframe SRC="http://webbot.bnetweb.org/bnetweb/onserver.php"
WIDTH=200 HEIGHT=75 FRAMEBORDER=0 SCROLLING="no"
allowtransparency="true" background-color="black"></iframe>
  </div>
</div>
</body>
</html>
« Last Edit: April 08, 2009, 03:56:00 AM by tn5421 »

Offline Dr4g0n

  • Sr. Member
  • ******
  • Posts: 460
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #2 on: May 12, 2009, 06:28:31 PM »
i try to do this but it says i have to edit my sites current theme manually
Clan IMRI@uswest
My accounts
Gowarez.org




Offline Scope

  • Founder
  • Hero Member
  • *****
  • Posts: 2,261
    • View Profile
    • BnetWeb
Re: How to Embed WebBot into your Website
« Reply #3 on: May 13, 2009, 08:07:24 AM »
i try to do this but it says i have to edit my sites current theme manually

Shouldn't have to as the way you embed WebBot is through an iframe. Give me an example of fwhat your trying to do?
  • Scope@USEast


Offline Dr4g0n

  • Sr. Member
  • ******
  • Posts: 460
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #4 on: May 13, 2009, 04:39:44 PM »
Like on this website http://www.clanimmortals.net/default.php

They have the "view our channel" section on the right, im trying to put that into my clan site which is http://clanimri.bnetclanhost.com/index.php

i go to the admin page and try and put it on the current theme but i get that error message
Clan IMRI@uswest
My accounts
Gowarez.org




Offline KingofKings

  • Your Master The Leader
  • Hero Member
  • *******
  • Posts: 1,954
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #5 on: May 21, 2009, 09:23:21 PM »
Not Found

The requested URL /KingofKings/channel.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Server at webbot.bnetweb.org Port 80

I get this error what must I do
  • KingofKings@useast
"Computers are like air conditioners, if windows are open, they don't work nearly as well."
"In an open world who needs Windows and Gates"

http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34060
http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34960

Offline Scope

  • Founder
  • Hero Member
  • *****
  • Posts: 2,261
    • View Profile
    • BnetWeb
Re: How to Embed WebBot into your Website
« Reply #6 on: May 21, 2009, 10:24:25 PM »
Not Found

The requested URL /KingofKings/channel.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Server at webbot.bnetweb.org Port 80

I get this error what must I do

The UserID 'KingofKings' does not exist, what UserID did you request when we setup your WebBot.
  • Scope@USEast


Offline l2k-Shadow

  • l2k-Shadow
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Facebook
Re: How to Embed WebBot into your Website
« Reply #7 on: May 21, 2009, 10:31:19 PM »
URLs are CaSe SeNsItIvE. Your URL should read /kingofkings/channel.php
/)  /)
( -.- )
o_(")(")
This is Bunny. Copy and paste Bunny into your signature to help him gain world domination

Offline KingofKings

  • Your Master The Leader
  • Hero Member
  • *******
  • Posts: 1,954
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #8 on: May 22, 2009, 04:57:45 PM »
Thank you it works now however how can i make it lower on the page, right now i have it on my homepage and it covers up some text how can I change this?
  • KingofKings@useast
"Computers are like air conditioners, if windows are open, they don't work nearly as well."
"In an open world who needs Windows and Gates"

http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34060
http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34960

Offline Scope

  • Founder
  • Hero Member
  • *****
  • Posts: 2,261
    • View Profile
    • BnetWeb
Re: How to Embed WebBot into your Website
« Reply #9 on: May 22, 2009, 11:07:00 PM »
Thank you it works now however how can i make it lower on the page, right now i have it on my homepage and it covers up some text how can I change this?

Show me.
  • Scope@USEast


Offline SaXiN

  • Semi-Newbie
  • **
  • Posts: 18
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #10 on: May 24, 2009, 12:47:46 AM »
Thanks Scope. We are thinking of doing this to our site.

Offline KingofKings

  • Your Master The Leader
  • Hero Member
  • *******
  • Posts: 1,954
    • View Profile
Re: How to Embed WebBot into your Website
« Reply #11 on: May 24, 2009, 06:57:49 AM »
I fixed everything on my site =)
  • KingofKings@useast
"Computers are like air conditioners, if windows are open, they don't work nearly as well."
"In an open world who needs Windows and Gates"

http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34060
http://www.bnetweb.org/suggestions/awards/?action=thankyou;msg=34960