What is vldPersonals?

vldPersonals is a very easy to use dating/social software. It allows you to create a fully functioning & modern dating website in a matter of minutes. If You think it's too complicated - check vldPersonals!
Know more about how You can become a dating website owner

What is vldCrowd?

vldCrowd.com is the biggest unofficial community of vldPersonals owners. It is a place to share ideas and thoughts about Your dating website. It is a place to answer questions and receive answers.
Do You own a vldPersonals license? Don't hesitate and join!

Connect Today

Community members help each other to take their dating websites to the next level. Can You make your vldPersonals website better? Join and find out...

Connect With More Than 500 Dating Website Owners! Sign Up Today
417 3 5
This little but meaningful tutorial inspired by this forum post therefore dedicated to Little Moosie
 
If you are lazy and didn't read that post I'll quote Richard's words so you see what this mod do:
Would it not make more sense to use the date as a trigger to release the news item on that date and keep it hidden from view until then? For instance if I am on holidays for Easter I can already write a Happy Easter message now and not worry about forgetting it later. This way the message is hidden and show up automatically on the date set for Easter.

To acheive that simply open your lib.news.php and ext.news.php and replace all instances of:
PHP

active='1'
 

with:
PHP

active='1' AND postdate < '" . time(). "'
 

Thank you Richard :)
 
UPD from Idealists
Also need to edit /includes/hp/hp.sitemap.php find the first active='1' (which should be in the News section of the sitemap) and replace it with:
active='1' AND postdate < '" . time(). "'

Comments

idealists

  • Posted on 01/21/2010 04:40 PM
Dude with the big sunnies, you are most welcome.
On that note, I'm heading to beach house this weekend, woot!

richardsut

  • Posted on 01/21/2010 06:01 AM
Ramil, I am honoured to be quoted! :-)
 
Thanks to all who put their brains together for finding a solution to this.
 
Richard a.k.a. Little Moosie

radioact

  • Posted on 01/20/2010 08:27 PM
Thank you for this tip, Martin. Totally forgot about that :)

gugu

  • Posted on 01/20/2010 04:24 PM
should try it ... thanks ...

idealists

  • Posted on 01/20/2010 02:41 PM
Also need to edit /includes/hp/hp.sitemap.php find the first active='1' (which should be in the News section of the sitemap) and replace it with:
active='1' AND postdate < '" . time(). "'

Log in to leave a comment