Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Allow users to self-censor thread titles and post content Details »»
Allow users to self-censor thread titles and post content
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-12-2006 Last Update: 01-13-2006 Installs: 38
DB Changes Uses Plugins
 
No support by the author.

Allow users to self-censor thread titles and post content.

This mod makes a custom profile field where users can enter words to censor, like admins do in the ACP, except the user's censoring only appears to that user.

No screenshot is necessary; it looks the same as 'regular' censoring.

If you install this mod, click install. If you uninstall this mod, click uninstall.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-06-2006, 09:04 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
They are not heavy queries, but if you want to be rid of them...

In the Self Censor Init Startup plugin find:
Code:
	$sc_ds_query = $db->query_first("SELECT data
					FROM " . TABLE_PREFIX . "datastore
					WHERE title = 'sc_profile_plus'
	");

	$sc_ds_profile_id = unserialize($sc_ds_query['data']);
	$sc_field_name = "field".$sc_ds_profile_id;
And replace with the following after mod installation:
Code:
	$sc_field_name = "fieldX"; // set fieldX to the actual field name
No such plugin. You mean the global start plugin.
Reply With Quote
  #23  
Old 03-06-2006, 02:27 PM
ronoxQ's Avatar
ronoxQ ronoxQ is offline
 
Join Date: Aug 2005
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you be able to set a 'default' list of censored words? That way, they don't need to make the whole list themselves?
Reply With Quote
  #24  
Old 04-25-2006, 01:38 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
This mod automatically makes the profile field for you and writes X from fieldX to a table, and then it fetches X from the table to determine $vbulletin->userinfo['fieldX']; so if you do as in post15 after this mod is installed, you can be rid of the extra queries.
I did this edit but it messed the filter up by censoring the wrong characters.

EG.

I filtered the word "mess" so "messing" reads as "****ing",

However, after doing the plugin edit, it was reading as "mess**g"
Reply With Quote
  #25  
Old 06-18-2006, 07:13 AM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am so lost in the edit you said calorie. can you give me some one on one help cause i need to get my queries down. Thanks abunch
Reply With Quote
  #26  
Old 07-30-2006, 10:28 PM
Chazz Layne's Avatar
Chazz Layne Chazz Layne is offline
 
Join Date: Feb 2003
Location: Alive, Mobile and Unknown
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How difficult would it be to make the censored list admin-controlled, and have it apply to usergroups instead of users (or perhaps on/off toggle in profile)?

This is the closest I've seen to the solution I need to provide a default, optional "work safe" environment.
Reply With Quote
  #27  
Old 09-10-2006, 11:39 PM
TwinsForMe TwinsForMe is offline
 
Join Date: Oct 2004
Location: Canada
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was running this on one board with 3.5.x and it worked well. I upgraded to 3.6.0 and it still works.

I tried installing this on two other boards that run 3.6.0 and it's not working. It's not creating a profile field. Even when I manually created the profile field it still didn't work.

Anyone else have this problem and find a workaround?
Reply With Quote
  #28  
Old 10-03-2006, 08:09 AM
zeroality zeroality is offline
 
Join Date: Jul 2006
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to get this working as well. Anyone?
Reply With Quote
  #29  
Old 10-09-2006, 05:03 PM
zeroality zeroality is offline
 
Join Date: Jul 2006
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #30  
Old 10-25-2006, 09:54 PM
StepOnFrog StepOnFrog is offline
 
Join Date: Apr 2006
Location: The Pub
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got this working with 3.6.2 yet?

Thanks... :bandit:
Reply With Quote
  #31  
Old 11-02-2006, 03:17 PM
Noonster Noonster is offline
 
Join Date: Jun 2005
Location: East Yorkshire, UK
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone??
Reply With Quote
Reply

Thread Tools

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:19 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.06115 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete