The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Could you let us know how you solved that problem Webmasta please ? I remember getting the same errors when I was trying something and I gave up after it
|
#32
|
|||
|
|||
I am not a programmer or anything cool like that. I am a geek who just knew how to read a SQL DB and get this thing working under vB3
So here is the code: (EDIT - Corrected a major error in the code date setup due to vb3) PHP Code:
PHP Code:
works like a freaking charm |
#33
|
||||
|
||||
Is there anyway to get this to show up easily on any VB (really a webtemplates) page via an $events tag or something?
Thanks |
#34
|
||||
|
||||
Okay, does anyone have the full code for this for vb3, that they could share? I've managed to get, well, something, pulling into the non-forum page, and I have it linking to the calendar, but I'm only getting one event, and the link isn't quite correct (it links to the calendar okay, but not to the event). I'm all confused.
|
#35
|
|||
|
|||
Right so this doesn't work even a little or is just to complex for me to understand. Probably both.
|
#36
|
|||
|
|||
ah there it goes! kicked in with some tinkering. Nice little script guys! Good work.
|
#37
|
|||
|
|||
Hi guys.
I too would love someone to simply post the php coding they are using for vB3. I presume most are creating a file, say eventlist.php, and calling it into their page via include statements? If someone could post the code in the php file that would be appreciated greatly! Cheers Krit |
#38
|
||||
|
||||
I actually managed to get this working, eventually, but just discovered that it's showing old events that are already past. Eep! I've checked over the code, and it looks like it should be working correctly, but I'm definitely getting old events.
I checked the sql query in phpmyadmin, and I get the same results. The query is: Code:
SELECT UNIX_TIMESTAMP( ) AS dateline, dateline_from, eventid, title FROM event WHERE calendarid = 1 AND dateline_from > dateline ORDER BY dateline_from LIMIT 5 Code:
dateline dateline_from eventid title 1075968522 1074603600 1 Hernando Beach Blast III 1075968522 1074704400 3 HBBIII 2004 1075968522 1077840000 11 Hinkster's Birthday 1075968522 1082246400 12 Michigan NCRS Swap Meet 1075968522 1083283200 7 New England Chapter Event *confused* |
#39
|
||||
|
||||
I still need some help with this. I managed to finally get it posting only upcoming events, and not events which have already past. However, now I'm getting the wrong dates displaying on the events. If an event is in the calendar for Feb 30, it displays on the non-vb page as being on Feb 29. All events are dated one day early.
Here's what I currently have. PHP Code:
|
#40
|
||||
|
||||
Quote:
Anyone? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|