Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




6357 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

# 42252 1-Oct-2009 15:06
Send private message

I'm noticing a lot of members don't hyperlink URLs posted when they make a new post, could we add an automatic function that would detect hyperlinks, and magically link them for us (and open in a new window)?

Create new topic
BDFL - Memuneh
64241 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 260180 1-Oct-2009 15:20
Send private message

There is this function already. It's called "Internet Explorer". If you are using IE then TinyMCE will automatically create the hyperlink. Other browsers don't offer this function - something to do with their rendering engines.





6675 posts

Uber Geek

Trusted
Lifetime subscriber

  # 260186 1-Oct-2009 15:32
Send private message

People still use IE?

*ducks*

But yeah, not having hyperlinks is particularly annoying on handhelds where it's a mission to copy and paste into the address bar.

 
 
 
 


Hawkes Bay
8477 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

# 260195 1-Oct-2009 15:42
Send private message

nate: I'm noticing a lot of members don't hyperlink URLs posted when they make a new post, could we add an automatic function that would detect hyperlinks, and magically link them for us (and open in a new window)?

tony: I'm noticing a lot of nates don't check stuff properly before they make a new post, could we add an automatic function that would detect nate, and magically ban him for us (and open him in a new community)?







Hawkes Bay
8477 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 260197 1-Oct-2009 15:45
Send private message

Back in the days of old, Mauricio and I used to run around Geekzone manually hyperlinking stuff left right and centre, with a ZX Spectrum as a terminal, and cardboard box for an office (oooh arrr - an it 'ad no lid an all, mind!!)

No TinyMCE in those days - it was all hard yakka my son. But you young 'tards have gone soft!







8033 posts

Uber Geek

Trusted

  # 260200 1-Oct-2009 15:52
Send private message

freitasm: There is this function already. It's called "Internet Explorer". If you are using IE then TinyMCE will automatically create the hyperlink. Other browsers don't offer this function - something to do with their rendering engines.



A neat and tidy way many forum implementations do auto linking is to parse the reply/post text when it is submitted.  A regular expression to look for http addresses without the html anchor tags surrounding them then append the correct tags then a simple string replace is pretty fast and effective. 

Normally you need to have code parse the forum post/reply anyway to handle bad words, spam detection etc so the overhead is negligable.

I think I posted about this before and linked a sample classic asp regex function for it.

Have you considered leveraging GetSatisfaction or UserVoice to idenify and solict feedback from the GeekZone user community.  They both have freemium style pricing models and can be incredibly valuable in helping you decided where to direct your effort.

http://getsatisfaction.com/
http://uservoice.com/


1724 posts

Uber Geek

Trusted

  # 260260 1-Oct-2009 17:41
Send private message

Linkification in firefox is also great.
https://addons.mozilla.org/en-US/firefox/addon/190





CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440

 

 




6357 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 260278 1-Oct-2009 18:10
Send private message

Ragnor: A neat and tidy way many forum implementations do auto linking is to parse the reply/post text when it is submitted.  A regular expression to look for http addresses without the html anchor tags surrounding them then append the correct tags then a simple string replace is pretty fast and effective. 


This is what I was getting at

@tonyhughes, next time I'm in your area, remind me to bring a ladder so I can climb it and smack you on the back of the head.

 
 
 
 


Hawkes Bay
8477 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

# 260290 1-Oct-2009 18:46
Send private message

nate: @tonyhughes, next time I'm in your area, remind me to bring a ladder so I can climb it and smack you on the back of the head.

NO NEED my friend! I have a ladder here already!









Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel expands 10th Gen Intel Core Mobile processor family
Posted 23-Aug-2019 10:22


Digital innovation drives new investment provider
Posted 23-Aug-2019 08:29


Catalyst Cloud becomes a Kubernetes Certified Service Provider (KCSP)
Posted 23-Aug-2019 08:21


New AI legaltech product launched in New Zealand
Posted 21-Aug-2019 17:01


Yubico launches first Lightning-compatible security key, the YubiKey 5Ci
Posted 21-Aug-2019 16:46


Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.