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)
 Title Text Mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

mikey344
Starting Member

48 Posts

Posted - 26 February 2002 :  16:51:55  Show Profile
You should probably try stripping a lot more than just '<' and '>'. Try this site.



Edited by - mikey344 on 26 February 2002 16:52:44
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 27 February 2002 :  00:41:06  Show Profile  Visit dayve's Homepage
okay, I went ahead and took advantage of existing functions in Snitz. my title tag now looks like this:

title="<%=left(CleanCode(rs("T_MESSAGE")),200)%> ..."

I no longer need your strip html function and my alt/title tag will show the message but it will show it with forum coding instead which is something I think I prefer.

I also added this feature in active.asp since a lot of members spend more time there then they do in forum.asp

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !

Edited by - dayve on 27 February 2002 00:43:50
Go to Top of Page

aecio
Junior Member

Brazil
120 Posts

Posted - 04 March 2002 :  18:44:23  Show Profile  Visit aecio's Homepage
I got my script from 4 guys from Rolla. Anyways, I'll try your method, since snitz already has this feature.

Thanks!

Cheers!

Visit the Healthy Planet online support community:
http://www.xsaude.com.br/healthyplanet/
Go to Top of Page

Morten
Junior Member

Denmark
251 Posts

Posted - 05 March 2002 :  23:35:56  Show Profile
I had to replace the " sign with a ' - else it messed up with the table-buildup every time a topic had a " sign in the first 200 characters.

ex.

title="<%=stripHTML(left(rs("T_MESSAGE"),200))%>">
..changed to:
title='<%=stripHTML(left(rs("T_MESSAGE"),200))%>'>

Morten


Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07