vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Censor just for guests (mainly for Google) (https://vborg.vbsupport.ru/showthread.php?t=91586)

Noiz Pollution 07-03-2005 11:37 PM

Censor just for guests (mainly for Google)
 
Hi folks,

I actually managed to create this hack myself a while back but I've since lost the code and I can't remember how I did it :(

What I'm basically looking for is a hack that will take censored words and hide them from guests but show them to everyone else. This is mostly for Google, if you're on the Adsense program it's against their T&Cs to have swearing on the pages on which you display their ads.

I'm currently censoring with replacement variables as I know that the censor functions actually permanently alter the text in the post thus making the original word irretrievable.

When I made the hack originally it was very simple, basically finding something in the censor functions and throwing a conditional around it, the problem is I can't remember which function in which file it was.

If anybody could help with this it'd be greatly appreciated.


Cheers,
Robert

tamarian 07-03-2005 11:45 PM

Wouldn't this still violate Google's Adsense terms?

I think it's an interesting concept for a hack, but if the main reason is Google Adsense, I think it won't solve the terms issue, since the terms are for the actual page content, not the cloacked/altered content.

Noiz Pollution 07-03-2005 11:50 PM

Quote:

Originally Posted by tamarian
Wouldn't this still violate Google's Adsense terms?

I think it's an interesting concept for a hack, but if the main reason is Google Adsense, I think it won't solve the terms issue, since the terms are for the actual page content, not the cloacked/altered content.

As far as I'm aware Google don't care so long as when the bot hits the page it isn't picking up any swear words, for that to happen it would have to register an account. With it not picking up any swear words on the pages with the bot, none of the content found in the search engine would contain any swear words, people would only see them if they registered.


Cheers,
Robert

Checking their policies it says:
Quote:

Originally Posted by Google Adsense
Site may not include:

Excessive profanity

Currently the site doesn't contain excessive profanity but then that's all down to the opinion of whoever is reading, some people might see the word fart as excessive profanity whereas other people might see it as the other F word being used with the C word and lots of other nasty things in between.

Originally when I first joined the program they did deem that there was too much swearing on the site so I introduced the filter and they accepted me without any problem afterwards so I don't see the content being cloaked being an issue.

If they have a problem with me allowing my members to view uncensored profanity then I'm sure they'll let me know if/when they come accross it. They don't actually stipulate that.


Cheers,
Robert

PS. I hate that double post thing.

Noiz Pollution 07-10-2005 10:53 AM

*bump*

Noiz Pollution 07-29-2005 01:43 PM

Quote:

Originally Posted by 662C
*bump*

*bump*

Noiz Pollution 08-01-2005 11:35 AM

Quote:

Originally Posted by 662C
*bump*

*bump*

Noiz Pollution 08-10-2005 07:15 AM

Quote:

Originally Posted by 662C
*bump*

*bump*

Noiz Pollution 08-14-2005 12:32 AM

Quote:

Originally Posted by 662C
*bump*

*bump*

is anyone even taking notice of this?

sketch42 08-14-2005 04:30 AM

Quote:

Originally Posted by 662C
*bump*

is anyone even taking notice of this?

i like this hack but dont think itll ever be done without pay.. since it (borderline} does end up violating the google adsense TOS.

Hornstar 01-23-2006 05:01 AM

well its a nice hack even if its not used for google, i dont want guest seeing the swear words, get them in the site and them bam lol swear away lol


All times are GMT. The time now is 10: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.01182 seconds
  • Memory Usage 1,734KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete