The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I definitely have the patience to go through and find the things to change, that's not a problem at all. I just don't have the PHP/MySQL knowledge to do the part that would involve setting up a per-user configurable censor-list. In theory, it would be a setting with three options:
No Censor Censor Default Words Censor Custom Words (instead of OR in addition to default words) If somebody could come up with that much of it, I think I could (probably) do the rest (the tedious stuff) and hopefully lear something in the process. Any takers? |
#12
|
||||
|
||||
No Censor
Censor Default Words Censor Custom Words (instead of OR in addition to default words) this options would be very easy if you chose one part at the last option: instead or in additon. if you want to let users also choose that, you'll need 2 additional fields un the usertable, if you choose it for the user you need just a small edit in function.php, in member.php aother small edit, and adding 1 new field to the user-table. if you want to do so, i can code the changes for you |
#13
|
|||
|
|||
This would be quite interesting.
|
#14
|
|||
|
|||
Quote:
Then the hack can use the original vBulletin censor list as the "default" list. Once all of that is in there, it seems like it should just be a question of rearranging the censor code from before-insertion to on-the-fly. I was thinking a little bit more about any performance issues, and since it seems to me that only a small percentage of users would actually use the censor, and we only need to do on-the-fly censoring for those that have it active, there really should not be any sort of performance hit. It's just one more option that should really enhance things for those who do not want to see the vulgar side of things, and for fed-up moderators who just can't read every word of every post. |
#15
|
||||
|
||||
actually just two options for the int field (more likely it a binary then )
yes/no code to that question: additional use default censoringwords? if a user select no, and has no words in his censorword list, then it'll be like no censoring , if he has words in it, it'll be like just censoring his words. selecting yes with no words is default censoring and selecting yes with additional words is censoring default words and user words. ok, make new fields to usertable called censoroption i'd say tiny int and field censorwords varchar(250) or how much you want open functions.php find this code: PHP Code:
replace it with PHP Code:
|
#16
|
||||
|
||||
Has anyone gotten around to making this a formal hack yet?
|
#17
|
||||
|
||||
THere is one already, but it has screwed up my tables and colors on my site. I've been lookngi for another one but none have shown up.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|