Colin F
07 Jul 2004, 11:31
Mini Calendar
THIS HAS MOVED OUT OF BETA. SEE THE NEW THREAD HERE: http://www.vbulletin.org/forum/showthread.php?t=68117
What it does:
The Mini Calendar is just what it's name says. It allows you to add a small calendar to any or all vBulletin page(s). It links back to the month, next and previous month as well as any days with an event.
Is it complicated?
Installation is easy. Just include the cal.php file on any page that you want it shown, make one new template and insert $smallcalendar at the exact place you want it shown. Look at the instructions below.
Changes:
New files (1):
cal.php
Changed files(0-1):
depending on where it should be shown
New database fields/tables(0):
none
New templates(1):
small_calendar
Changed templates(1-2):
wherever mini calendar should be shown
(phpinclude_start) if shown on all pages
New phrases(0):
none
Screenshots:
see attachments
screenshot1.jpg (http://www.vbulletin.org/forum/attachment.php?attachmentid=19573&stc=1)
screenshot2.jpg (http://www.vbulletin.org/forum/attachment.php?attachmentid=19574&stc=1)
Instructions:
Upload cal.php (attachment (http://www.vbulletin.org/forum/attachment.php?attachmentid=19575&stc=1)) to your forum home directory
Make a new template with the name small_calendar and insert the contents of template.txt (attachment (http://www.vbulletin.org/forum/attachment.php?attachmentid=19576&stc=1)) into it
Decide if you want to have your mini calendar on specific pages or on all your pages
If you decide to have the mini calendar on all your pages (for example in a sidebar) edit your phpinclude_start template and add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to the end of it.
If you only want the mini calendar on specific pages, open the php file that makes that page and under
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
edit the template that shows the area in which you want to insert your mini calendar and add $smallcalendar to the exact spot where your mini calendar should be shown.
THIS HAS MOVED OUT OF BETA. SEE THE NEW THREAD HERE: http://www.vbulletin.org/forum/showthread.php?t=68117
What it does:
The Mini Calendar is just what it's name says. It allows you to add a small calendar to any or all vBulletin page(s). It links back to the month, next and previous month as well as any days with an event.
Is it complicated?
Installation is easy. Just include the cal.php file on any page that you want it shown, make one new template and insert $smallcalendar at the exact place you want it shown. Look at the instructions below.
Changes:
New files (1):
cal.php
Changed files(0-1):
depending on where it should be shown
New database fields/tables(0):
none
New templates(1):
small_calendar
Changed templates(1-2):
wherever mini calendar should be shown
(phpinclude_start) if shown on all pages
New phrases(0):
none
Screenshots:
see attachments
screenshot1.jpg (http://www.vbulletin.org/forum/attachment.php?attachmentid=19573&stc=1)
screenshot2.jpg (http://www.vbulletin.org/forum/attachment.php?attachmentid=19574&stc=1)
Instructions:
Upload cal.php (attachment (http://www.vbulletin.org/forum/attachment.php?attachmentid=19575&stc=1)) to your forum home directory
Make a new template with the name small_calendar and insert the contents of template.txt (attachment (http://www.vbulletin.org/forum/attachment.php?attachmentid=19576&stc=1)) into it
Decide if you want to have your mini calendar on specific pages or on all your pages
If you decide to have the mini calendar on all your pages (for example in a sidebar) edit your phpinclude_start template and add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to the end of it.
If you only want the mini calendar on specific pages, open the php file that makes that page and under
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
edit the template that shows the area in which you want to insert your mini calendar and add $smallcalendar to the exact spot where your mini calendar should be shown.