Welcome to the IMTalk - Internet Marketing & SEO Forum.
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    seobunny's Avatar
    seobunny is offline IM & SEO Chatty seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    1,497
    Thanks Given
    451
    Thanked 893 Times in 360 Posts

    [FREE] Easy Auto-Link + Bad Words Replacer - Wordpress Script

    Yeah!!!

    I got an exclusive Script for you WordPress Bloggers



    The first Script is an Bad words replacer script for Wordpress...
    I have added already bad words which will replace it automatically!

    It is very useful for people who runs an DoFollow Article Directory Submitter Website with Wordpress or accept guest post.

    Its very useful to avoid to get banned from google adsense cause you using bad words in your post.



    Okay here we go with the first one:

    its the Auto Link Script:

    Its the same script with only a simple html linkcode inside...
    just copy & paste it in functions.php

    I made an preview with only 3 Keywords and links... but its possible to add more urls and keywords.


    Code:
    function replace_text_wps($text){
    	$replace = array(
    		// 'WORD TO REPLACE' => 'REPLACE WORD WITH THIS'
    		'KEYWORD' => '<a href="http://www.domain-name.com/" title="KEYWORD">KEYWORD</a>',
    		'KEYWORD' => '<a href="http://www.domain-name.com/" title="KEYWORD">KEYWORD</a>',
    		'KEYWORD' => '<a href="http://www.domain-name.com/" title="KEYWORD">KEYWORD</a>',
    	);
    	$text = str_replace(array_keys($replace), $replace, $text);
    	return $text;
    }
    add_filter('the_content', 'replace_text_wps');
    add_filter('the_excerpt', 'replace_text_wps');


    Here is the Bad Words Replacer Script...
    I already added some important keywords inside which google adsense dont like!
    You can add more.. of course!



    Quote Originally Posted by wink0r View Post
    You should add the word 'boob' in there. I have a page that no longer has Adsense, but when it did it only got one public service ad on the page (out of three ad slots). In context the word meant one who makes frequent mistakes and had no sexual connotation at all, but it is obviously on their bad words list.

    PS: You could just replace the second 'sex' with 'boob'. The filter won't find 'sex' on the second pass anyway.

    ... FIXED!
    (there are some words like p*orn or V*iagra this forum automatically displayed. So you must add these words inside by yourself)


    Code:
    function replace_text_wps($text){
    	$replace = array(
    		// 'WORD TO REPLACE' => 'REPLACE WORD WITH THIS'
    		'boob' => '*Censored!*',
    		'boobs' => '*Censored!*',
    		'viagra' => '*Censored!*',
    		'fuck' => '*Censored!*',
    		'fucking' => '*Censored!*',
    		'nigga' => '*Censored!*',
    		'bitch' => '*Censored!*',
    		'bastard' => '*Censored!*',
    		'erection' => '*Censored!*',
    		'mastrubation' => '*Censored!*',
    		'penis' => '*Censored!*',
    		'faggot' => '*Censored!*',
    		'pills' => '*Censored!*',
    		'pedophile' => '*Censored!*',
    		'pussy' => '*Censored!*',
    		'ass' => '*Censored!*',
    		'schlong' => '*Censored!*',
    		'xx' => '*Censored!*',
    		'xxx' => '*Censored!*',
    		'casino' => '*Censored!*',
    		'poker' => '*Censored!*',
    		'las vegas' => '*Censored!*',
    		'gambling' => '*Censored!*',
    		'drugs' => '*Censored!*',
    		'cocaine' => '*Censored!*',
    		'heroin' => '*Censored!*',
    		'dildo' => '*Censored!*',
    		'vibrator' => '*Censored!*',
    		'marijuana' => '*Censored!*',
    		'black hat seo' => '*Censored!*',
    		'warez' => '*Censored!*',
    		'pharmacy' => '*Censored!*',
    		'piss' => '*Censored!*',
    		'shit' => '*Censored!*',
    		'facial' => '*Censored!*',
    		'blowjob' => '*Censored!*',
    	);
    	$text = str_replace(array_keys($replace), $replace, $text);
    	return $text;
    }
    add_filter('the_content', 'replace_text_wps');
    add_filter('the_excerpt', 'replace_text_wps');

    ENJOY and dont forget to click on Thanks!
    Last edited by seobunny; 08-02-2011 at 04:22 PM.
    Create Bookmarks here: here or here: iBada, and here: Weblogpoint, alternative here: Bai Bun Bookmarks, enjoy ECHTZEIT!

  2. The Following 4 Users Say Thank You to seobunny For This Useful Post:


  3. #2
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,178
    Thanks Given
    929
    Thanked 648 Times in 489 Posts
    You should add the word 'boob' in there. I have a page that no longer has Adsense, but when it did it only got one public service ad on the page (out of three ad slots). In context the word meant one who makes frequent mistakes and had no sexual connotation at all, but it is obviously on their bad words list.

    PS: You could just replace the second 'sex' with 'boob'. The filter won't find 'sex' on the second pass anyway.

  4. The Following User Says Thank You to wink0r For This Useful Post:


  5. #3
    what4 is offline IM & SEO Whisperer what4 is on a distinguished road
    Join Date
    Jan 2011
    Posts
    76
    Thanks Given
    10
    Thanked 13 Times in 8 Posts
    looks interesting bunny can you go into a little more detail as to how to install the script. thank you.

  6. #4
    seobunny's Avatar
    seobunny is offline IM & SEO Chatty seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    1,497
    Thanks Given
    451
    Thanked 893 Times in 360 Posts
    Quote Originally Posted by what4 View Post
    looks interesting bunny can you go into a little more detail as to how to install the script. thank you.

    just copy & paste the script code in the middle of functions.php
    Create Bookmarks here: here or here: iBada, and here: Weblogpoint, alternative here: Bai Bun Bookmarks, enjoy ECHTZEIT!

  7. #5
    Devjeet's Avatar
    Devjeet is offline IM & SEO Weak Jaw Devjeet will become famous soon enough
    Join Date
    May 2011
    Location
    Chandigarh
    Posts
    205
    Thanks Given
    18
    Thanked 46 Times in 41 Posts
    I think I made some mistake during installation..script not working....*crying

  8. #6
    seobunny's Avatar
    seobunny is offline IM & SEO Chatty seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    1,497
    Thanks Given
    451
    Thanked 893 Times in 360 Posts
    Quote Originally Posted by Devjeet View Post
    I think I made some mistake during installation..script not working....*crying
    Please place the codes from your functions.php here...

    I will make it for you... maybe youre placed it in a wrong place in funktions.php
    Create Bookmarks here: here or here: iBada, and here: Weblogpoint, alternative here: Bai Bun Bookmarks, enjoy ECHTZEIT!

  9. #7
    what4 is offline IM & SEO Whisperer what4 is on a distinguished road
    Join Date
    Jan 2011
    Posts
    76
    Thanks Given
    10
    Thanked 13 Times in 8 Posts
    Bunny I have another question for you. Does this go in wp-functions or theme functions. Thanks again

  10. #8
    seobunny's Avatar
    seobunny is offline IM & SEO Chatty seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold seobunny is a splendid one to behold
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    1,497
    Thanks Given
    451
    Thanked 893 Times in 360 Posts
    Quote Originally Posted by what4 View Post
    Bunny I have another question for you. Does this go in wp-functions or theme functions. Thanks again
    Theme functions...

    if youre not really sure.. just paste your codes from your functions.php here and I will add the codes in
    Create Bookmarks here: here or here: iBada, and here: Weblogpoint, alternative here: Bai Bun Bookmarks, enjoy ECHTZEIT!


 

Similar Threads

  1. Make Easy Money From Facebook! [Free Ebook]
    By darklift in forum Free Stuff
    Replies: 10
    Last Post: 07-08-2011, 07:39 AM
  2. DoFollow and Auto Approved EDU Link List (Free)
    By seobunny in forum Free Stuff
    Replies: 12
    Last Post: 06-02-2011, 10:44 AM
  3. [Free] GPT Script
    By SocialArc in forum Free Stuff
    Replies: 0
    Last Post: 05-17-2011, 08:11 AM
  4. Replies: 6
    Last Post: 05-09-2011, 05:15 PM
  5. Replies: 7
    Last Post: 07-17-2010, 05:46 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts