Gossamer Forum
Quote Reply
isModified
Hi, In the "Build Options" section there is the field for "Number of days old for a link to be considered new"

Does this also control the number of days a a link is to be considered newly modified?

If not where can I set the number of days for isModified?

Thank you for your help!
Quote Reply
Re: [shimmy1] isModified In reply to
Hi,

I didn't even realise there was an isModified tag? AFAIK, its just:

isNew
isPopular
isValidated

Could be wrong though Smile

Cheers

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: [shimmy1] isModified In reply to
Yeah, having a look at the code we only have:

Code:
$rec{isNew}
$rec{isChanged}
$rec{isPopular}
$rec{isLinkOwner}
$rec{isUnpaid}
$rec{isFree}
$rec{isExpired}
$rec{wasPaid}
$rec{ExpiryDateFormatted}

Which means that either you have a global thats creating your other tag, or a plugin (or you just got confused with the name of it =))

Cheers

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: [Andy] isModified In reply to
Hi,

Yes, you are correct, I meant isChanged
Quote Reply
Re: [shimmy1] isModified In reply to
Hi,

Ok cool. I had a look at the code, and it seems like it uses the build_new_cutoff value:

my $date = GT::Date::date_sub(GT::Date::date_get(), $CFG->{build_new_cutoff});

Are you wanting to change it to a different value, or were you just inquisitive as to how it worked?

Cheers

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: [Andy] isModified In reply to
if is uses the value, then I'm good and don't need to modify it. Thank You!

Last edited by:

shimmy1: May 27, 2012, 9:10 AM