PDA

View Full Version : "Today's Posts" Link


tsptom
08-25-2009, 08:04 PM
I am looking to create the link to today's post on my website's homepage (non-VB) and am wondering what the number in the Today's Posts link represents, or how it is generated? In the example below, it's the 13162316.

https://vborg.vbsupport.ru/search.php?searchid=13162316

That number is obviously changing, so is it a dateline? Something else?

How might I create that link (or the number I'd need) in php / mysql so I can point to today's posts on a non VB php page?

Thanks!

Lynne
08-25-2009, 08:53 PM
It's simply a searchid. You don't need it for searching for Today's Posts though. You can get the link for that from the default navbar template.

tsptom
08-25-2009, 09:34 PM
Thanks... This link?

<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a>

Lynne
08-25-2009, 09:35 PM
Yes, that is the link to Today's Posts.