Daniel0 Posted September 20, 2006 Share Posted September 20, 2006 It would be nice if you could modify the post parser to auto generate links to PHP manual, when there is a name of a PHP function in a post. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/ Share on other sites More sharing options...
wildteen88 Posted September 20, 2006 Share Posted September 20, 2006 When we had IPB our admin (phpfreak) did have such a feature implented, as it did link to the PHP manual hosted on our main site. Not sure whether this will be added back though. I used to use the feature a lot when I first signed up here.At the moment I have a PHP search engine plugin installed in FF. It allows me to type in a function name into the search box and it takes me to php.net displaying the page for that function.You can get it [url=http://mycroft.mozdev.org/download.html?name=php+fun&sherlock=yes&opensearch=&submitform=Search]here[/url]. Download the one you want in your native lanaguage. Only for Firefox though. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95431 Share on other sites More sharing options...
ober Posted September 20, 2006 Share Posted September 20, 2006 I hadn't really thought about adding that back in. It is possible though and we will look into it. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95464 Share on other sites More sharing options...
Daniel0 Posted September 20, 2006 Author Share Posted September 20, 2006 It's more like for people who are new to PHP. So eg if I am talking about the explode function, I could type:[code]You could use the [url=http://php.net/explode]explode[/url] function[/code] to show the user that they can read more about that function in it's manual entry. By having the post parser to do it automaticly that would save time when posting a post. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95476 Share on other sites More sharing options...
ober Posted September 20, 2006 Share Posted September 20, 2006 uhh... yeah, we know WHY it's helpful. And we know how to do it. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95508 Share on other sites More sharing options...
Daniel0 Posted September 20, 2006 Author Share Posted September 20, 2006 It was more like meant for wildteen since he told about the FF plugin ;) Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95512 Share on other sites More sharing options...
.josh Posted September 20, 2006 Share Posted September 20, 2006 wildteen- i guess that reduces SOME typing, but since all you have to do is type php.net/functionname and it does the same thing... seems like just another thing superfluously taking up my memory. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95573 Share on other sites More sharing options...
AndyB Posted September 20, 2006 Share Posted September 20, 2006 I'm sure I've been on boards where something like an [rtfm] tag was enabled. This made it much easier for those responses where all you want to do is direct someone to the manual without having to go there yourself and copy/paste the URL.Example:If you look at [rtfm]mail[/rtfm] in the manual, you'll find that and mail would be hyperlinked to the correct function page of php.netI wonder if http://www.php.net/sidebars.php is useful? Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95577 Share on other sites More sharing options...
Barand Posted September 20, 2006 Share Posted September 20, 2006 phpbuilder forum has [nobbc][man]mail[/man][/nobbc] tags Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95582 Share on other sites More sharing options...
Daniel0 Posted September 20, 2006 Author Share Posted September 20, 2006 Yeah. A tag like that would be nice - perhaps better than just parsing it "globally". I do not think the tag name should be rtfm however. I do not like when people are told to "read the [obscenity removed] manual". man would be more appropriate. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95592 Share on other sites More sharing options...
wildteen88 Posted September 20, 2006 Share Posted September 20, 2006 [quote author=Crayon Violent link=topic=108806.msg438210#msg438210 date=1158775433]wildteen- i guess that reduces SOME typing, but since all you have to do is type php.net/functionname and it does the same thing... seems like just another thing superfluously taking up my memory. [/quote]I'm just so used to choosing the site I want to search using the FF search engine thingys in the top right. Quote Link to comment https://forums.phpfreaks.com/topic/21426-auto-generate-links-on-php-function-names/#findComment-95596 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.