vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   automatic acronyms (https://vborg.vbsupport.ru/showthread.php?t=59571)

MrNase 01-03-2004 03:20 PM

automatic acronyms
 
Hey :)

Some of you may heard about <acronym></acronym> :)

An example would be <acronym title="Cascading Style Sheet">CSS</acronym>.
With the user of this tag you'd be able to explain abbreviations to your users.

It'd be nice to have kind of database where you can add those things and every new post should get parsed and the abbreviations should be replaced with the (admin definded) acronym so that the users aren't left alone with abbreviations.

I'd be very nice if there'd be an option @ update counters so that you can easily search older post and replace the abbrevs with the right acronym :)

Tell me what you think about and how it can be done :)

Serge 01-03-2004 04:37 PM

It really won't be that hard maybe not use the acronym tag though and just have a replacement value for it and then have it replace it with a link to an FAQ quetions with that acronym?

The update counters should be a very heavy server intensive update to do btw.

Dan 01-03-2004 04:43 PM

this sounds like a pretty good idea.... but making replacements are rather annoying and such.

Like if someone rights out LOL it will change to *laughs* and stuff like that.

MrNase 01-03-2004 04:50 PM

i guess i didn't make i clear enough :rolleyes:

Well let me have another try :rolleyes:

LOL would be replaced by <acronym title="laughing out loud">LOL</acronym>...
That means that there is still the word LOL in the post but if you hover it you'll see it's description.

You can see a demo @ http://www.w3.org/
there just hover the link "html" or "TAG" in the left hand navigation.

Serge 01-04-2004 02:40 PM

No I think you both didn't get what I was saying. With replacements you should be able to say if someone type LOL you would replace that with <a href="#" title="laughing out loud">LOL</a> which would produce the same effect and even better you could make it go to another page or make a pop up that explained the acronym more thoughly.

Princeton 01-04-2004 03:08 PM

Quote:

Originally Posted by Serge
No I think you both didn't get what I was saying. With replacements you should be able to say if someone type LOL you would replace that with <a href="#" title="laughing out loud">LOL</a> which would produce the same effect and even better you could make it go to another page or make a pop up that explained the acronym more thoughly.

acronym and href are not the same thing ... what you speak of is something totally different from what was requested

MrNase 01-04-2004 03:25 PM

princeton, exactly :)

An acronym is there the show the long form of an abbreviation...

Serge 01-04-2004 04:38 PM

I guess I can try one more time. Here is a page that actually shows what you can do with the link tag but since I can't post HTML in here I had to make the page

http://www.surrix.net/patrick/titleexample.html

Check that out as I said this hack would be a waste of time for both the hacker and eventually the end user cause they are going to have to tag the thing themselves and that is a pain.

Quote:

Originally Posted by princeton
acronym and href are not the same thing ... what you speak of is something totally different from what was requested

It is not different i know the tags are differnt but we would make a replacement variable for his tag as well but that is a pain. Hackers are lazy people so if you can do it with the replacement variable system why go though the trouble of hacking it in?

EDIT: If you don't have html active I'm not sure if it would work or not but it should actually not positive.

Jadelit 01-05-2004 09:45 AM

HAHA...

That's funny.

Koutaru 01-05-2004 09:48 AM

I actually think Velocd made this kind of hack for vb2.. ask him to port it.


All times are GMT. The time now is 01:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01622 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete