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/O Code)
 URL Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

asweeney
Starting Member

5 Posts

Posted - 13 October 2002 :  14:16:21  Show Profile  Visit asweeney's Homepage
Our Forum posts alot of links to sig2dat files which are used in P2P programs, could some one come up with a mod to replace sig2dat:/// or sig2dat:// just like the http:// works. Thanks!

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 13 October 2002 :  23:09:23  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Not really a mod, since you're dealing with something specific to your forum. However, the file you would want to alter would be inc_func_common.asp. On quick glance, here is what you'll need to change:


  • In chkURLs, add another line on the elseif with the sig2dat code

  • In formatstr, repeat the call to ChkURLs with the HTTP parameter and add the sig2dat line

  • In replaceURLs, you'll need to make some changes to handle it accordingly(not sure with this one. Might be easier to just duplicate the replaceURLs code and add the appropriate tags...)

  • In editHREFs, you'll need to repeat the line after the iType == 1 check and change that code accordingly. It probably would be best to add another itype check, but that will require going back and making sure any edit_href calls are correct.



That was a quick check. I am sure I missed some other stuff that needs fixed, but it should give you a start. Feel free to post back here with any more questions...

Dave Maxwell
Barbershop Harmony Freak

Edited by - davemaxwell on 13 October 2002 23:10:25
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07