Gossamer Forum
Home : Products : Links 2.0 : Discussions :

links.def

Quote Reply
links.def
Errrrrrrr, I was looking through links.def and saw:

Quote:
# Field Number of some important fields. The number is from %db_def above
# where the first field equals 0.
$db_category = 4; $db_modified = 3; $db_url = 2;
$db_hits = 8; $db_isnew = 9; $db_ispop = 10;
$db_contact_name = 6; $db_contact_email = 7; $db_title = 1;
$db_votes = 12; $db_rating = 11; $db_mail = 13;

# Field number to sort links by:
$db_sort_links = 1;

# Field names you want to allow visitors to search on:
@search_fields = (1,2,5);

I was wondering what search field # 5 was, as I could not find that in the field numbers part. *worried that that filed # might somehow have gotten deleted or...??? *dumb look* Unsure
--Sanguinarius
Your resident vampire ;P
http://www.sanguinarius.org/
Quote Reply
Re: [Sanguinarius] links.def In reply to
Erm, not sure. If you are worried then just upload a fresh copy of links.def (I'm assuming you havnnt installed mods that have required links.def to be edited Wink)

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] links.def In reply to
I did not see it in the pristine copy of Links 2.0 that I have stored on my computer just in case...
--Sanguinarius
Your resident vampire ;P
http://www.sanguinarius.org/
Quote Reply
Re: [Sanguinarius] links.def In reply to
I didn't see a db_description there and I think that was 5 by default. title, url, description.
Lavon Russell
LookHard Mods
lavon@lh.links247.net