GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Google AdSense in blog entries (https://gfy.com/showthread.php?t=533324)

Shoehorn! 10-27-2005 04:27 PM

Google AdSense in blog entries
 
Why is mine showing up blank in Wordpress? Is it impossible to include an AdSense banner in an actual post?

Fletch XXX 10-27-2005 04:28 PM

not going to work properly.

$5 submissions 10-27-2005 04:31 PM

Quote:

Originally Posted by Shoehorn!
Why is mine showing up blank in Wordpress? Is it impossible to include an AdSense banner in an actual post?

All the time??? If it shows up blank all the time... try a mainstream blog at blogger.

Here's the instructions: http://weblogs.about.com/od/blogprof...gerAdSense.htm

Shoehorn! 10-27-2005 04:32 PM

Quote:

Originally Posted by Fletch XXX
not going to work properly.

No way to do it at all?

MerlinK 10-27-2005 04:33 PM

just make sure you don't insert more than 3 on the page. :)

Shoehorn! 10-27-2005 04:33 PM

Quote:

Originally Posted by $5 submissions
All the time??? If it shows up blank all the time... try a mainstream blog at blogger.

Here's the instructions: http://weblogs.about.com/od/blogprof...gerAdSense.htm

Yeah, it never works with any of my blogs running WordPress. I wonder if Google plans on any kind of WordPress addon for AdSense.

Veterans Day 10-27-2005 04:47 PM

Quote:

Originally Posted by Shoehorn!
Yeah, it never works with any of my blogs running WordPress. I wonder if Google plans on any kind of WordPress addon for AdSense.

there is about 4 million plugins avaible

pornguy 10-27-2005 04:49 PM

try using an Iframe.

TheSenator 10-27-2005 04:50 PM

are u kidding??? I see WP blogs using it all the time.

Chio 10-27-2005 04:50 PM

Quote:

Originally Posted by Shoehorn!
Yeah, it never works with any of my blogs running WordPress. I wonder if Google plans on any kind of WordPress addon for AdSense.


They do you fag. LOL try a search for adsense deluxe. Wordpress plugin.

llporter 10-27-2005 07:35 PM

Your using adsense on a porn blog? Smart - Dumbass

fetishblog 10-27-2005 07:38 PM

Why is someone who asks for help a fag?

And I tried using adsense on a porn blog. All I ever saw was those stupid public service ads asking for you to flush your money down the drain helping some starving looter in New Orleans.

Machete_ 10-27-2005 07:42 PM

I use <!--#include file="something.html"--> to include a html file with the code in it

Doctor Dre 10-27-2005 07:42 PM

Quote:

Originally Posted by Veterans Day
there is about 4 million plugins avaible

Wich are ?

Doctor Dre 10-27-2005 07:43 PM

Quote:

Originally Posted by llporter
Your using adsense on a porn blog? Smart - Dumbass

I think they started allowing adult

Machete_ 10-27-2005 07:45 PM

Quote:

Originally Posted by fetishblog
Why is someone who asks for help a fag?

And I tried using adsense on a porn blog. All I ever saw was those stupid public service ads asking for you to flush your money down the drain helping some starving looter in New Orleans.


if you adsense on porn you will get suspended when they check your sites.. they check your site before you recive the first payment + random calls

I always send my contact at google a mail each time i launch a new site with google adsense on it.. make them confirm on mail that the content is ok = you are home free

Machete_ 10-27-2005 07:46 PM

Quote:

Originally Posted by Doctor Dre
Wich are ?

http://www.google.com/search?sourcei...blog+%2Bplugin

fetishblog 10-27-2005 07:47 PM

Quote:

Originally Posted by Doctor Dre
I think they started allowing adult

https://www.google.com/adsense/policies - Not according to this.

freesexxwebsite 10-27-2005 08:19 PM

don't use in adult blogs.I give the code for default theme, just edit the pub id
index.php

PHP Code:

<?php get_header(); ?>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;



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

google_ad_client = "pub-14your id0";

google_ad_width = 468;

google_ad_height = 60;

google_ad_format = "468x60_as";

google_ad_type = "text_image";

google_ad_channel ="";

google_color_border = "ffffff";

google_color_bg = "ffffff";

google_color_link = "cc3300";

google_color_url = "cc3300";

google_color_text = "666666";

//--></script>

<script type="text/javascript"

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

</script>



    <div id="content" class="narrowcolumn">



    <?php if (have_posts()) : ?>

        

        <?php while (have_posts()) : the_post(); ?>

                

            <div class=hahahahahaha id="post-<?php the_ID(); ?>">

                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

                <small><?php the_time('F jS, Y'?> <!-- by <?php the_author() ?> --></small>

                

                <div class="entry">

                    <?php the_content('Read the rest of this entry &raquo;'); ?>

                </div><!--adsense#160_90-->

        

                <p class="postmetadata">Posted in <?php the_category(', '?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments hahaha187;''1 Comment hahaha187;''% Comments hahaha187;'); ?></p>

            </div>

    

        <?php endwhile; ?>



        <div class="navigation">

            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries'?></div>

            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;'?></div>

        </div>

        

    <?php else : ?>



        <h2 class="center">Not Found</h2>

        <p class="center">Sorry, but you are looking for something that isn't here.</p>

        <?php include (TEMPLATEPATH "/searchform.php"); ?>



    <?php endif; ?>



    </div>



<?php get_sidebar(); ?>



<?php get_footer(); ?>


Chio 10-27-2005 08:20 PM

Quote:

Originally Posted by fetishblog
Why is someone who asks for help a fag?

And I tried using adsense on a porn blog. All I ever saw was those stupid public service ads asking for you to flush your money down the drain helping some starving looter in New Orleans.


YARGH! HAHA no disrespect hence the LOL, Shoehorn is a friend :)

Fletch XXX 10-27-2005 08:20 PM

Sorry, but you are looking for something that isn't here.

freesexxwebsite 10-27-2005 08:22 PM

archive.php
PHP Code:

<?php get_header(); ?>
<p align="center">&nbsp;</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<script type="text/javascript"><!--
google_ad_client = "pub-yourid";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "cc3300";
google_color_url = "cc3300";
google_color_text = "666666";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

    <div id="content" class="narrowcolumn">

        <?php if (have_posts()) : ?>

         <?php $post $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php 
/* If this is a category archive */ if (is_category()) { ?>                
        <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>
        
       <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
        
     <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>

        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
        
      <?php /* If this is a search */ } elseif (is_search()) { ?>
        <h2 class="pagetitle">Search Results</h2>
        
      <?php /* If this is an author archive */ } elseif (is_author()) { ?>
        <h2 class="pagetitle">Author Archive</h2>

        <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
        <h2 class="pagetitle">Blog Archives</h2>

        <?php ?>


        <div class="navigation">
            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries'?></div>
            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;'?></div>
        </div>

        <?php while (have_posts()) : the_post(); ?>
        <div class=hahahahahaha>
                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
                <small><?php the_time('l, F jS, Y'?></small>
                
                <div class="entry">
                    <?php the_excerpt() ?>
                </div>
        
                <p class="postmetadata">Posted in <?php the_category(', '?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments hahaha187;''1 Comment hahaha187;''% Comments hahaha187;'); ?></p> 

            </div>
    
        <?php endwhile; ?>

        <div class="navigation">
            <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries'?></div>
            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;'?></div>
        </div>
    
    <?php else : ?>

        <h2 class="center">Not Found</h2>
        <?php include (TEMPLATEPATH '/searchform.php'); ?>

    <?php endif; ?>
        
    </div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>


freesexxwebsite 10-27-2005 08:27 PM

footer.php
PHP Code:

<hr />

<div id="footer">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

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

google_ad_client = "pub-yourid";

google_ad_width = 468;

google_ad_height = 60;

google_ad_format = "468x60_as";

google_ad_type = "text_image";

google_ad_channel ="";

google_color_border = "ffffff";

google_color_bg = "ffffff";

google_color_link = "cc3300";

google_color_url = "cc3300";

google_color_text = "666666";

//--></script>

<script type="text/javascript"

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

</script>

    <p>

        <?php bloginfo('name'); ?> is proudly powered by 

        <a href="http://wordpress.org">WordPress</a>

        <br /><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>

        and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.

        <!-- <?php echo $wpdb->num_queries?> queries. <?php timer_stop(1); ?> seconds. -->

    </p>

</div>

</div>



<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->

<?php /* "Just what do you think you're doing Dave?" */ ?>



        <?php wp_footer(); ?>



</body>

</html>


freesexxwebsite 10-27-2005 08:29 PM

sidebar.php
PHP Code:

    <div id="sidebar">
        <ul>
<li><script type="text/javascript"><!--
google_ad_client = "pub-your id";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "F8F8F8";
google_color_bg = "F8f8F8";
google_color_link = "CC3300";
google_color_url = "CC3300";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></li>
            
            <li>
                <?php include (TEMPLATEPATH '/searchform.php'); ?>
            </li>

            <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
            <li><h2>Author</h2>
            <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
            </li>
            -->

            <li>
            <?php /* If this is a 404 page */ if (is_404()) { ?>
            <?php /* If this is a category archive */ } elseif (is_category()) { ?>
            <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
            
            <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
            for the day <?php the_time('l, F jS, Y'); ?>.</p>
            
            <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
            for <?php the_time('F, Y'); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
            for the year <?php the_time('Y'); ?>.</p>
            
         <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
            <p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
            for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>

            <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>

            <?php ?>
            </li>

            <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

            <li><h2>Archives</h2>
                <ul>
                <?php wp_get_archives('type=monthly'); ?>
                </ul>
            </li>

            <li><h2>Categories</h2>
                <ul>
                <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
                </ul>
            </li>

            <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>                
                <?php get_links_list(); ?>
                
                <li><h2>Meta</h2>
                <ul>
                    <?php wp_register(); ?>
                    <li><?php wp_loginout(); ?></li>
                    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
                    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
                    <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
                    <?php wp_meta(); ?>
                </ul>
                </li>
            <?php ?>
            
        </ul>
    </div>


SomeCreep 10-27-2005 08:33 PM

Quote:

Originally Posted by Doctor Dre
I think they started allowing adult

Incorrect.

freesexxwebsite 10-27-2005 08:36 PM

single.php
PHP Code:

<?php get_header(); ?>

<p align="center">

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

google_ad_client = "pub-yourid";

google_ad_width = 468;

google_ad_height = 60;

google_ad_format = "468x60_as";

google_ad_type = "text_image";

google_ad_channel ="";

google_color_border = "ffffff";

google_color_bg = "ffffff";

google_color_link = "cc3300";

google_color_url = "cc3300";

google_color_text = "666666";

//--></script>

<script type="text/javascript"

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

</script></p>



    <div id="content" class="widecolumn">

                

  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    

        <div class="navigation">

            <div class="alignleft"><?php previous_post_link('&laquo; %link'?></div>

            <div class="alignright"><?php next_post_link('%link &raquo;'?></div>

        </div>

    

        <div class=hahahahahaha id="post-<?php the_ID(); ?>">

            <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    

            <div class="entrytext">

                <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>

    

                <?php link_pages('<p><strong>Pages:</strong> ''</p>''number'); ?>

    

                <p class="postmetadata alt">

                    <small>

                        This entry was posted

                        <?php /* This is commented, because it requires a little adjusting sometimes.

                            You'll need to download this plugin, and follow the instructions:

                            http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */

                            /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ 
?> 

                        on <?php the_time('l, F jS, Y'?> at <?php the_time() ?>

                        and is filed under <?php the_category(', '?>.

                        You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. 

                        

                        <?php if (('open' hahahaha $post-> comment_status) && ('open' hahahaha $post->ping_status)) {

                            
// Both Comments and Pings are open ?>

                            You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.

                        

                        <?php } elseif (!('open' hahahaha $post-> comment_status) && ('open' hahahaha $post->ping_status)) {

                            
// Only Pings are Open ?>

                            Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.

                        

                        <?php } elseif (('open' hahahaha $post-> comment_status) && !('open' hahahaha $post->ping_status)) {

                            
// Comments are open, Pings are not ?>

                            You can skip to the end and leave a response. Pinging is currently not allowed.

            

                        <?php } elseif (!('open' hahahaha $post-> comment_status) && !('open' hahahaha $post->ping_status)) {

                            
// Neither Comments, nor Pings are open ?>

                            Both comments and pings are currently closed.            

                        

                        <?php edit_post_link('Edit this entry.','',''); ?>

                        

                    </small>

                </p>

    

            </div>

        </div>

        

    <?php comments_template(); ?>

    

    <?php endwhile; else: ?>

    

        <p>Sorry, no posts matched your criteria.</p>

    

<?php endif; ?>

    

    </div>



<?php get_footer(); ?>


xxxice 10-27-2005 08:45 PM

Quote:

Originally Posted by fetishblog
Why is someone who asks for help a fag?

And I tried using adsense on a porn blog. All I ever saw was those stupid public service ads asking for you to flush your money down the drain helping some starving looter in New Orleans.

They have stop words and will not show ads if pages contain them :)


All times are GMT -7. The time now is 02:46 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123