Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Jun 2001, 02:17
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Remove single users signature allowance

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.
Reply With Quote
  #2  
Old 10 Jun 2001, 18:46
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
I take it this hack doesnt exist. lol
Reply With Quote
  #3  
Old 10 Jun 2001, 23:02
chrispadfield's Avatar
chrispadfield chrispadfield is offline
 
Join Date: Oct 2001
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.
__________________
Christopher Padfield
[email protected]

http://www.deskpro.com - Manage your customer support
Now Avaliable
Reply With Quote
  #4  
Old 11 Jun 2001, 00:58
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
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?
Reply With Quote
  #5  
Old 11 Jun 2001, 01:00
Ratorasniki
Guest
 
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.
Reply With Quote
  #6  
Old 11 Jun 2001, 01:04
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
I would love if you could do that bro. Ugly is better than non existent. lol
Reply With Quote
  #7  
Old 11 Jun 2001, 01:18
Ratorasniki
Guest
 
you havent seen my ugly.

i've been known to compress an entire class to a single line

anyway i'll get on that.
Reply With Quote
  #8  
Old 11 Jun 2001, 01:35
Ratorasniki
Guest
 
Talking

in member.php:

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and insert after:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and insert after:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and if you're feeling adventurous you can try adding

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after the above.

then find (should be right at the bottom):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and under it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change it to :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

as necessary.

attached txt incase this gets formatted weird :P
Attached Files
File Type: txt sigtools.txt (7.8 KB, 24 views)
Reply With Quote
  #9  
Old 11 Jun 2001, 01:43
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Thank you VERY much. I will get on this right away and let you know how it worked. =)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:21.

Layout Options | Width: Wide Color: