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.




6364 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
65275 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.





6868 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!







8035 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/


1788 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

 

 




6364 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 »

Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32


Vodafone 5G service live in four cities
Posted 10-Dec-2019 08:30


Samsung Galaxy Fold now available in New Zealand
Posted 6-Dec-2019 00:01


NZ company oDocs awarded US$ 100,000 Dubai World Expo grant
Posted 5-Dec-2019 16:00


New Zealand Rugby Selects AWS-Powered Analytics for Deeper Game Insights
Posted 5-Dec-2019 11:33



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.