Jump to content

a way to block .bmp images


ixfd64

Recommended Posts

Because each file has to be checked, enforcing the no-BMPs rule can be tough. I know that the older forums used to censor .bmp image files, but users might not know that their URL was censored. So here's an idea.

 

 

 

 

 

 

 

An admin could simply put this code somewhere on the forum:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I'm not sure this code is free of bugs or compatible with all browsers, though. It should work as long as there is a replacement image located at 'http://forum.tip.it/nobmps.gif'.

ixfd64.png

 

ARENAscape:

 

Baratus [AS] max hit: 166 with Moon Battle Hammer

ixfd64 [AS] max hit: 116 with (untitled spell #2)

Link to comment
Share on other sites

The phpBB censor basically does that for all posts and signatures

 

 

 

using *.bmp as the world and the replace can be anything you want :P

 

 

 

 

 

 

 

That doesn't interfere with normal linked pictures, just ones wrapped in the img tags :)

Link to comment
Share on other sites

It would have to be placed in the bbcode.tpl file for each template. Ive done similar code to resize jpegs if people make them too big to stop the boards tretching.

 

 

 

 

 

 

 

This is whats there atm

 

 

 

 

 

 

 

 

 

 

Not sure how you would go about this though :-/

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.