The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

disable img code in chatbox

2 posters

Go down

disable img code in chatbox Empty disable img code in chatbox

Post by bradhawk July 26th 2009, 3:46 pm

help . . . my member in my forum abuse img code, can i disable img code for chatbox only ?
please help . . .

thanks before ^^, sorry for my bad english . . .
avatar
bradhawk
New Member

Posts : 1
Reputation : 0
Language : Indonesia

Back to top Go down

disable img code in chatbox Empty Re: disable img code in chatbox

Post by NaXuh July 26th 2009, 3:58 pm

If he abuses the chatbox, you could ban him from the chatbox.

Anyway, You can't disable the IMG code from the Chatbox, or the Forum.

Sorry.
NaXuh
NaXuh
Forumember

Male Posts : 226
Reputation : 21
Language : English, C#, CSS, HTML, PHP.

Back to top Go down

disable img code in chatbox Empty Re: disable img code in chatbox

Post by Guest July 26th 2009, 8:18 pm

Without access to the chatbox code, there's no way to stop members from using the IMG BBCode tag. That means you need to stop ALL images, not just those sent with the IMG tag. This CSS rule will stop members from inputting images in the chatbox:

Code:
#chatbox span.msg img {display: none ! important;}
This will stop ALL member-inputted images in the chatbox.

Stopping the display of all images may not be a good thing. Since smilies are also images, the smilies will disappear as well.
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum