Links

Questions and discussion regarding the IT behind caves.org

Moderators: vtdarrell, Moderators

Links

Postby GroundquestMSA » Mar 22, 2013 3:25 pm

How do I make those spiffy links that say: Go Here To See Alfred, instead of pasting the url and making a link that says: http://orangeorangesupport.groundgirty. ... 207.Alfred ?
User avatar
GroundquestMSA
NSS Hall Of Fame Poster
 
Posts: 1384
Joined: May 5, 2011 1:32 pm
  

Re: Links

Postby David Grimes » Mar 22, 2013 5:48 pm

It is basically the same with a slight detail difference. Here is how its done.

Cavechat

Code: Select all
[url=http://forums.caves.org]Cavechat[/url]
User avatar
David Grimes
Admin
 
Posts: 1297
Joined: Jun 19, 2007 6:14 pm
Location: Port Richey, Fl / Harrison County, In
NSS #: 59533
Primary Grotto Affiliation: Indiana Underground Society
  

Re: Links

Postby GroundquestMSA » Mar 22, 2013 6:49 pm

Alrighty, let me try that.

Links
User avatar
GroundquestMSA
NSS Hall Of Fame Poster
 
Posts: 1384
Joined: May 5, 2011 1:32 pm
  

Re: Links

Postby GroundquestMSA » Mar 22, 2013 6:52 pm

It worked.

Thanks David.
User avatar
GroundquestMSA
NSS Hall Of Fame Poster
 
Posts: 1384
Joined: May 5, 2011 1:32 pm
  

Re: Links

Postby driggs » Mar 23, 2013 7:02 pm

In general, if you click POST REPLY (or if you click Quick Reply and then change your mind by clicking Full Editor) you can always get to the "help screen" for composing by clicking the BBCode link on the far right, under the smilies.

If you're familiar with HTML, BBCode will be similar, but the actual tags and markup are slightly different. You can usually get away with highlighting a few words and then clicking the formatting buttons, but in the case of the URL button, it seems to leave out the most important part of the markup!
User avatar
driggs
NSS Hall Of Fame Poster
 
Posts: 495
Joined: Sep 12, 2005 9:40 pm
Location: State of Jefferson
Name: David A. Riggs
NSS #: 56189
Primary Grotto Affiliation: Monongahela
  

Re: Links

Postby David Grimes » Mar 23, 2013 8:26 pm

Some of the bbcode is built into the forum software and others were custom added over the years. When you refer to the URL button I assume you mean the lack of a pre-defined URL button for the purpose Groundquest was wanting?

I can look into adding a new bbcode if it will be helpful. Please remember, if there are any features not present you can always send me a request. If it is reasonable I would be glad to implement any new features.
User avatar
David Grimes
Admin
 
Posts: 1297
Joined: Jun 19, 2007 6:14 pm
Location: Port Richey, Fl / Harrison County, In
NSS #: 59533
Primary Grotto Affiliation: Indiana Underground Society
  

Re: Links

Postby driggs » Mar 23, 2013 11:58 pm

If I type "CaveChat", select it, and hit the URL button, this is what I get:

Code: Select all
[url]CaveChat[/url]


The above BBCode is useless unless you know the correct syntax for the url tag; you need to manually add an "attribute value" yourself to turn it into:

Code: Select all
[url=http://forums.caves.org]CaveChat[/url]


It would make more sense if clicking the URL button launched a bit of JavaScript `prompt("Enter the URL:")` and filled the `url=` attribute value in.
User avatar
driggs
NSS Hall Of Fame Poster
 
Posts: 495
Joined: Sep 12, 2005 9:40 pm
Location: State of Jefferson
Name: David A. Riggs
NSS #: 56189
Primary Grotto Affiliation: Monongahela
  

Re: Links

Postby David Grimes » Mar 24, 2013 10:18 am

I will look into it but that may not be possible with the phpbb software. There are only a few places where you can use javascript in bbcode. I will definitely see what I can come up with though.

For now I added a text-url button that will bring up the proper syntax but you must fill it in, it is at the far right of the bbcode buttons.
User avatar
David Grimes
Admin
 
Posts: 1297
Joined: Jun 19, 2007 6:14 pm
Location: Port Richey, Fl / Harrison County, In
NSS #: 59533
Primary Grotto Affiliation: Indiana Underground Society
  

Re: Links

Postby driggs » Mar 24, 2013 10:46 am

I don't think your `text-url=` button works, David.

This:

Code: Select all
[text-url=http://forums.caves.org]CaveChat[/text-url]


...produces:

CaveChat
User avatar
driggs
NSS Hall Of Fame Poster
 
Posts: 495
Joined: Sep 12, 2005 9:40 pm
Location: State of Jefferson
Name: David A. Riggs
NSS #: 56189
Primary Grotto Affiliation: Monongahela
  

Re: Links

Postby David Grimes » Mar 24, 2013 11:04 am

You are correct, that was a minor typo on my part and it is fixed now. You will notice that once I fixed the issue your link automatically corrected itself as well.
User avatar
David Grimes
Admin
 
Posts: 1297
Joined: Jun 19, 2007 6:14 pm
Location: Port Richey, Fl / Harrison County, In
NSS #: 59533
Primary Grotto Affiliation: Indiana Underground Society
  


Return to IT Forum

Who is online

Users browsing this forum: No registered users

cron