advertising / adsense on chat page etc

can anyone tell me how I can add advertising such as adsence to my chat page ???

 

thanks :)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 20 Mar 2011

You'll need to buy "Chat and Messenger Banners" at http://www.boonex.com/unity/extensions/entry/Chat_and_Messenger_Banners

Quote · 20 Mar 2011

 

You'll need to buy "Chat and Messenger Banners" at http://www.boonex.com/unity/extensions/entry/Chat_and_Messenger_Banners

i mean actual adsense !! this does not allow it !!

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 29 Apr 2011

I have put this one at the end of the _sub_header.html file in your templates folder.

http://www.duvallocals.info/m/chat/home

allows you to put banner on everypage though.

or you can edit /modules/boonex/chat/templates/base/page_57.html this will only put on the chat page below the main menu, not sure how it works with a site using a background image..

this is the page_57.html file as is... make a back up first.

<bx_include_auto:_sub_header.html />
 __page_main_code__
<bx_include_auto:_sub_footer.html />

<bx_include_auto:_sub_header.html />

put your adsense code here..

 __page_main_code__
<bx_include_auto:_sub_footer.html />

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 29 Apr 2011

 

I have put this one at the end of the _sub_header.html file in your templates folder.

http://www.duvallocals.info/m/chat/home

allows you to put banner on everypage though.

or you can edit /modules/boonex/chat/templates/base/page_57.html this will only put on the chat page below the main menu, not sure how it works with a site using a background image..

this is the page_57.html file as is... make a back up first.

<bx_include_auto:_sub_header.html />
__page_main_code__
<bx_include_auto:_sub_footer.html />

<bx_include_auto:_sub_header.html />

put your adsense code here..

__page_main_code__
<bx_include_auto:_sub_footer.html />

is there away I can have it going down the right side of chat??

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 29 Apr 2011

 

I have put this one at the end of the _sub_header.html file in your templates folder.

http://www.duvallocals.info/m/chat/home

allows you to put banner on everypage though.

or you can edit /modules/boonex/chat/templates/base/page_57.html this will only put on the chat page below the main menu, not sure how it works with a site using a background image..

this is the page_57.html file as is... make a back up first.

<bx_include_auto:_sub_header.html />
__page_main_code__
<bx_include_auto:_sub_footer.html />

<bx_include_auto:_sub_header.html />

put your adsense code here..

__page_main_code__
<bx_include_auto:_sub_footer.html />

another question is:- how do I line two different things side by side  like you have with your ad and share feature on your chat page ??

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 29 Apr 2011

use the <center><adsense code></center>

of course that will center what you want there..

you could do one wide banner or two smaller ones.

Hope this helps.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 29 Apr 2011
 any idea how to pu adsense/ads on the right side of chat page (out or chat area)?? and also how do you line 2 ads for example horzontally next to each other ?? thx for help so far
DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 29 Apr 2011

one example...

modules/boonex/chat/templates/base/page_57.html

<bx_include_auto:_sub_header.html />
<table width="100%" cellpadding="1" cellspacing="0">
<tr valign="top">
<td width="85%"> __page_main_code__ </td>
<td width="1%"> </td>
<td width="14%">adsense code</td>
</tr>
</table>
<bx_include_auto:_sub_footer.html />

Quote · 29 Apr 2011

 

is there away I can have it going down the right side of chat??

Here's what I use in chat to get a skyscraper ad along side chat:

<bx_include_auto:_sub_header.html />
<table  width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
__page_main_code__
</td>
<td width=120 valign=top><br>
<br>ADSENSE CODE GOES HERE</td>
</tr></table><bx_include_auto:_sub_footer.html />

 

I put it at 99% because at 100% there was no space between the banner and the page scrollbar, and people were accidentally clicking the banner. My thinking was, COOL, accidental clicks work,,,until it was the same IP address' that did it, and google banned my account for fraudulent cicking, when in fact, it wasn't. I like a little space between the banner and scrollbar now

Quote · 30 Apr 2011

 

 any idea how to pu adsense/ads on the right side of chat page (out or chat area)?? and also how do you line 2 ads for example horzontally next to each other ?? thx for help so far

 OK here is another fix for you guys that wanted this. Putting adsense on the right and changing the actual "size" of the chat box..

anyone interested let me know and I will write it all up on in the Tips and Tricks section

Chat with Adsense

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 3 May 2012

yes i would love this fix please!

MY SITES http://viptopia.net general social networking | http://www.rangerschat.com/ niche site
Quote · 3 May 2012

working on the write up..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 3 May 2012

We will be changing core files, so please make backups of the files before changes are made.

 

first file to change is /flash/modules/chat/inc/constants.inc.php

look around line 59 for

'layout' => array('top' => 0, 'left' => 0, 'width' => "100%", 'height' => 600),

make it look like this

'layout' => array('top' => 0, 'left' => 0, 'width' => "675", 'height' => 600),

 

Next file to change is /modules/boonex/chat/templates/base/page_57.html

 

it looks like this

<bx_include_auto:_sub_header.html />

__page_main_code__

<bx_include_auto:_sub_footer.html />

 

Make it look like this

 

<bx_include_auto:_sub_header.html />

<table width="200" border="0">

  <tr>

    <td><div align="center">__page_main_code__</div></td>

    <td><script type="text/javascript"><!--

google_ad_client = "YOUR ADSENSE PUB ID";

/* sound mp3s  */

google_ad_slot = "YOUR CODE";

google_ad_width = 160;

google_ad_height = 600;

//-->

</script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script></td>

  </tr>

</table>

<bx_include_auto:_sub_footer.html />


CLEAR YOUR CACHE.....

I have attached the two files that have the changes already made to them. Just copy the folders to your root,

of course you would change the "675" to what fits your templates and insert your adsense info.

newton27

chat-adsense.zip · 2.8K · 162 downloads
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 3 May 2012

<table width="100%" ; cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="85%" >__page_main_code__ </td>
<td width="0%"> </td>
<td width="14%"> AD CODE </td>
</tr>
</table>

 

it puts a column on the right side of chat, what do i have to add one on the left side too?

MY SITES http://viptopia.net general social networking | http://www.rangerschat.com/ niche site
Quote · 8 Jul 2012

are you using boonex chat again?

this is for our default chat

You use comet chat so perhaps try putting the whole page in a three column table with ads left and right.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 Jul 2012

no i did it on my html page for my flashcoms chat,, it works i just want a column on both sides

MY SITES http://viptopia.net general social networking | http://www.rangerschat.com/ niche site
Quote · 9 Jul 2012

<table width="100%" border="0">

  <tr>

    <th scope="col">ADSENSE</th>

    <th scope="col"> __page_main_code__  </th>

    <th scope="col">ADSENSE</th>

  </tr>

</table>

[EDIT]

or something like this..

<table width="100%" border="0">

  <tr>

    <th width="20%" scope="col">adsense</th>

    <th width="60%" scope="col">__page_main_code__ </th>

    <th width="20%" scope="col">adsense</th>

  </tr>

</table>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.