Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mini Calendar Details »»
Mini Calendar
Version: 1.00, by Colin F Colin F is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 08-07-2004 Last Update: Never Installs: 38
Re-useable Code Translations  
No support by the author.

Mini Calendar

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 attachmentsInstructions:
  • Backup all your files as well as your database.
    For help backing up your database, look here: http://www.vbulletin.com/docs/html/m...atabase_backup
  • Upload cal.php (attachment) to your forum home directory
  • Make a new template with the name small_calendar and insert the contents of template.txt (attachment) 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
      PHP Code:
      include ("cal.php"); 
      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
      PHP Code:
      require_once('./global.php'); 
      add
      PHP Code:
      include ("cal.php"); 
  • 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.
Donations: This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.

Install:
Don't feel like donating, but still want to thank me for my work? Click the install button to show your appreciation. As a great side effect, you'll get an email update once there is a bigger update or important security fix!

Updates:
10.08.2004: Updated cal.php to fix (hopefully) the events being on the wrong day with far out timezones.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 02-06-2006, 05:02 AM
51HipHop 51HipHop is offline
 
Join Date: Feb 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway to include this on non vb pages?
Reply With Quote
  #73  
Old 02-21-2006, 02:58 AM
tommac tommac is offline
 
Join Date: Jul 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using minicalendar.php from the portal download ...

but if I try to click on a date it cant find the page ...

I realize that it does not recognize the module without the /forums/

so it is going to http://www.myfoo.com/calender.php?blahblahblah

rather than to http://www.myfoo.com/forums/calender.php?blahblahblah

is there an easy way to fix that ?
Reply With Quote
  #74  
Old 03-26-2006, 11:02 AM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i also need this to work on a page outside of vb. It includes global, as i use the user information for my site aswell as the forum.

Would really appreciate it if someone can sort this out!

Thanks!
Reply With Quote
  #75  
Old 04-04-2006, 04:27 PM
Zweeper Zweeper is offline
 
Join Date: Jan 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LBmtb
Am I just dense or something? I can't find the phpinclude_start template. I'm using vB 3.5.3 btw.

i have the same problem.
is there a hack version for 3.5.4 out?
Reply With Quote
  #76  
Old 04-10-2006, 11:54 AM
Freakpyromaniac Freakpyromaniac is offline
 
Join Date: Feb 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a scripter which can maker this mod suitable for Not-VBulletin pages?
Tried to include several sections of other pages, but nothing worked..

More people like to have this feature.. help us out!
Reply With Quote
  #77  
Old 05-01-2006, 08:55 PM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snyx
the problem is in the cal.php file
line 113
Code:
$events=$DB_site->query("SELECT dateline_from,title,eventid,utc FROM " . TABLE_PREFIX . "event WHERE (dateline_from BETWEEN $from AND $to) AND visible=1 ORDER BY dateline_from ASC");
im trying to debug, but I know little about php
yeh, i have a problem with this, all i get is

Fatal error: Call to a member function on a non-object in /home/****/public_html/forum/cal.php on line 113


anyone know how to fix this?
Reply With Quote
  #78  
Old 05-07-2006, 02:26 PM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?

its like the last thing i have to do to complete my homepage
Reply With Quote
  #79  
Old 05-14-2006, 10:27 AM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone had a similar problem?
Reply With Quote
  #80  
Old 07-01-2006, 02:16 AM
[email protected] vbmenu_register("postmenu_1019646", true);
Guest
 
Posts: n/a
Default

I'm getting that same error on line 113 I believe that reads
$events=$DB_site->query("SELECT dateline_from,dateline_to,title,eventid,utc FROM " . TABLE_PREFIX . "event WHERE (dateline_from BETWEEN $from AND $to) AND visible=1 ORDER BY dateline_from ASC");

I too would sure like to figure out how to get a mini-calendar onto any VBulletin page that I want.

not having any luck searching for one as of yet.. still looking.
Reply With Quote
  #81  
Old 05-09-2007, 04:17 PM
travisjerome travisjerome is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Colin,

So to clarify I go to the index.php and add include ("cal.php");

To where do I put this in the code? I added it and my homepage went blank.

I am a little confused on do I add it to the global.php file also?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04609 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete