PDA

View Full Version : Problems with Custom Fields and URLs


lostcode
02-01-2009, 03:12 PM
Hi, Great product, but needs improvement.....

We created a custom field for each link entry, the URL of a related forum. Regardless of how we enter the link, it does not work in multiple views.

For example, look at this link entry:

http://www.unix.com/links/unix-os-links-2/spreadbsd--unix-for-the-masses-290/

You will notice that we used bb tags ... in the custom text field for the link entry. However, then notice this view, the Newest 5 Links view:

http://www.unix.com/links/index.php

This view does not resolve the bb tags.

However in this category view:

http://www.unix.com/links/unix-os-links-2/

The entry is a correct, clickable URL.

What we need, unless I am missing something, is a custom field type "URL" that allows users to input a URL, as we are attempting to do, and it displays consistently as a clickable link in all views.

No matter how we try to do this, we cannot get a consistent clickable view across the links directory.

Brian
02-02-2009, 11:51 AM
Thank you for pointing this out. Custom fields with BB code should be parsed the same throughout the software, but it looks like there was a small bug preventing the fields from being parsed properly on the index page. I've just applied the fix to the forum/includes/functions_vba_links_cats.php file in the download package here, so if you will download the files agian and update that one on your server, that should take care of the issue.

Our Sponsors
 

lostcode
02-02-2009, 11:58 AM
You are welcome. Thanks for the fix and for a great product.

www.unix.com

lostcode
02-02-2009, 12:10 PM
Hi Brian,

Also, it does not seem to parse correctly when you (re)edit a link. For example, see:

http://www.unix.com/links/index.php

See the entry for Midnight BSD in the Newest 5 Links area.

Cheers.

Our Sponsors
 

Brian
02-02-2009, 12:26 PM
Looks like you have the 'Automatically Parse Links in Text' setting within that category disabled. If that setting is disabled then it will not automatically add [url] tags around the URL when the link is submitted/edited.

lostcode
02-02-2009, 12:32 PM
Thank Brian,

That fixed it... if I (re)edited and saved after making the configuration change.

Cheers!