DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Simple automatic hyperlinks in your posts  (Read 7,230 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Simple automatic hyperlinks in your posts
« on: August 23, 2007, 07:52 PM »
When you want to hyperlink a word or phrase in your post you normally select the text and hit the URL button (looks like globe) which surrounds your text with [url]TEXT[/url] tags.

If your text is a url like www.cnn.com then you are done.

If not you normally need to edit the tags to say for example:
click [url=http://www.cnn.com]here[/url] to visit cnn.



I've just made a small change so that if you dont put the = part it will link to a search for the item.



This is especially useful if you want to tell someone about some piece of software but you are too lazy to provide a link to it.  For example:

  • "Check out [url]ccleaner[/url]" will result in:  Check out ccleaner.

It's also useful if you want to tell someone to search for something, e.g.:

  • "Search for [url]accelerated c++[/url]" results in: Search for accelerated c++.



I hope this will encourage people to put links to items when they post lists of programs they use etc.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Simple automatic hyperlinks in your posts
« Reply #1 on: August 24, 2007, 07:24 AM »
good idea, mouser! 8)

Perry Mowbray

  • N.A.N.Y. Organizer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,817
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: Simple automatic hyperlinks in your posts
« Reply #2 on: August 24, 2007, 08:01 AM »
That is a good idea!

What about doing a site specific search? For example: CCleaner which should display all CCleaner references on DonationCoder?

Then again, I suppose you could do that through the Forum Search anyway???

Original address: https://www.donationcoder.com/forum/index.php?topic=9689.0