Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mini calendar on forumhome Details »»
Mini calendar on forumhome
Version: 1.00, by basilrath basilrath is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.5 Rating:
Released: 05-04-2007 Last Update: Never Installs: 16
 
No support by the author.

Just a little answer to a mini calendar on your forum home




to add calendar on forumhome pages........

1...download the calendar zip

2...extract and upload the whole folder to your forum root (keep structure)
ie www.yoursite.com/forums/calendar

3...Then add the iframe code below to place where you would like, works a charm

<iframe name="gToday:calendar:" id="gToday:calendar:"src="http://www.yoursite.com/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>
-----------------------------------------------------------------------------

the size is changeble in the calendar.js, height and width. etc

you can view on here... http://www.recommenditall.com/thebig/forums/portal.php

works pretty well as you see..............

Show Your Support

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

Comments
  #2  
Old 05-06-2007, 08:45 PM
jderouen's Avatar
jderouen jderouen is offline
 
Join Date: Oct 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great! One question, though - how do I change the width of the calendar? I need it to be a little less wide in order to fit it where I want it to go.

Thanks!
Joe
Reply With Quote
  #3  
Old 05-07-2007, 01:45 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the the calendar.js

and find this.............

var giCellWidth=16; // calendar cell width; if set to -1, it'll be auto-adjusted so as to ensure the width of the entire calendar fits in with the calendar's direct parent tag. NN4 doesn't support -1.
var giCellHeight=16; // calendar cell height;
var giHeadHeight=16; // calendar head row height;
var giWeekWidth=16; // calendar week-number-column width;

Change the 16 to whatever you need ...........and remember to adjust the width and hieght etc
Reply With Quote
  #4  
Old 05-07-2007, 05:22 PM
Ted Clore Ted Clore is offline
 
Join Date: Apr 2007
Location: Michigan
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3...Then add the iframe code below to place where you would like, works a charm

Huh? I have no idea "where you would like" would be. Is this a file some where?

You need to make it simple for us simple folks. Thank you.
Reply With Quote
  #5  
Old 05-07-2007, 05:59 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my apolagies Ted...........

the iframe code below (copy and put it into your template but add your site path where it says "yoursite")
<iframe name="gToday:calendar:" id="gToday:calendar:"src="http://www.yoursite.com/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>

you add to the template your are using ie

if you are adding the calendar to the index page then edit your "Forumhome" Template and it will appear on the forumhome page.(where it appears is up to yourself )

If you want it elsewhere ie side bar then add it to the sidebar code.

if you want it somewhere on your forum let me know where and ill help or add for you.
Reply With Quote
  #6  
Old 05-07-2007, 06:20 PM
Ted Clore Ted Clore is offline
 
Join Date: Apr 2007
Location: Michigan
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
my apolagies Ted...........

the iframe code below (copy and put it into your template but add your site path where it says "yoursite")
<iframe name="gToday:calendar:" id="gToday:calendar:"src="http://www.yoursite.com/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>

you add to the template your are using ie

if you are adding the calendar to the index page then edit your "Forumhome" Template and it will appear on the forumhome page.(where it appears is up to yourself )

If you want it elsewhere ie side bar then add it to the sidebar code.

if you want it somewhere on your forum let me know where and ill help or add for you.
No apologies needed. Thank you for your quick response, it was exactly what I needed to get me on the right track. I have now added the little calander and will try it out.

BTW, I figured out how to insert it into the Ultimate Side Columns hack with the following in one of the Blocks.

<iframe name="gToday:calendar:" id="gToday:calendar:"src="/forums/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>

Now I have it in the side along with some of the links and other information on my site.

SEE HERE

Thanks again.
Reply With Quote
  #7  
Old 12-30-2007, 07:10 PM
Pete C's Avatar
Pete C Pete C is offline
 
Join Date: Aug 2005
Location: South coast, England
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I've installed this and inserted it into the Right Side Column (as released here by Kerry-Anne). It works fine and it's (almost) what I was looking for. The only problem I have is that I need to change the colours to blend it into the style I'm using it with. I tried uploading it into the relevant style folder and changing the path accordingly, but it still appears in the blue & white as shown on the demo at Big Forums.

The sizing is perfect and no changes were needed there, just that I need to vary the colours. Any clues on whether this can be done and what to edit would be appreciated. If it's not possible, maybe someone could point me to a similar calendar mod where the colours are changeable?

Thanks in anticipation . . .
Reply With Quote
  #8  
Old 12-30-2007, 10:52 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The colors are totally changeable within the php file..........not js..........you will see all the color codes as html colors which you can match to your css
Reply With Quote
  #9  
Old 12-30-2007, 11:08 PM
Pete C's Avatar
Pete C Pete C is offline
 
Join Date: Aug 2005
Location: South coast, England
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your quick and extremely helpful reply basilrath. I'd been looking through the js and couldn't figure what to change.

I'll make a copy of the php file and get to changing the colours. Now I know how to do that it's turned a good little mod into a great little mod - thanks again!
Reply With Quote
  #10  
Old 01-06-2011, 04:50 AM
kharam kharam is offline
 
Join Date: Nov 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does its also work in vB 4.0.1 ?
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 03:43 PM.


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.04320 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete