can anyone tell me how I can add advertising such as adsence to my chat page ???
thanks :)
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! |
You'll need to buy "Chat and Messenger Banners" at http://www.boonex.com/unity/extensions/entry/Chat_and_Messenger_Banners |
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! |
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 /> <bx_include_auto:_sub_header.html /> put your adsense code here.. __page_main_code__ ManOfTeal.COM a Proud UNA site, six years running strong! |
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 /> <bx_include_auto:_sub_header.html /> put your adsense code here.. __page_main_code__ 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! |
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 /> <bx_include_auto:_sub_header.html /> put your adsense code here.. __page_main_code__ 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! |
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! |
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! |
one example... modules/boonex/chat/templates/base/page_57.html <bx_include_auto:_sub_header.html /> |
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 />
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 |
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 ManOfTeal.COM a Proud UNA site, six years running strong! |
yes i would love this fix please! MY SITES http://viptopia.net general social networking | http://www.rangerschat.com/ niche site |
working on the write up.. ManOfTeal.COM a Proud UNA site, six years running strong! |
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 ManOfTeal.COM a Proud UNA site, six years running strong! |
<table width="100%" ; cellpadding="0" cellspacing="0">
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 |
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! |
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 |
<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! |