Announcement

Collapse
No announcement yet.

google adsense and vbulletin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    I have praises for adsense.. simple to use, easy to understand and being very straight forward in the whole setup!

    I too earn lots of $3s...

    -----------------
    http://www.LPforum.net
    Discussion Forum for Budget Travelers & Backpackers

    Comment


    • #92
      I recently added adsense to the vbulletin archive, which increased it with at least 15%

      Comment


      • #93
        There is an archive for vBulletin?

        Comment


        • #94
          Hi Floris,

          Could you please tell me how to add google adsense to the archive section?

          Thanks.

          Comment


          • #95
            Originally posted by teamrocketman
            There is an archive for vBulletin?
            Yeah, with version 3 it got introduced, I believe you run IPB, which introduced the same-like feature some time later (lo-fi)

            http://www.vBulletin.com/forum/archive/

            Comment


            • #96
              Originally posted by amc
              Hi Floris,

              Could you please tell me how to add google adsense to the archive section?

              Thanks.
              open archive/index.php and find this code:

              PHP Code:
              echo print_archive_navigation($foruminfo$threadinfo); 
              below that, on a new line, add this code:

              PHP Code:
              print "
              <div class=\"smallfont\" align=\"center\"><br />
              Your google adsense code here
              </div>
              "

              Now replace the " in the google adsense code with \" (not from the above code, but from the google adsense code)

              Example:
              Code:
              <script type="text/javascript"><!--
              becomes
              Code:
              <script type=\"text/javascript\"><!--
              Save the .php file and upload it to your server.

              Comment


              • #97
                I did as you explained...

                but I get this error:

                Parse error: parse error, unexpected T_STRING in /hsphere/local/home/abcdef/abc.com/archive/index.php on line 290

                Comment


                • #98
                  Thanks Floris,

                  Got it working!

                  I did not realize that I had to replace all of " with \" in the google adsense code.

                  Thanks Again!

                  Comment


                  • #99
                    Originally posted by Floris
                    open archive/index.php and find this code:

                    PHP Code:
                    echo print_archive_navigation($foruminfo$threadinfo); 
                    below that, on a new line, add this code:

                    PHP Code:
                    print "
                    <div class=\"smallfont\" align=\"center\"><br />
                    Your google adsense code here
                    </div>
                    "

                    Now replace the " in the google adsense code with \" (not from the above code, but from the google adsense code)

                    Example:
                    Code:
                    <script type="text/javascript"><!--
                    becomes
                    Code:
                    <script type=\"text/javascript\"><!--
                    Save the .php file and upload it to your server.
                    Floris is it OK to change GOOGLE ADSENSE CODE? I thought it was not ok.

                    Comment


                    • you aren't changing the google adsense code. From what I can tell, its being parsed properly.
                      ManagerJosh, Owner of 4 XenForo Licenses, 1 vBulletin Legacy License, 1 Internet Brands Suite License
                      Director, WorldSims.org | Gaming Hosting Administrator, SimGames.net, Urban Online Entertainment

                      Comment


                      • Originally posted by ManagerJosh
                        you aren't changing the google adsense code. From what I can tell, its being parsed properly.
                        I think the easiest way without changing anything at all is to put the code in a VBPHRASE.

                        Create a VB Phrase
                        Put the ADSENSE code in the phrase
                        Then call the PHRASE from the archive/index.php
                        Last edited by hasan2k; Wed 28 Jul '04, 6:20am.

                        Comment


                        • I intalled it the code in the archive and everything looks the same. Don't the adsense ads suppose to show up? Or did I do something wrong?

                          Plus I have some mature sections of my message board. But I dont have the adsense code on those forums. Will the adsense crawler see these forums now. I don't want them too because they are kinda anal about mature content. (And no its not porn lol)

                          Comment


                          • In a previous thread someone mentioned to put this code at the end of admin/sessions.php
                            PHP Code:
                            if($bbuserinfo['userid'] == 0) {
                            $bbuserinfo['nosessionhash'] = 1;
                            $session['sessionhash'] = '';

                            But that was for vb2. Does vb3 need this, also? I am seeing way to many Bulletin Board ads.

                            Also, only registered users can actually read threads (via a hack), does this effect the googlebot?
                            Last edited by Beowolf; Fri 13 Aug '04, 6:24am.

                            Comment


                            • Codes for v2 won't work in v3.

                              In v3 search engine bots won't use the session hash by default.

                              Comment


                              • Ok, one more question - does anyone know what is the exact name of the google adsense spider? How I can add it to the who's online option inside the admin panel.

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X