Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2005, 11:37 PM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-03-2005, 11:45 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-03-2005, 11:50 PM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 07-10-2005, 10:53 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #5  
Old 07-29-2005, 01:43 PM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 662C
*bump*
*bump*
Reply With Quote
  #6  
Old 08-01-2005, 11:35 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 662C
*bump*
*bump*
Reply With Quote
  #7  
Old 08-10-2005, 07:15 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 662C
*bump*
*bump*
Reply With Quote
  #8  
Old 08-14-2005, 12:32 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 662C
*bump*
*bump*

is anyone even taking notice of this?
Reply With Quote
  #9  
Old 08-14-2005, 04:30 AM
sketch42's Avatar
sketch42 sketch42 is offline
 
Join Date: May 2004
Location: Brooklyn, NY
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 01-23-2006, 05:01 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:41 PM.


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.07539 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete