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.


Wob



310 posts

Ultimate Geek

NBN Co

# 40505 30-Aug-2009 12:39
Send private message

I am having trouble setting up links in forum threads, and blog posts for that matter. When I highlight text and clink on the "link" icon, the link window comes up but it is blank and I cannot put any info into it.

I can paste in a URL as a link, but I can't edit it.

Is it just me (my browser), or are other members sufferring?




 

Now based in Perth WA.

Check out my blog
Any comments or posts are not necessarily the opinion of my employer - who are bloody marvelous by the way.


Create new topic
BDFL - Memuneh
64239 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 251726 30-Aug-2009 13:15
Send private message

It sounds like a browser or a network problem. Clear the browser cache and try again. Also make sure your browser is not filtering popup scripts - ad blockers are a pain when it comes to usability.







Wob



310 posts

Ultimate Geek

NBN Co

  # 251945 31-Aug-2009 12:43
Send private message

Working fine now. Thanks Mauricio Smile




 

Now based in Perth WA.

Check out my blog
Any comments or posts are not necessarily the opinion of my employer - who are bloody marvelous by the way.


 
 
 
 


8033 posts

Uber Geek

Trusted

  # 251949 31-Aug-2009 12:58
Send private message

If the forums parsed the post text with a regex and added the missing tags you wouldn't have to bother with "creating" links manually, it would be extremely useful for the quick reply feature which obviously lacks the full compose reply toolbar.

Here's a good example of a function that does it:

Classic ASP Regular Expression Auto Link Function
http://asp.web.id/classic-asp-regular-expression-autolink-function.html

BDFL - Memuneh
64239 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 251952 31-Aug-2009 13:02
Send private message

This only adds to complexity. What to do with old posts? Apply the regex? What about the ones with the proper tags? BBcode is better because we can just leave it as it is - easy to edit, update, etc.





Wob



310 posts

Ultimate Geek

NBN Co

  # 251953 31-Aug-2009 13:09
Send private message

Thanks for the tip Ragnor, but I would rather do it manually, as I can set the link to open in a new window (which is what I prefer).




 

Now based in Perth WA.

Check out my blog
Any comments or posts are not necessarily the opinion of my employer - who are bloody marvelous by the way.


8033 posts

Uber Geek

Trusted

  # 251955 31-Aug-2009 13:15
Send private message

Hmm...

1: That particular regex is designed to only match and replace url text that does not already start with an a tag I think, if not it can be changed to do that.

2: You would only run this function on submission of a new post or edit of a existing post on the server side. It's basically adding one function to your code and one or two lines to call it on new post or edit post, not very complex!

3: Old posts would remain unchanged, if you wanted you could also run a once off sql script that does a similar process to existing posts (wouldn't be that hard).  That could be run offline after hours whenever, you might not even bother for old posts.

Regular expression matching is very fast and powerful.


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.