View Full Version : Remove single users signature allowance
c-pr0mpt
10 Jun 2001, 02:17
Hi
I would like to be able to remove someones ability to post an image in their sig, or their sig area all together. I have rules on size limits, content, and so on. If they dont follow the rules I want to remove their ability to even have one, without affecting the members who are not breaking the rules.
Does this hack exist? If so where can I get it? If not, anyone willing to work on one? :)
Thanks in advance for any answers.
c-pr0mpt
10 Jun 2001, 18:46
I take it this hack doesnt exist. lol
chrispadfield
10 Jun 2001, 23:02
it dosen't but is a good idea. Personally i think signature rules need to be looked at. Possible iteams of relevenace include:
1. Signature size global limit (there is a hack for this)
2. Signauture override based on usergroup
3. Signature override based on individual userid
and the same for images in signatures.
c-pr0mpt
11 Jun 2001, 00:58
Where can I get the global limit hack? Does that mean size in mass, or dimension?
And the other stuff you listed, are you saying this is stuff i could do? Or just ways the hack could be made?
Ratorasniki
11 Jun 2001, 01:00
i've done the following for my board:
-maximum image filesize in sig (single image and combined)
-maximum image resolution (width by height)
-per user hardcoded (ie. no cp stuff) sig disabler
its not foolproof (i can think of about 3 ways to get past either the resolution or filesize thangs, since its only checked on user profile edit) but it works for me for the mostpart. i'm working on removing width and height tags from images as well - i've got some idiots on my board taking small images like smilies and making them enormous in size since they cant just use huge images with varying degrees of luck.
i didnt think anyone else'd use this stuff so i just did it really quick and its reaaaaaaally ugly but if anyone is interested i can clean it up and post it.
c-pr0mpt
11 Jun 2001, 01:04
I would love if you could do that bro. :) Ugly is better than non existent. lol
Ratorasniki
11 Jun 2001, 01:18
you havent seen my ugly. ;)
i've been known to compress an entire class to a single line :D
anyway i'll get on that.
Ratorasniki
11 Jun 2001, 01:35
in member.php:
find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and insert after:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and insert after:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and if you're feeling adventurous you can try adding
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
after the above.
then find (should be right at the bottom):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and under it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
change the vars at the top of the CheckSigImageSizes function to define your max sizes and that takes care of the image res and filesize stuff.
as for single user sig disabling open showthread.php and find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and change it to :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
as necessary.
attached txt incase this gets formatted weird :P
c-pr0mpt
11 Jun 2001, 01:43
Thank you VERY much. I will get on this right away and let you know how it worked. =)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.