Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mini-Calendar in Header by BOP5 (VB 4.x.x) Details »»
Mini-Calendar in Header by BOP5 (VB 4.x.x)
Mod Version: 1.1.1, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.88 average) Installs: 33
Released: 24 Jun 2012 Last Update: 05 Jul 2012 Downloads: 152
Supported Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

Brought to you by BirdOPrey5
www.Qapla.com





Live Demo: Mini-Calendar at Qapla.com

This mod adds a small "mini-calendar" on the header of every page, next to the logo image.

It uses the built in "ad location" called global_header1. If you use an ad in that spot (most people don't) you will need to move it prior to enabling this mod else it will not show.

If the Calendar doesn't show and you're on a custom style it is likely the style does not have the ad location coded in. See post #15 in this thread for a fix

There are settings but it is setup to work immediately after installing. Most settings should only be adjusted by advanced users. The font sizes and locations are setup for English day and month names- you may need to manually edit the headcalendar_bop5 template manually for it to look right in other languages.

You can use it as a link to the default vBulletin calendar (default behavior) or not. Also you can choose to disable it in specific styles if need be. Finally you can choose whether it displays the date based off the server's timezone or the user's timezone. (Default is user's timezone.)

New in Version 1.1 - Option to disable the display of the mini-calendar by usergroup. (Primary or secondary will work.)

I don't anticipate there will be much further development on this mod, it was just a simple thing I put together for one of my forums I figured like sharing- it already does everything I can think it needs to do, but if you have a suggestion that adds to the value I will consider it.

Each <div> has a unique id so you can use additional.css to make changes as needed.

You can see the default calendar is "blue" on top. Various other alternative color options are included in the download (red, green, yellow, and more...)

Tested as far back as VB 4.0.8 and as recent as 4.2.0 and expected to work on all 4.x versions.

Please "Mark as Installed" if you use this.
Donations Always Appreciated.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vb4_calendarmini_1.jpg
Views:	254
Size:	92.6 KB
ID:	139329Click image for larger version

Name:	vb4_calendarmini_2.jpg
Views:	1191
Size:	47.2 KB
ID:	139330Click image for larger version

Name:	vb4_calendarmini_settings.jpg
Views:	146
Size:	115.9 KB
ID:	139331

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Calendar Colin F vBulletin 3.0 Full Releases 81 27 Jun 2007 20:25
Mini Calendar Colin F vBulletin 3.0 Beta Releases 18 27 Jul 2004 21:56

  #16  
Old 25 Jun 2012, 04:49
ahobilam's Avatar
ahobilam ahobilam is offline
 
Join Date: Aug 2011
Real name: NVS
Is there any possible to connect with google calendar to show todays event also with the date?
Reply With Quote
  #17  
Old 25 Jun 2012, 10:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
no.
__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #18  
Old 25 Jun 2012, 18:19
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Cute. I like it. Nice work
Reply With Quote
  #19  
Old 29 Jun 2012, 01:26
Mr_Running Mr_Running is offline
 
Join Date: May 2010
User Group Permissions
Originally Posted by BirdOPrey5 View Post
I will add that at some point.
I am drooling with every passing day.
Reply With Quote
  #20  
Old 29 Jun 2012, 22:48
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Real name: Chris
Installed!

Thanks, I like it! To get it to look the way I preferred I did some small changes and used just this portion of the code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here's where I moved it to and what it looks like on my site.
Attached Images
File Type: jpg calendar.jpg (38.7 KB, 30 views)
Reply With Quote
  #21  
Old 30 Jun 2012, 00:19
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Mr_Running View Post
User Group Permissions


I am drooling with every passing day.
LOL... Here you go, version 1.1 released.
__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #22  
Old 30 Jun 2012, 01:31
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Thank You for release 1.1
Works but maybe one slight adjustment if a user is part of more than one usergroup who does not have permission it will not display.

How about using the Primary Users group?
Reply With Quote
  #23  
Old 30 Jun 2012, 01:42
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
To switch it to use primary groups go to Admin CP -> Plugin Manager

Edit the TWO plugins Calendar Setup and Cache Header Calendar...

In BOTH find the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change them to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then save the plugins.
__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #24  
Old 30 Jun 2012, 03:02
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Cheers,
Reply With Quote
  #25  
Old 11 Jul 2012, 11:07
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Real name: Wendolene
this is excellent, Joe!

How can I enlarge it , please?
__________________
Reply With Quote
  #26  
Old 11 Jul 2012, 12:04
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The calendar background image is 60 x 60 pixels so enlarging it will show distortions in the image- and this was never designed to be enlarged.

But if you want to try it can all be done by adding code to additional.css - for example add this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will make the calendar background image 90x90 instead of 60x60, but you will still need to do custom code for each of the text lines including the new custom widths and new font sizes, and new spacing in pixels (top values in CSS.)
__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #27  
Old 11 Jul 2012, 12:10
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Here is the complete code to go to 80x80... you can customize the font sizes as you want.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #28  
Old 11 Jul 2012, 13:02
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Real name: Wendolene
many thanks, Joe! One more thing...how can I move it down a notch, please?
__________________
Reply With Quote
  #29  
Old 11 Jul 2012, 14:45
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Real name: Wendolene
OK, for those who want to know how to push the image down to their own height, then do this:

Open Template: headcalendar_bop5

find: position:relative;

then next to it place this: top:20px;

adjust the number to suit your own position!

demo here:
http://www.hottopowners.co.uk/forum.php
__________________
Reply With Quote
  #30  
Old 11 Jul 2012, 16:08
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by WendM View Post
OK, for those who want to know how to push the image down to their own height, then do this:

Open Template: headcalendar_bop5

find: position:relative;

then next to it place this: top:20px;

adjust the number to suit your own position!

demo here:
http://www.hottopowners.co.uk/forum.php
You can also add it to additional.css so you don't have to edit the template if you want:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In general it's good to avoid editing templates because they will need to be reverted if the mod is ever upgraded and changes made to the template.
__________________
-Joe
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:47.

Layout Options | Width: Wide Color: