The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mini calendar on forumhome Details »» | |||||||||||||||||||||||||
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
|
Comments |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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 |
#4
|
|||
|
|||
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. |
#5
|
||||
|
||||
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. |
#6
|
|||
|
|||
Quote:
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. |
#7
|
||||
|
||||
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 . . . |
#8
|
||||
|
||||
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
|
#9
|
||||
|
||||
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! |
#10
|
|||
|
|||
Does its also work in vB 4.0.1 ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|