Webmastersite.net
Register Log In

Auto Expire just one type

Comments on Auto Expire just one type

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Oct 14, 2009 - 5:29 AM:

Is it possible to have just one type with a 6 month expiry date? Perhaps by some sort of condition put in the suggestlink.tpl?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 14, 2009 - 7:40 PM:

In order for a condition in the template to help, you'd have to have separate submission pages for each type. <IF {LINKTYPE} is x><input type="hidden" name="expire" value="<?php echo time() + 86400*180; ?>"></IF> would then do a 180 day in the future expiry I believe.

I can add a tweak to set expiration defaults by listing type for $50.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.