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 | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 20 February 2002 :  10:12:49  Show Profile  Visit DarlingBri's Homepage
had a thought... i don't know if it's already doing this, but ideally it should strip forum code as well :)

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury
Go to Top of Page

FlamingoWorld
Starting Member

10 Posts

Posted - 20 February 2002 :  13:58:30  Show Profile
New to ASP and this forum, can someone clarify a few things? Not sure what is meant by these statements:

"Filter HTML tags out of the alt text."

"strip forum code"

***************

Also, in the description of this post it states "three simple changes to the code of topic.asp " yet the changes mentioned are to "forum.asp"

I tried doing this on my pages and while I did get the title text, it also made my title and the description both appear on the forum page as clickable links side by side.
Which part of the changes or what property is changed to add just the title text?

Thanks!

Connie

Go to Top of Page

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 20 February 2002 :  15:15:36  Show Profile  Visit DarlingBri's Homepage
Flamingo...

OK, so you've got your mouse over the link to a topic, and the alt tag for the link is going to show you what the first 100 characters on the post are.

But, what we're saying is:

If in your first line, you've used either forum code (with the [ ] brickets, or HTML with the < > tags, we do not want to see that in the alt tags.

If I've begun my post

Hi, everyone... just to let you know...

I don't want to see <b>Hi, everyone...</b> just to let you know... when I hover. Show me the text, not the code -- filter it.

Logically, the changes would be to forum.asp, since that is where the hyperlinks you're affecting are. I think the topics.asp was a brain fade possibly :)

GauravBhabu, that is wicked cool that you did it for the TD cells! How did you code that?! How cross-browser is that? I would really like to provide several lines of preview before someone actually clicks the link to a topic on my 3.3.3 boards

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 22 February 2002 :  03:47:45  Show Profile


<tr title="This text will display when hovering over the Row">
<td title="This text will display when hovering over the cell">
<a href="somelink.ext" title="This text will display when hovering over the Link">Link</a>
</td>
</tr>


www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 23 February 2002 :  14:55:10  Show Profile
gaurav where do I put that code for it to work?
the code you just posted

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 February 2002 :  15:50:14  Show Profile  Visit dayve's Homepage
quote:

gaurav where do I put that code for it to work?
the code you just posted





that was just a snippet for tutorial purposes, not the mod.

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

aecio
Junior Member

Brazil
120 Posts

Posted - 24 February 2002 :  15:10:57  Show Profile  Visit aecio's Homepage
You all had great suggestions and YES, I had a brain fart and said topic.asp, when it's actually forum.asp. Must be old age coming with a revenge!!!

I put it all together in a single txt file and it is available here:

http://www.vlsweb.com.br/aspscripts/scripts/Title_text_mod.txt

There was no need for a complete MOD since there are no database changes, only a few cosmetic changes.

If you want the forum.asp already modified for version 4.03 (internationalized version 3.03), you can get it here:

http://www.vlsweb.com.br/aspscripts/scripts/forum.asp.txt

just remember to rename it to forum.asp, taking out the .txt. I don't have version 3 installed here, so I didn't modify it. If anyone wants to take a crack at that...

This version 1.0 already includes the stripHTML function and I have tested it in Netscape 6.2. Although it does not come out like in IE, it still kind of works.

A demo is available at: http://www.vlsweb.com.br/forum/

Hope you all enjoy it!

Cheers!

Visit the Healthy Planet online support community:
http://www.xsaude.com.br/healthyplanet/

Edited by - aecio on 24 February 2002 15:40:12
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 February 2002 :  15:46:34  Show Profile  Visit dayve's Homepage
where is the demo portion?

____________
dayve@burningsouls.com


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

Edited by - dayve on 24 February 2002 15:47:09
Go to Top of Page

aecio
Junior Member

Brazil
120 Posts

Posted - 24 February 2002 :  23:08:45  Show Profile  Visit aecio's Homepage
The demo is at the forum, as I mentioned in my previous message. Just go there, click on the Suporte-Geral forum (open, no registration required) and put the mouse over any topic. You will get the Title Text.

Cheers!

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

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 24 February 2002 :  23:29:19  Show Profile  Visit Gremlin's Homepage
Looking good, nice work Aecio.

www.daoc-halo.com
Go to Top of Page

aecio
Junior Member

Brazil
120 Posts

Posted - 24 February 2002 :  23:31:08  Show Profile  Visit aecio's Homepage
Thanks!!!! It's so nice to be part of this community!

Cheers!

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

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 February 2002 :  02:00:04  Show Profile  Visit dayve's Homepage
problem

if there are images or in my case, flash in the topics it causes a huge gap inbetween the topics.



maybe work on the strip html section a bit more for items like this...

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

aecio
Junior Member

Brazil
120 Posts

Posted - 25 February 2002 :  06:49:51  Show Profile  Visit aecio's Homepage
Maybe the RegEx (Regular Expressions) object does not exist on your server? The stripHTML function works with regular expressions and if you don't have that on the server (Win 2000 / IIS 5 comes with it default), then you would not be able to strip the HTML tags.

But I'll look into that today (my forum does not allow pictures).

Thanks for the heads up.

Cheers!

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

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 February 2002 :  11:35:20  Show Profile  Visit dayve's Homepage
I am running Windows 2000 SP2 with all patches and IIS5.

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 February 2002 :  16:38:48  Show Profile  Visit dayve's Homepage
any further research into this by chance?

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page
Page: of 3 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07