Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Mini-Calendar in Header by BOP5 (VB 4.x.x) Details »»
Mini-Calendar in Header by BOP5 (VB 4.x.x)
Version: 1.1.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 06-23-2012 Last Update: 07-04-2012 Installs: 40
Supported Uses Plugins Auto-Templates
Re-useable Code Additional Files 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. :up:

Download Now

File Type: zip Header Calendar by BOP5 VB4 v1.1.1.zip (26.5 KB, 197 views)

Screenshots

File Type: jpg vb4_calendarmini_1.jpg (92.6 KB, 0 views)
File Type: jpg vb4_calendarmini_2.jpg (47.2 KB, 0 views)
File Type: jpg vb4_calendarmini_settings.jpg (115.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
TheLastSuperman

Comments
  #42  
Old 01-12-2013, 01:46 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled- No support
Reply With Quote
Благодарность от:
BirdOPrey5
  #43  
Old 01-18-2013, 01:17 AM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Joe, I have an update on this issue over at your place. Let me know where we'll be discussing this so neither of us have to play forum tag.
Reply With Quote
  #44  
Old 01-18-2013, 08:50 AM
macroforum macroforum is offline
 
Join Date: Mar 2010
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
How can i shows the months and days in italian language?
In headcalendar_bop5 template i dont's see months and days names.
Thanks
Antonio

EDIT Ok, i see this post https://vborg.vbsupport.ru/showpost....7&postcount=37
Reply With Quote
  #45  
Old 01-20-2013, 11:29 AM
kfyonur kfyonur is offline
 
Join Date: Apr 2008
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can't see calendar in my theme but i can see calendar on the other themes..

where can i add this code ?

Code:
<div class="ad_global_header">
		{vb:raw ad_location.global_header1}
		{vb:raw ad_location.global_header2}
	</div>
MY HEADER

Code:
<div id="pageWrapper">
	<div id="topBar">
		<div class="topBox">
			<div class="topBoxLeft"><div class="topBoxRight">
				<span>Audi T?rkiye Kul?b?'ne hoşgeldiniz.
<vb:if condition="$show['member']"> {vb:raw bbuserinfo.username}!<vb:else />! Bu ilk ziyaretiniz mi?</vb:if></span>
<div class="topBoxLinks">
<vb:if condition="$vboptions['enablefacebookconnect']">
<div id="fb_topbar<vb:if condition="$show['facebookuser']">_in</vb:if>">
		<ul>
				{vb:raw facebook_header}
		</ul>
</div>
</vb:if>
<vb:if condition="$vbulletin->options['display_social_icons']==1">
<div class="socialBox">
				<vb:if condition="$vbulletin->options['twitter_account']"><a href="http://www.twitter.com/{vb:raw twitter_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-twitter.png" alt="Follow us on Twitter" /></a></vb:if>
				<vb:if condition="$vbulletin->options['facebook_account']"><a href="http://www.facebook.com/{vb:raw facebook_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-facebook.png" alt="Follow us on Facebook" /></a></vb:if>
				<vb:if condition="$vbulletin->options['youtube_account']"><a href="http://www.youtube.com/{vb:raw youtube_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-youtube.png" alt="Watch us on YouTube" /></a></vb:if>
</div>
</vb:if>
<div class="topBarLinksWrap">
					<vb:if condition="$vboptions['archiveenabled']"><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></vb:if>
					<a href="#" class="topRSS"><img src="{vb:stylevar imgdir_themedir}/iconRSS.gif" alt="RSS" /></a>
</div>

				</div>
			</div></div>
		</div>
	<vb:if condition="$show['registerbutton']">
		<a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow" id="clickRegister"><img src="{vb:stylevar imgdir_themedir}/clickRegister_{vb:stylevar left}.png" alt="{vb:rawphrase register}" /></a>
	</vb:if>
	</div>
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
	<vb:if condition="$stylevar['titleimage']"><span class="logo"><a name="top" href="{vb:link forumhome}"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></span>
<vb:if condition="$vbulletin->options['modern_slogan_enable']">
	<span class="slogan">{vb:raw modern_slogan}</span>
</vb:if>

<vb:else />&nbsp;</vb:if>

	<vb:if condition="$show['member']">
	<div id="toplinks" class="toplinks">
			<ul class="isuser">
				<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onClick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
				<vb:if condition="$show['registerbutton']">
				<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
				</vb:if>
				<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
				<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
				<vb:if condition="$notifications_total">
				<li class="popupmenu notifications" id="notifications">
					<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
					<ul class="popupbody popuphover">
						{vb:raw notifications_menubits}
					</ul>
				</li>
				<vb:else />
				<li class="popupmenu nonotifications" id="nonotifications">
					<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
					<ul class="popupbody popuphover">
						<li>{vb:rawphrase no_new_messages}</li>
						<vb:if condition="$show['pmmainlink']"><li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li></vb:if>
					</ul>
				</li>
				</vb:if>
				<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
			</ul>
            {vb:raw template_hook.header_userinfo}
			<vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>		
	</div>
<vb:else />
			<div id="loginBox">
				<div class="loginBox">
					<!-- login form -->
					<script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>
					<form id="navbar_loginform" action="login.php?{vb:raw session.sessionurl}do=login" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
					<ul>
						<li class="inputPad"><div class="loginBoxInput"><input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if> loginInput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /></div></li>
						<li class="inputPad"><div class="loginBoxInput">
					<input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" />
					<input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /></div></li>				
						<li class="submitPad"><input type="image" src="{vb:stylevar imgdir_themedir}/loginButton.gif" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /></li>
					</ul>
					<div class="memberBottom">
						<div class="memberLinks">
							<a href="login.php?do=lostpw">Forgot password?</a><vb:if condition="$show['registerbutton']">  |  <a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></vb:if>
						</div>
						<div class="rememberMe"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label></div>
					</div>						
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="login" />
				<input type="hidden" name="vb_login_md5password" />
				<input type="hidden" name="vb_login_md5password_utf" />
			</form>
			<script type="text/javascript">
			YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
			YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
			vB_XHTML_Ready.subscribe(function()
			{
			//
				YAHOO.util.Event.on('navbar_username', "focus", navbar_username_focus);
				YAHOO.util.Event.on('navbar_username', "blur", navbar_username_blur);
				YAHOO.util.Event.on('navbar_password_hint', "focus", navbar_password_hint);
				YAHOO.util.Event.on('navbar_password', "blur", navbar_password);
			});
			
			function navbar_username_focus(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				if (textbox.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>')
				{
				//
					textbox.value='';
					textbox.style.color='{vb:stylevar input_color}';
				}
			}

			function navbar_username_blur(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				if (textbox.value == '')
				{
				//
					textbox.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>';
					textbox.style.color='{vb:stylevar shade_color}';
				}
			}
			
			function navbar_password_hint(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				
				YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "none");
				YAHOO.util.Dom.setStyle('navbar_password', "display", "inline");
				YAHOO.util.Dom.get('navbar_password').focus();
			}

			function navbar_password(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				
				if (textbox.value == '')
				{
					YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
					YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
				}
			}
			</script>
					<!-- / login form -->
				</div>				
			</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->
	<div id="contentMain">
		<div class="contentTL"><div class="contentTR"><div class="contentBL"><div class="contentBR">
			<div class="contentWrapper">
Reply With Quote
  #46  
Old 01-30-2013, 01:50 AM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where does this pull the date format from? Is it built into the modification or does it pull it from the date format we have set in our settings?

We have n/j/Y (1/29/2013) and would like it if this calendar would use that.

It would look like this:
Tuesday
1/29/2013

No day in our format, but I would like to keep that.
Reply With Quote
  #47  
Old 01-31-2013, 04:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
Joe, I have an update on this issue over at your place. Let me know where we'll be discussing this so neither of us have to play forum tag.
Bob is all set- it was his custom style that needed some custom CSS to get the text to show.

Quote:
Originally Posted by kfyonur View Post
i can't see calendar in my theme but i can see calendar on the other themes..

where can i add this code ?

Code:
<div class="ad_global_header">
		{vb:raw ad_location.global_header1}
		{vb:raw ad_location.global_header2}
	</div>
MY HEADER

Code:
<div id="pageWrapper">
	<div id="topBar">
		<div class="topBox">
			<div class="topBoxLeft"><div class="topBoxRight">
				<span>Audi T?rkiye Kul?b?'ne hoşgeldiniz.
<vb:if condition="$show['member']"> {vb:raw bbuserinfo.username}!<vb:else />! Bu ilk ziyaretiniz mi?</vb:if></span>
<div class="topBoxLinks">
<vb:if condition="$vboptions['enablefacebookconnect']">
<div id="fb_topbar<vb:if condition="$show['facebookuser']">_in</vb:if>">
		<ul>
				{vb:raw facebook_header}
		</ul>
</div>
</vb:if>
<vb:if condition="$vbulletin->options['display_social_icons']==1">
<div class="socialBox">
				<vb:if condition="$vbulletin->options['twitter_account']"><a href="http://www.twitter.com/{vb:raw twitter_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-twitter.png" alt="Follow us on Twitter" /></a></vb:if>
				<vb:if condition="$vbulletin->options['facebook_account']"><a href="http://www.facebook.com/{vb:raw facebook_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-facebook.png" alt="Follow us on Facebook" /></a></vb:if>
				<vb:if condition="$vbulletin->options['youtube_account']"><a href="http://www.youtube.com/{vb:raw youtube_account}" target="_blank"><img src="{vb:stylevar imgdir_themedir}/icon-youtube.png" alt="Watch us on YouTube" /></a></vb:if>
</div>
</vb:if>
<div class="topBarLinksWrap">
					<vb:if condition="$vboptions['archiveenabled']"><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></vb:if>
					<a href="#" class="topRSS"><img src="{vb:stylevar imgdir_themedir}/iconRSS.gif" alt="RSS" /></a>
</div>

				</div>
			</div></div>
		</div>
	<vb:if condition="$show['registerbutton']">
		<a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow" id="clickRegister"><img src="{vb:stylevar imgdir_themedir}/clickRegister_{vb:stylevar left}.png" alt="{vb:rawphrase register}" /></a>
	</vb:if>
	</div>
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
	<vb:if condition="$stylevar['titleimage']"><span class="logo"><a name="top" href="{vb:link forumhome}"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></span>
<vb:if condition="$vbulletin->options['modern_slogan_enable']">
	<span class="slogan">{vb:raw modern_slogan}</span>
</vb:if>

<vb:else />&nbsp;</vb:if>

	<vb:if condition="$show['member']">
	<div id="toplinks" class="toplinks">
			<ul class="isuser">
				<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onClick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
				<vb:if condition="$show['registerbutton']">
				<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
				</vb:if>
				<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
				<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
				<vb:if condition="$notifications_total">
				<li class="popupmenu notifications" id="notifications">
					<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
					<ul class="popupbody popuphover">
						{vb:raw notifications_menubits}
					</ul>
				</li>
				<vb:else />
				<li class="popupmenu nonotifications" id="nonotifications">
					<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
					<ul class="popupbody popuphover">
						<li>{vb:rawphrase no_new_messages}</li>
						<vb:if condition="$show['pmmainlink']"><li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li></vb:if>
					</ul>
				</li>
				</vb:if>
				<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
			</ul>
            {vb:raw template_hook.header_userinfo}
			<vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>		
	</div>
<vb:else />
			<div id="loginBox">
				<div class="loginBox">
					<!-- login form -->
					<script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>
					<form id="navbar_loginform" action="login.php?{vb:raw session.sessionurl}do=login" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
					<ul>
						<li class="inputPad"><div class="loginBoxInput"><input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if> loginInput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /></div></li>
						<li class="inputPad"><div class="loginBoxInput">
					<input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" />
					<input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /></div></li>				
						<li class="submitPad"><input type="image" src="{vb:stylevar imgdir_themedir}/loginButton.gif" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /></li>
					</ul>
					<div class="memberBottom">
						<div class="memberLinks">
							<a href="login.php?do=lostpw">Forgot password?</a><vb:if condition="$show['registerbutton']">  |  <a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></vb:if>
						</div>
						<div class="rememberMe"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label></div>
					</div>						
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="login" />
				<input type="hidden" name="vb_login_md5password" />
				<input type="hidden" name="vb_login_md5password_utf" />
			</form>
			<script type="text/javascript">
			YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
			YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
			vB_XHTML_Ready.subscribe(function()
			{
			//
				YAHOO.util.Event.on('navbar_username', "focus", navbar_username_focus);
				YAHOO.util.Event.on('navbar_username', "blur", navbar_username_blur);
				YAHOO.util.Event.on('navbar_password_hint', "focus", navbar_password_hint);
				YAHOO.util.Event.on('navbar_password', "blur", navbar_password);
			});
			
			function navbar_username_focus(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				if (textbox.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>')
				{
				//
					textbox.value='';
					textbox.style.color='{vb:stylevar input_color}';
				}
			}

			function navbar_username_blur(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				if (textbox.value == '')
				{
				//
					textbox.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>';
					textbox.style.color='{vb:stylevar shade_color}';
				}
			}
			
			function navbar_password_hint(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				
				YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "none");
				YAHOO.util.Dom.setStyle('navbar_password', "display", "inline");
				YAHOO.util.Dom.get('navbar_password').focus();
			}

			function navbar_password(e)
			{
			//
				var textbox = YAHOO.util.Event.getTarget(e);
				
				if (textbox.value == '')
				{
					YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
					YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
				}
			}
			</script>
					<!-- / login form -->
				</div>				
			</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->
	<div id="contentMain">
		<div class="contentTL"><div class="contentTR"><div class="contentBL"><div class="contentBR">
			<div class="contentWrapper">
I'm afraid it's going to be trial and error. Look at a default header template, see where that code is, and try to figure out where it would best go in your custom template.

Quote:
Originally Posted by Amaury25 View Post
Where does this pull the date format from? Is it built into the modification or does it pull it from the date format we have set in our settings?

We have n/j/Y (1/29/2013) and would like it if this calendar would use that.

It would look like this:
Tuesday
1/29/2013

No day in our format, but I would like to keep that.
That simply won't fit in the calendar graphic... But in the mod settings - Header Calendar by BOP5 - there are 3 options, PHP date() Month Setup, Day of week setup, and day setup... You can change one of them to n/j/Y and erase the others if you really wanted- I can't image it looks good though.
Reply With Quote
Благодарность от:
Amaury
  #48  
Old 05-14-2013, 02:05 AM
QBart2011's Avatar
QBart2011 QBart2011 is offline
 
Join Date: Dec 2012
Location: Lower Mainland BC
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I have this odd issue..

The Tab shows up great and with no problems under Internet Explorer but not under Firefox 20.0.1 release..

I checked all the settings and everything looks right. Also if it works for Internet Explorer I would imagine it is set correctly..
Reply With Quote
  #49  
Old 05-14-2013, 09:49 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By Tab I assume you mean calendar? Can you post a link to your site?

Do you see the calendar in firefox on the demo site? - http://www.qapla.com/mods/showthread.php/550
Reply With Quote
  #50  
Old 05-14-2013, 06:46 PM
QBart2011's Avatar
QBart2011 QBart2011 is offline
 
Join Date: Dec 2012
Location: Lower Mainland BC
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
By Tab I assume you mean calendar? Can you post a link to your site?

Do you see the calendar in firefox on the demo site? - http://www.qapla.com/mods/showthread.php/550
Yes I meant the Calendar ( Tab )..

Darn I just realized it's my AdBlock that is stopping it from showing up in Firefox..

In "Easy List" was the problem as there are two lines that pop up that block this Calendar Tab..

~318racing.org,~linuxforums.org##.ad_global_header

and

/tapatalkdetect.js

Once I disabled both the tab appeared no problem..
Reply With Quote
  #51  
Old 05-15-2013, 12:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for posting the solution. :up:
Reply With Quote
Reply

Thread Tools

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 04:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04981 seconds
  • Memory Usage 2,399KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete