1
adium
Catads won't show new submissions for 6 hours
  • 2009/7/6 16:39

  • adium

  • Just popping in

  • Posts: 99

  • Since: 2005/1/18


I've installed Catads 1.52 fromhttp://www.tdmxoops.net and have everything working the way I want (after lots of translating) except for one thing.

When anyone posts a new ad it goes into the que for 6 hours and then gets published automatically on its own. I don't see the purpose for things being held in que for so long and would like it so that they get published instantly without any wait.

Anyone with a quick fix on how I can do this?
Installed here:http://www.ncoschool.com/modules/catads/

2
adium
Re: Catads won't show new submissions for 6 hours
  • 2009/7/6 17:05

  • adium

  • Just popping in

  • Posts: 99

  • Since: 2005/1/18


Answered my own question.

Change submit1.php, Line 239:

$published strtotime($published) + mktime($now['hours'], $now['minutes'], $now['seconds'], 111970);


to

$published strtotime($published) + mktime($now['hours'], $now['minutes'], $now['seconds'], 111970) - 21600;


Simple hack, and now I feel like an idiot! Not as much of an idiot if someone else answered, but still an idiot.

3
pmarket
Re: Catads won't show new submissions for 6 hours
  • 2009/12/6 18:35

  • pmarket

  • Just popping in

  • Posts: 62

  • Since: 2008/8/15


In CatAds Admin preference area I changed:
Max time before publication* from 10 to 0
ADS published immediately

Login

Who's Online

150 user(s) are online (95 user(s) are browsing Support Forums)


Members: 1


Guests: 149


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits