| Author |  Topic  | 
              
                | DarlingBriJunior Member
 
   
 
                United Kingdom378 Posts
 | 
                    
                      |  Posted - 20 February 2002 :  10:12:49     
 |  
                      | 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
 |  
                      |  |  | 
              
                | FlamingoWorldStarting Member
 
 
 
                10 Posts | 
                    
                      |  Posted - 20 February 2002 :  13:58:30   
 |  
                      | 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
 
 
 |  
                      |  |  | 
              
                | DarlingBriJunior Member
 
   
 
                United Kingdom378 Posts
 | 
                    
                      |  Posted - 20 February 2002 :  15:15:36     
 |  
                      | 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
 |  
                      |  |  | 
              
                | GauravBhabuAdvanced Member
 
      
 
                4288 Posts | 
                    
                      |  Posted - 22 February 2002 :  03:47:45   
 |  
                      | 
 <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.
 |  
                      |  |  | 
              
                | RaichelleJunior Member
 
   
 
                370 Posts | 
                    
                      |  Posted - 23 February 2002 :  14:55:10   
 |  
                      | gaurav where do I put that code for it to work? the code you just posted
 
 
 |  
                      |  |  | 
              
                | dayveForum Moderator
 
      
 
                USA5820 Posts
 | 
                    
                      |  Posted - 23 February 2002 :  15:50:14     
 |  
                      | 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 !
 |  
                      |  |  | 
              
                | aecioJunior Member
 
   
 
                Brazil120 Posts
 | 
                    
                      |  Posted - 24 February 2002 :  15:10:57     
 |  
                      | 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
 |  
                      |  |  | 
              
                | dayveForum Moderator
 
      
 
                USA5820 Posts
 |  | 
              
                | aecioJunior Member
 
   
 
                Brazil120 Posts
 | 
                    
                      |  Posted - 24 February 2002 :  23:08:45     
 |  
                      | 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/
 |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 24 February 2002 :  23:29:19     
 |  
                      | Looking good, nice work Aecio. 
 www.daoc-halo.com
 |  
                      |  |  | 
              
                | aecioJunior Member
 
   
 
                Brazil120 Posts
 |  | 
              
                | dayveForum Moderator
 
      
 
                USA5820 Posts
 | 
                    
                      |  Posted - 25 February 2002 :  02:00:04     
 |  
                      | 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 !
 |  
                      |  |  | 
              
                | aecioJunior Member
 
   
 
                Brazil120 Posts
 | 
                    
                      |  Posted - 25 February 2002 :  06:49:51     
 |  
                      | 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/
 |  
                      |  |  | 
              
                | dayveForum Moderator
 
      
 
                USA5820 Posts
 |  | 
              
                | dayveForum Moderator
 
      
 
                USA5820 Posts
 |  | 
              
                
                |  Topic  |  |