MyBB Community Forums

Full Version: I have a problem in dealing with calendars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I just have succesfully set up a mybb forum, and I'm really enjoying it.
But unfortunately I ran into problems while trying to make the calendar work, I used the standard calendar, which is created during the installation of the mybb board, but it isn't shown anywhere on my forum (or, I didn't look very well, that's another possibility)

You can reach my forum, by using the following link:
http://aohowner.netii.net/forum/

I've also created a test-account, these are the logon credentials:
Quote:Username: testacc
Password: ***********

I really have no idea what the problem could be Huh
The theme you're using just hasn't got a link to it... you can add a link to it to the header_welcomeblock_member template, see how the other links are made, and add one for the calendar.
(2009-07-08, 05:32 PM)MattRogowski Wrote: [ -> ]The theme you're using just hasn't got a link to it... you can add a link to it to the header_welcomeblock_member template, see how the other links are made, and add one for the calendar.

Uh??
I really have no idea how I edit such a template, in the admin panel I can see a Templates & style menu, I guess it has to do something with that?
AdminCP-> Templates & Style-> Templates-> Your template name-> Header Templates-> header_welcomeblock_member.
(2009-07-08, 06:52 PM)RateU Wrote: [ -> ]AdminCP-> Templates & Style-> Templates-> Your template name-> Header Templates-> header_welcomeblock_member.

Thanks to both for your replies, I found the file, but how do I add the calendar to it?

I'll post the contents of the file here:
<table class="tnav" align="center">
<tr>
<td class="tnav" width="100%"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></td>
<td class="tnav" nowrap="nowrap" style="padding:0px">
<table class="tnav" align="right">
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=help">Help</a> | <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">Log Out</a> | <form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input value="Search the Forums" onfocus="if(this.value=='Search the Forums')this.value='';" onblur="if(this.value=='')this.value='Search the Forums';"type="text" class="textbox" name="keywords" value="" />
<input type="submit" class="button" value="{$lang->go}" />
</form></table>
</tr>
</td>

</tr>
</table>
</td>
<div align="center">
<table class="tnav" border="0" cellspacing="0" cellpadding="0" align="center" style="border-top-width:0px">
<tr align="center">
<td class="navbar"><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/index.php">Forums</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></td>
<td class="navbar"><a href="$settings[bburl]/search.php">{$lang->toplinks_search}</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></td>
</tr>
</table>
</div>
<br />
<table class="tborder" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="trow3" align="center">
		{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$modcplink}{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
				<span class="links">
						</span>
				<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
</td></tr></table>
<br />
<div align="center"><navigation></div>

I just want to add the default calendar to it.
<td class="navbar"><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/index.php">Forums</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></td>
<td class="navbar"><a href="$settings[bburl]/search.php">{$lang->toplinks_search}</a></td>
<td class="navbar"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></td>

Insert this code to the position that you want.

<td class="navbar"><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></td>
Thank you very much for replying, it's working now Smile
BTW, Is there somewhere a button where I can click on to mark this thread as solved?
And again: thanks for the excellent support you gave me Smile
With my pleasure. I hope you enjoy mybb.