![]() |
Calendar Events on NON vB Page
Is it possible to display the current days events on a non vB page? Id like to have a block at the top of my page that says whats going on for that particular day.
I did a search, but didnt see anything. Any ideas? |
Is this possible?
|
i THINK this works ;) haven't tested it myself though
PHP Code:
|
Excellent, however, they are displaying the first event last.
http://www.finheaven.com/boardvb2/calendar.php How would I make it so the first event comes first? Thanks for the help! |
Ok, I see what it is doing now.
Calendar You see, its grabbing dates since the beginning. How can I make it grab from a curtain time frame? Like, tell it to grab all dates within a week or month. Thanks! |
Alright, I did a heavy search and found that this was already asked for and someone already made the hack... it was a REALLY long time ago, and the URL to the hack lead to the vbulletion.com site instead of .org. Anyways, I found what I was looking for.
Thanks for your time! |
You can do it with WebTemplates Hack by creating a webquery for this query.
Besides by adding ASC or DESC after "ORDER BY eventdate" in Nicksauder's code, you can change the order of retrieved data. |
All times are GMT. The time now is 08:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|