Gossamer Forum
Home : Products : Links 2.0 : Discussions :

All links marked as new???

Quote Reply
All links marked as new???
Hello,

Every once in a while when I build, Links marks the entire database as new links. Why?

Quote Reply
Re: All links marked as new??? In reply to
What number have you used to configure the $db_new_cutoff variable in the links.cfg file?

Have you added new fields in your links.def without updating your links.db file?

Have you added any Modifications like the Three New Graphics Mod?

Regards,

Eliot Lee
Quote Reply
Re: All links marked as new??? In reply to
Hi eliot,

1) I used number 14
2) No
3) I added a seach this category mod, is about all.

Quote Reply
Re: All links marked as new??? In reply to
Well, the problem is probably related to the "Modified" option for links. When people modify their links, the date changes and the NEW ranking is associated with it.

I have done the following to reduce confusion about this:

1) Added hidden fields in my modify.cgi file:

Code:

<input type="hidden" name="Date" value="<Úte%>">


2) Then I deleted the following codes in the modify.cgi file:

Code:

$in{$db_cols[$db_modified]} = &get_date;


3) Then I also added the following codes in the ­d_system_fields hash:

Code:

isNew => 'No'


BTW: IF this is the source of your problems...then you can do what I did or download the Update Mod located in the Resource Center that will keep the added date and modified date in your links.db file.

Regards,

Eliot Lee
Quote Reply
Re: All links marked as new??? In reply to
Thanks eliot,

i'l get the updated mod in the resource centre

Cheers,

mic

Quote Reply
Re: All links marked as new??? In reply to
Hi eliot,

CAn't find the mod in the resource centre. looked three times. Can you provide an URL please and title of the mod.

Mic

Quote Reply
Re: All links marked as new??? In reply to
Go here:

http://www.gossamer-threads.com/...rces/jump.cgi?ID=343

Sorry...I MEANT FAQ rather than MOD!

Regards,

Eliot Lee