![]() |
anyone please! this is driving me mad, lol.
|
Does anybody have a screenshot or demo page? I keep getting this error, no matter what I try.
Code:
Unable to add cookies, header already sent. |
Here's a screen shot of the site I made this for. Maybe it'll help you.
|
Quote:
You might also make sure that the calendar you're choosing is actually id 2...if you've made more than one in the past it might be a different number. |
Quote:
|
Quote:
Wbear, thanks a lot of the screenshot - that looks awesome! edit: Got home and still no luck. I get a lot of this Code:
$events = $db->query ("SELECT UNIX_TIMESTAMP() AS dateline, dateline_from, eventid, title FROM event WHERE calendarid = 1 AND dateline_from >= UNIX_TIMESTAMP() ORDER BY dateline_from LIMIT 10"); if ($db->num_rows($events)) { echo ""; while ($event = $db->fetch_array($events)) { #$timestring=$event[dateline_from],false,true,false,true; $dateevent= vbdate("M j, Y", $event[dateline_from],false,true,false,true); echo " "; } //} } else { echo " Code:
$10 bucks to whoever helps me get this working. Wbear, what version of vBulletin are you using? I installed event forums mod btw, not sure if that matters. Thanks! |
Quote:
The links to ID2 work just not the top code to display the events Code:
WHERE calendarid = 2 AND dateline_from >= UNIX_TIMESTAMP() |
Quote:
Include the entire script on the test page (with <? and ?>, and change the paths in the top to your site. chdir("forum/"); require('./global.php'); chdir("../"); This switches to the forum directory, grabs the config file and switches back. Make sure the closing PHP tag is present as well. I'm using 3.5.2 on this, but had it working (with a small change) on 3.07/8. |
Quote:
|
Quote:
Code:
chdir("forum/"); Code:
Invalid SQL: |
All times are GMT. The time now is 03:23 PM. |
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:
|