![]() |
Calendar events on non-VB pages
This extension allows you to pull calendar events to display on a non-VB page. You'll need to change the first few lines to reflect your current site information, and look within the code for the site URL to change to your own. In this script, it occurs three times (DOMAIN.COM/FORUM_ADDRESS).
Needs to be on a page that is parsed for PHP content, either by way of naming the page '.php', or by using .htaccess to add it to the list of files that are parsed by PHP. [AddType application/x-httpd-php .html] I've seen lots of requests for this, but couldn't locate anyone that had released one, so here goes (mods, if there is one like this, feel free to remove mine..I couldn't find it). The code was gathered from a number of sources long ago and slapped together by me. I don't know the full origin of each bit, so if you wrote any of this and want credit, go for it. In it's current (unpolished) state, it's been heavily adapted by me anyway, and there's room for improvement, certainly. It's inelegant code (an understatement), but works AFAIK. |
<font color="#15a018">* Aftermath clicks on install</font>
|
Warning: chdir(): No such file or directory (errno 2) in /home/xxxx/public_html/indexbackup.php on line 120
Fatal error: Cannot redeclare class vbulletinhook in /home/xxxx/public_html/forums/includes/class_hook.php on line 29 |
Did you:
Quote:
|
I see why not its conflicing with the vbexternal addon i am using
<?php chdir('./forums'); require_once('./vBExternal.php'); ?> is there a way i can use both ? |
Nice hack :-)
|
How can I use this in a forum page? I want to display this in the header. I suppose delete the chdir lines and simply have 'global.php'?
I tried that and got this printed out on the page Code:
= UNIX_TIMESTAMP() ORDER BY dateline_from LIMIT 10"); if (()) { echo ""; while ( = ()) { #=,false,true,false,true; = vbdate("M j, Y", ,false,true,false,true); echo " "; } //} } else { echo " |
<font color="#15a018">* silurius subscribes to thread.</font>
|
good hack, I don't need it yet, but i might someday soon
|
Been trying to get this to output only from my Calander 2 without any luck. I've changed the references from 1 to 2 but it just says No events, even though there are. Changing it all back from 2 to 1 and it works.
Anyone get this working with calanderid 2 ? |
All times are GMT. The time now is 09: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:
|