[Solved] disabling the [ you ] command

Support for IntegraMOD 140

Moderator: Integra Moderator

[Solved] disabling the [ you ] command

PostAuthor: fua » Thu May 03, 2007 9:19 am

Your phpBB Version: 2.0.19
phpBB Type: Integramod 140
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hello again.

Is there a way to disable the "you" command (which results in this --> [you]) only in the shoutbox? I'm having a few problems controling small kids from miss-using it with bad intentions.

Thanks.
Last edited by fua on Fri May 04, 2007 11:04 am, edited 1 time in total.
[font=Traditional Arabic][size=99px]
[img=left]http://static.flickr.com/71/174693706_e7fb45ea37_o.png[/img]
Its when life smiles at you that you can see how many teeth are missing.
User avatar
fua
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 24, 2007 6:09 am
Cash on hand: 0.00

Re: disabling the [ you ] command from the shoutbox

PostAuthor: Whisky » Thu May 03, 2007 9:36 am

Not sure this will work because I've only tried with a IM 1.4.1 board and the Advanced BBcode box as been added to package...

To remove the button only:

OPEN templates/yourtheme/posting_body.tpl

DELETE LINE]
Code: Select all
<td><img></td>


[u]To disable completely the [b]you
bbcode function]

OPEN includes/bbcode.php

FIND]
Code: Select all
$bbcode_tpl['you'] = str_replace('{YOU}', '"' . $userdata['username'] . '"', $bbcode_tpl['you']);

[b][color=green]
REPLACE WITH]

Code: Select all
$bbcode_tpl['you'] = str_replace('{YOU}', '', $bbcode_tpl['you']);


this will just display nothing if [ you] is inserted
Last edited by Whisky on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 1:28 am
Cash on hand: 0.00
Location: Brussels

Re: disabling the [ you ] command from the shoutbox

PostAuthor: Helter » Thu May 03, 2007 6:14 pm

you can also go to acp/General Admin/Configuration
and add

you,

to "Disallowed other BBCodes"
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: disabling the [ you ] command from the shoutbox

PostAuthor: fua » Fri May 04, 2007 11:03 am

Firstly I tryed what Helterskelter pointed, but it didn't work, with or without the brackets.

Secondly, since I still have 1.4.0 and I have no idea what button was Whisky referring to, I used the second option that he pointed out, and it seems to work fine. :)
Last edited by fua on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[font=Traditional Arabic][size=99px]
[img=left]http://static.flickr.com/71/174693706_e7fb45ea37_o.png[/img]
Its when life smiles at you that you can see how many teeth are missing.
User avatar
fua
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 24, 2007 6:09 am
Cash on hand: 0.00

Re: disabling the [ you ] command from the shoutbox

PostAuthor: gcomfx.com » Fri Nov 02, 2007 8:17 am

"HelterSkelter";p="24781" wrote:you can also go to acp/General Admin/Configuration
and add

you,

to "Disallowed other BBCodes"


Mine didn't work either. I did it manually as Whisky posted. Worked just fine in 1.4.1. I wish it was as easy as the configuration page. <img>
Last edited by gcomfx.com on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Paul (gcomfx) - 100mphclub.com originator
[size=99px]
User avatar
gcomfx.com
Sr Integra Member
Sr Integra Member
 
Posts: 251
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 8:34 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Google [Bot]

cron