Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [meso] Creating list of isPaidLink outside of a category

Quote Reply
Re: [meso] Creating list of isPaidLink outside of a category In reply to
Hi,

If you want to search for paid links, you need the ExpiryDate as a condition:

Code:
ExpiryDate < 2147483647 AND ExpiryDate > CORE::time()

Basically, if a link has 2147483647 as its expiry date - that means its free (so we want to look for LESS THAN 2147483647). Then, just to make sure its an active link you would need to check its > CORE::time() (the server time)

Hope that helps.

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!
Subject Author Views Date
Thread Creating list of isPaidLink outside of a category meso 5710 Jan 16, 2013, 4:39 AM
Thread Re: [meso] Creating list of isPaidLink outside of a category
Andy 5505 Jan 16, 2013, 6:23 AM
Thread Re: [Andy] Creating list of isPaidLink outside of a category
meso 5485 Jan 16, 2013, 6:56 AM
Thread Re: [meso] Creating list of isPaidLink outside of a category
Andy 5481 Jan 16, 2013, 6:59 AM
Post Re: [Andy] Creating list of isPaidLink outside of a category
meso 4687 Jan 24, 2013, 5:54 AM