Create "Today's Photos" urls in vb header - make the links with the ?date=1182832136
As the title hints, I would like to put a link in my vB header similar to the "Daily Posts" link (search.php?do=getdaily) that we're all familiar with, only this link will be to view the "Daily Photos". I use the block to put the few most recent photos on the forum homepage, but I'd like to give the folks browsing the forums a quick-n-easy link to click to see all the current day's photos.
The gallery homepage has a calendar block that does this! So the software is all setup for it, I realize that. I just need the code to construct the URLS with whatever date format it's using. (Is it the php date, unix date, or what?)
For example, todays date is /gallery/showgallery.php?date=1182832136
So if I open my templates in vb, and go to edit my navbar, what should I slap in there to dynamically create the current date, like how the pp calendar is doing it?
I think this will make the site stickier and people will actually go in and start checking out all the daily photos, and doing more interactions there like commenting and rating photos, etc... and not just those photos that actually make it to the homepages. I think you know what I mean!
Thanks in advance!!!