vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Google Ads (https://vborg.vbsupport.ru/showthread.php?t=133536)

popowich 12-08-2006 10:35 PM

Google Ads
 
1 Attachment(s)
Hello,

I want to put Google Ads right here (see attachment).

Can someone point me to the correct file and approx line number?

If it's more difficult and a template thing and you can help that's great too.

Thank you,
-Raymond

VietLang 12-09-2006 03:52 AM

Oh man, you're lucky. It took me hours and hours to going through the html by viewing the source codes in the browser and going through all of the php files to figure it out last night. Do this:

Open your sink_Arcade.php file by:

arcade --> skins --> skin_Arcade.php


FIND:
PHP Code:

        </td>

        <
td class="alt1" align="right" valign="top" style="width: 20%;padding-left:7px;padding-top:5px;padding-bottom:5px;"


ADD ABOVE:
PHP Code:

                <!-- Google Adsense -->
                <
fieldset class="fieldset" style="margin: 0px 0px 0px 0px;">
                    <
legend>Sponsored Sites</legend>
                    <
div style="padding: 0px;">
                        <
table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                            <
tr>
                                <
td width="100%">
                                
                                
Your Google Adsense Code
                                
                                
</td>
                            </
tr>
                        </
table>
                    </
div>
                </
fieldset>
                <!-- 
End of Google Adsense --> 


That's it, you're done :)


Edit: Fix a minor mistake

Note:

This line of code <legend>Sponsored Sites</legend> is the "title" of your Adsense block, just like the "Latest Arcade Score" for the lastest score of the arcade. I had "Sponsored Sites" on my, you can change it to anything you want here.

popowich 12-09-2006 04:58 AM

Thank you!
-Raymond

BigJimTheLug 12-09-2006 09:47 PM

Do you have a demo?

Are you sure this is not a violation of Google's TOS?

VietLang 12-10-2006 03:58 AM

What do you mean by "violation?" Can you explain furthur?

popowich 12-10-2006 04:58 PM

Yeah, why do you think this is a TOS violation?

-Raymond

popowich 12-12-2006 06:15 AM

I was going nuts trying to figure this out.

I use the v3 skin and need to put it into that php file.

I tried looking for afew spots but it shows up in the wrong place on the arcade page. :confused:

-Raymond

rolandogomez 12-12-2006 05:51 PM

It's easier if you just put it in the navbar, that's what I did, demo here Works great. Not sure where there is a TOS problem though, never had it...rg

RedTyger 12-12-2006 06:41 PM

The Ads have to be on a page with actual content, page composed of lists of stats might not count.

At least, I assume that's what he's getting at. Same issue occurs if you put it in the navbar and it appears on every page, you have to exclude pages like registration and so on.

BigJimTheLug 12-15-2006 05:24 PM

Actually,

I was hoping it is not a TOS violation because Google does not like it when you blend in ads so well, that you cannot distinguish them from your forum content.

I've had several prime locations for adsense reviewed by Google and they do not approve of them because those locations will get you more legitimate clicks.

This in turn affects the advertisers and on "and on and on..you know the rest if you have adsense...."

In all actuality, this placement might not be a TOS violation for him, but it might be one for me.
This has also happened with my forum and other forums with same ad placement.
Google is very meticulous about how their Adsense is displayed.
To be safe, verify that any placement that you are questioning is within Google's TOS.
After all, if you are questioning the "legitimacy" of ad placement, chances are it can be a TOS violation.


All times are GMT. The time now is 08:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete