Register Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Mod Options
(Useless) Acronym vBcode Details »
(Useless) Acronym vBcode
Mod Version: 1.00, by Velocd (Member) Velocd is offline
Developer Last Online: Nov 2005 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 5
Released: 25 May 2003 Last Update: Never Downloads: 2
Not Supported  

While browsing the web I came across a website that used <acronym> HTML4 tag, and finding the concept interesting, I decided to try out a vBcode tag for it.

I soon ran into an error with the <acronym> tag that was buggin' the hell out of me, so I switched over to the <span> tag.

Anyway, 98% of the people here might find this utterly useless, but what this does is allows somebody to type:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And outputted will be:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is different from the HTML acronym tag for it automatically does the ‘acronymization’ of the compounded term for you.

Upon hovering the word with your mouse, which will not be solid underlined but "dotted" underlined, the acronym full term will show up in one of those "alt" boxes.

The main convenience of the HTML and this acronym tag is that sometimes not everyone knows what an acronym means, if the acronym isn't well-known, so this will aid in clarifying things.

----------------

If you feel inspired by this hack, feel free to click the install-button (inspired meaning, even if you didn't install it on your forum j/k)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New vbcode.js - vBcode and smilie user interface improvement s.molinari vBulletin 2.x Full Releases 206 01 Feb 2004 20:44

Comments
  #2  
Old 25 May 2003, 04:33
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Here is an example, just for those deprived of imagination.
Attached Images
File Type: gif gasp.gif (3.6 KB, 213 views)
  #3  
Old 25 May 2003, 05:55
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
I saw this at vBT but with no hacking.. o_O
  #4  
Old 25 May 2003, 05:56
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
Originally posted at vBTemplates
vB Code tag: Acronym
vB Code replacement: <span style="border-bottom: 1px dashed {option}; cursor: help;">{param}</span>
vB Code example: [Acronym=#006699]This BB code changes the cursor and title.[/Acronym]
vB Code explanation: Acronym - descibibing with question cursor help. Developded by Marco from WebMaxtor.com
Use {option}: Yes
=P
  #5  
Old 25 May 2003, 06:02
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
If you took a second to look inside the magical file titled "install_acronym.txt" you would find out how this differs from the general <acronym> tag, as I stated in the first post. =P *infinite +1

You can't do this style of hack with no php coding.
  #6  
Old 25 May 2003, 06:03
Robink Robink is offline
 
Join Date: Feb 2003
Cool, but useless...
  #7  
Old 25 May 2003, 06:05
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Hence the title.
  #8  
Old 25 May 2003, 06:11
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Found a problem with it. If you use the word OFF in an acronym, it picks up the last F because one of the omitted words is OF. Try doing:

Laughing My Ass Off

with your code and you will see what I mean.
  #9  
Old 25 May 2003, 06:30
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Ah... looks like I underestimated the functionality of that darn str_replace().

I'm a bit tired as of now though, and about to doze off, but if anyone would care to find out how to make it so str_replace() matches "whole words" only, that would be cool.
  #10  
Old 25 May 2003, 06:34
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Do a preg_replace instead.
  #11  
Old 25 May 2003, 08:47
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Austin Dea - nice to see my code spreading around.
Velocd - have you updated install_acronym.txt? Is it ok now with the "f" letter?
  #12  
Old 25 May 2003, 21:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Velocd, did you find a fix for this yet?
  #13  
Old 25 May 2003, 23:00
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
I've been gone all day, sorry about the wait. I found the preg_replace() expression to do the job, and have updated the text file. Clear your cache if you are re-downloading.
  #14  
Old 26 May 2003, 01:05
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Interesting hack.
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:19.

Layout Options | Width: Wide Color: