vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Allow users to self-censor thread titles and post content (https://vborg.vbsupport.ru/showthread.php?t=105209)

Xplorer4x4 03-06-2006 09:04 AM

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. ;)

ronoxQ 03-06-2006 02:27 PM

Would you be able to set a 'default' list of censored words? That way, they don't need to make the whole list themselves?

moonclamp 04-25-2006 01:38 AM

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"

Neo_obs 06-18-2006 07:13 AM

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

Chazz Layne 07-30-2006 10:28 PM

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.

TwinsForMe 09-10-2006 11:39 PM

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?

zeroality 10-03-2006 08:09 AM

I would like to get this working as well. Anyone?

zeroality 10-09-2006 05:03 PM

bump

StepOnFrog 10-25-2006 09:54 PM

Has anyone got this working with 3.6.2 yet?

Thanks... :bandit:

Noonster 11-02-2006 03:17 PM

Anyone??


All times are GMT. The time now is 04:15 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.01091 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete