Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Signature Image Manager
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

stwilson
Junior Member

USA
385 Posts

Posted - 11 January 2004 :  11:46:24  Show Profile  Visit stwilson's Homepage
CarKnee,

How hard would it be to mod this script to also check for any kind of url? I have a similar issue with members adding links in their signature. I want to pull any kind of .com, .net, .org extensions. Can you point me in the right direction on how to mod your script to pull members with those items in their signature?

I am assuming this is the area (line 135) in admin_sigimage.asp that pulls the image:

If InStr(rst("M_SIG"), "") > 0 Then
strLink = grabImage(rst("M_SIG"))
strLink = Replace(strLink, "", "")
strImage = "<img src=" & strLink & ">"

How would I mod this to also look for .com, for example? Any help you can provide is greatly appreciated.

Shannon

Shannon
RidingArizona.com
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 11 January 2004 :  14:38:30  Show Profile
But then it wouldn't be a sig manager

Instead of looking for the [img part you'd need to change that to .com and additional strings.
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 12 January 2004 :  09:09:44  Show Profile  Visit CarKnee's Homepage
I have been slacking with this MOD!
I will try to catch up on all the posts, requests, etc... today

Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 12 January 2004 :  12:07:39  Show Profile  Visit CarKnee's Homepage
I uploaded a new version of the MOD!
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=157

It can now handle multiple images in a signature, match the img=left and img=right tags, and I added in some of the formatting I left out.

Sorry for not keeping up with you guys!

CarKnee

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 12 January 2004 :  15:22:14  Show Profile
i get an error with the new version

Microsoft VBScript runtime (0x800A0005)
Invalid procedure call or argument: 'left'
/forum/admin_SigImage.asp, line 228

The UK MkIVs Forum
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 12 January 2004 :  15:42:24  Show Profile  Visit CarKnee's Homepage
Thats strange; I tested it pretty good.

That line was kind of pointless anyway, so I removed it. Try again?

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 12 January 2004 :  15:53:11  Show Profile
Yep, works now, the Image Address shows the full image tag rather than just the url though, I removed that column anyway

cheers

The UK MkIVs Forum
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 12 January 2004 :  17:56:55  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Yes, not quite sure of the logic behind that column , esp. with the text that big :)

Wee bug-ette:
line 180 has a td at the end of it not a /td
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 13 January 2004 :  08:50:36  Show Profile  Visit CarKnee's Homepage
Thanks Chuck. I fixed that td tag.

The reason I have the URL to the image is because I let people upload images to my site and I want to know if the image is being hosted by me or elsewhere.

CarKnee

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 February 2004 :  12:14:19  Show Profile
laser, did you get any further on the image size display column?

The UK MkIVs Forum
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 February 2004 :  14:48:56  Show Profile
Yes, I got it working about 98% of the time - sometimes it doesn't report the proper filesize. Animated GIFs are the worst, but some others are reported wrong as well.

Code at : http://www.v8central.com/snitz3403/admin_sigimage.txt for those interested in it

PS. It DOES take some time to process, so don't worry that it doesn't display immediately.
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 February 2004 :  15:19:36  Show Profile
Your right, it does take a while, 2 mins and still loading!
Next step, setup a couple of variables, maybe textboxes to enter max width and heights and delete using them instead of checkboxes, may give that a go myself

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 February 2004 :  15:22:43  Show Profile
laser, you have some functions declared twice in that script

The UK MkIVs Forum
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 February 2004 :  15:25:37  Show Profile
Yeah, it's still a WIP, I just created the txt file because you asked for it . It's nowhere near production quality yet but I should have mentioned that to begin with

PS. David, did you get that directory tree navigation working in the .Net gallery code ?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 February 2004 :  15:27:53  Show Profile
quote:
Originally posted by laser
PS. David, did you get that directory tree navigation working in the .Net gallery code ?



Never got around to it, I found a free one at www.ngallery.org but haven't implemented it yet

The UK MkIVs Forum
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07