Linked function names

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Linked function names

Post by josh »

I propose that we add the functionality that d11wtq wrote in his GM script to the bbcode parser, so that all function names on the forum are linked to the documentation so that:

a) I don't have to click "RTM-ize" every post (or modify his script to do it automatically for that matter)
b) People that don't use firefox / have GM can link their function names
c) People that don't even care about linking their function names get them linked anyways for the greater good of getting newbies to read the documentation.



Also note: Reason a isn't a serious reason :P .. just me being lazy
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Huh? You mean beyond the php tags, like it currently is? I would definitely not like that.. if I'm in php tags, then link, like it is now, but dont link-by-default all text.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

Yes, like for instance if you're replying to a thread that is asking how to get a timestamp you can tell them where to find their answer:

time()

Can you elaborate beyond "I would not like that"? Anyways just a suggestion, take it for what it's worth
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

jshpro2 wrote:Can you elaborate beyond "I would not like that"? Anyways just a suggestion, take it for what it's worth
There is a context where I would want linking - inside php tags, as it is now.

If I'm not in php tags, I wouldn't want autolinking. Why? Because I'm not (neccesarily) talking about a specific php function. If I'm in php tags, I definitely am.

I understand the desire, but I suspect the number of times it would be beneficial is less than the number of times it would produce unwanted linking. Since the user doesn't have the ability to avoid that linking (as you would, by not using php tags), it seems unreasonable to force it onto every normal post.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

at best, we'd integrate it as a button. I would never force such a behaviour.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

We could have it as a button yes, that when clicked inserts some new BBCode tags for [func] or such like. Would that be a good compromise? :)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

d11wtq wrote:We could have it as a button yes, that when clicked inserts some new BBCode tags for [func] or such like. Would that be a good compromise? :)
Yes, althought it wouldn't change anything for me it would be really useful to the others that don't have / know about your GM script.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

d11wtq wrote:We could have it as a button yes, that when clicked inserts some new BBCode tags for [func] or such like. Would that be a good compromise? :)
Definitely!
Post Reply