Author |
Topic |
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 November 2003 : 15:26:48
|
Signature Image Manager
I have some rules set up for my members asking them to please keep their signature images within reasonable dimensions. However, as you all know, people dont read the rules. This mod lets me see everyones signature image and gives me a link to edit their profile.
This mod was created to keep track of images in members signatures. When run it will display a list of all members who have an image in their signature. By clicking on the members name on the admin_SigImage.asp page you will be able to modify their signature to remove the image if needed.
Tested with Snitz 3.4.03 & SQL Server 2000
Ease of installation = 2
Add 1 file to the forums directory and modify the admin_home.asp page.
Download here: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=157
Rev 1.1 - You can now mass update selected members with the click of a mouse!
Cheers, CarKnee |
|
Edited by - CarKnee on 21 November 2003 10:36:48 |
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 20 November 2003 : 15:30:41
|
Thanks CarKnee! I will be testing this mod later.. looking good tho, I was looking for something like this to monitor signature images a few days ago. |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 November 2003 : 15:34:35
|
I hope it works out for you. |
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 20 November 2003 : 15:57:00
|
Excellent mod, needs a bit of html modifying for looks but it's only an admin page so not too fussed. Works perfectly, cheers!! Ease of installation = 2??? should be Ease of installation = -10
|
The UK MkIVs Forum |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 November 2003 : 15:59:14
|
I am not big into looks. I put the code together in 15 minutes... the HTML and looks took me 30! ha.
I figured there are some people that would consider editing the admin_home.asp file a little hard.
Thanks. |
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 20 November 2003 : 16:04:35
|
I've dropped the Image Address column and added it as a tooltip on the image, looks a bit neater like that. |
The UK MkIVs Forum |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 November 2003 : 16:14:41
|
Good idea... For me it works better like the way I did, that is why I did it that way. I allow people to upload images to my server, so I want to see (quickly) where the image is located. If it is on my machine I will just resize it for them... |
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 20 November 2003 : 16:23:07
|
We had the snitz gallery up until last week and it got seriously abused, hows 100Gb bandwidth per month sound!! Neddless to say, the mod got removed almost immediately.
What would be cool is if you add a column to show the width and height of the image, you can use the javascript onload event to read the images but it's a bit cumbersome, usually the image need to be cached locally before they can be read properly. Look for the Image Resizer mod for the code to do this |
The UK MkIVs Forum |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 November 2003 : 16:30:52
|
I was going to include image dimensions using aspImage for all image stored on my server, but not everyone has that COM installed, nor images hosted locally to the server.
JavaScript isn't my cup of tea, but I will take a look.
|
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 20 November 2003 : 16:44:53
|
Mmmmm ideas?!?! To be honest I don't think the javascript is worth doing for an admin mod. What would be good is to have a checkbox nect to each column along with a textbox at the top of the page. Enter some text into the box, eg "Your picture has been remove please see........", select the pics to remove, click submit and all the selected sigs get replace with the text! Now that would be very useful
|
The UK MkIVs Forum |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 21 November 2003 : 10:35:57
|
quote: What would be good is to have a checkbox nect to each column along with a textbox at the top of the page. Enter some text into the box, eg "Your picture has been remove please see........", select the pics to remove, click submit and all the selected sigs get replace with the text! Now that would be very useful
I implemented that for rev 1.1, now available at SnitzBitz |
|
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 23 November 2003 : 04:21:43
|
CarKnee, great initiative!!! However, maybe it's just me but when I use this, and insert the [br][i]image removed[/i][br] into the signature, it displayed in posts just as : [br][i]image removed[/i][br]...so no conversion to HTML... If I edit the users profile then, and don't change anything but just 'submit', it is displayed correctly.
|
portfolio - linkshrinker - oxle - twitter |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 23 November 2003 : 13:14:18
|
to fix the formatting do the following
line 56 replace strMessage = Request.Form("message")
with strMessage = ChkString(Request.Form("message"),"SQLstring") |
The UK MkIVs Forum |
Edited by - DavidRhodes on 23 November 2003 13:23:58 |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 24 November 2003 : 09:01:37
|
I fixed it.
Thanks David. |
|
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 24 November 2003 : 09:04:15
|
I just tried uploading the new version of SniztBitz, but I am getting an error while trying to upload it.
I will try to post it later, hopefully they fix the bug. |
|
|
|
Topic |
|