Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Expire_Links_Pro on its way!

Quote Reply
Expire_Links_Pro on its way!
Its been far longer than I was hoping, but I am getting pretty close to finsihing off Expire_Links_Pro.

This is a more advanced version of Expire_Links. The main features are;

+ Faster checking due to major recoding (in fact, pretty much all the old stuff was scrapped).
+ Ability to email the admin if a link has expired... (template driven)
+ Send out warning emails xx number of days before the link will expire.
+ Send out a personalised email once the link has expired (with access to all the tags you would normally get).
+ Repairs table automatically, in case the category counts get out of sync.

Some example output of a demo install I have, is;

-----------------------------------------------------------

[ultranerds@east admin]$ perl expire_links.cgi --action=do
Found 148316 links that need to be checked...


100 200 300 400 500 600 700 800 900 1000
1100 1200 1300 1400 1500 1600 1700 1800 1900 2000
2100 2200 2300 2400 2500 2600 2700 2800 2900 3000
3100 3200 3300 3400 3500 3600 3700 3800 3900 4000
4100 4200 4300 4400 4500 4600 4700 4800 4900 5000
5100 5200 5300 5400 5500 5600 5700 5800 5900 6000
6100 6200 6300 6400 6500 6600 6700 6800 6900 7000
7100 7200 7300 7400 7500 7600 7700 7800 7900 8000
8100 8200 8300 8400 8500 8600 8700 8800 8900 9000
9100 9200 9300 9400 9500 9600 9700 9800 9900 10000


-----------------------------------------------------------


You can now define how long the link lasts (can be different for each link). For example, 14 days, 1 month, 2 months, 3 months, 6 months, 1 year, 2 years, etc). Alternativly, when setting the plugin up, you can set it so that you get a text field, so you can type in whatever number you want (i.e 1234 days). The select box option is far easier to use.


Requirements so far:

> LWP::Simple
> Getopt::Long

If you have any ideas, I'm open to suggestions :)

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] Expire_Links_Pro on its way! In reply to
Looking forward to it Smile

Smile Smile

------------------------------------------

Last edited by:

DogTags: Mar 13, 2004, 11:27 AM
Quote Reply
Re: [Andy] Expire_Links_Pro on its way! In reply to
Hi And

Any final development so far?

Thanks Smile

------------------------------------------
Quote Reply
Re: [DogTags] Expire_Links_Pro on its way! In reply to
Yeah, its finished... but I'm not sure if its worth releasing, as it is a bit outdated with LSQL 2.2 (the features in this plugin are now included in the 2.2 version).

AFAIK, there are no bugs in it... and it should be ok for sale :)

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] Expire_Links_Pro on its way! In reply to
Andy,

I assuming this can also simply key of a date field? A user (or admin) sets a specific date when it has to expire and it uses that?

Safe swoops
Sangiro
Quote Reply
Re: [sangiro] Expire_Links_Pro on its way! In reply to
Afraid not. It works like;

Add_Date is looked at;

You specify the number of days that the link should stay active (1 days, 7 days, 14 days, 30 days, etc), and then when the checking script is run, it checks to see which links should expire, by grabbing the current date, and checking if the Add_Date+Number of days their link is allowed to stay active=Todays Date.

Its pretty simple... but is outdated by LSQL 2.2. If people still want it, to use on 2.1.2, then please let me know, and I'll try and get it setup ready for use :)

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!