MyBB Community Forums

Full Version: [Release] Default Rounded
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I was commenting at the part you said 'so don't change my mind again' or you don't remember what you post even when quoted?
Seems like a little misunderstanding :O
Thanks for release, looks very good!
@Zomaian: Actually, computergeek started to work on this before you posted about your theme Toungue It was a request form T0m
Default Rounded (RTL/Persain Version) by MybbIran.com
[attachment=15965]


Main Link:
http://community.mybbiran.com/thread-541-post-1790.html

Thanks
I found a few bugs in the theme where the tables aren't rounded. Should be fixed soon.

Edit: Everything is fixed. I'm sure I covered everything but if you've found something, please don't hesitate to tell me.
Can you tell me where the errors are? (I have a theme almost done lolToungue)
Yep. It's big but here it is:

Find Poll Templates > poll_showresults and replace everything with this
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->poll_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4" align="center"><strong>{$poll['question']}</strong></td>
</tr>
{$polloptions}
<tr>
<td class="tfoot3" align="right" colspan="2"><strong>{$lang->poll_total}</strong></td>
<td class="tfoot3" align="center"><strong>{$poll['numvotes']} {$lang->poll_votes}</strong></td>
<td class="tfoot2" align="center"><strong>{$totpercent}</strong></td>
</tr>
</table>
{$footer}
</body>
</html>

Find Ungrouped Templates > previewpost and replace everything with this
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder3" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_preview}</strong></td>
</tr>
</table>
{$postbit}
<br />

Find Global Templates > global_bannedwarning and replace everything with this
<div class="red_alert rounded">
<strong>{$lang->banned_warning}</strong>
{$lang->banned_warning2}: {$reason}<br />
{$lang->banned_warning3}: {$banlift}<br />
</div>
<br />

Find Global Templates > global_pm_alert and replace everything with this
<div class="pm_alert rounded" id="pm_notice">
	<div class="float_right"><a href="private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismis_notice}" onclick="return MyBB.dismissPMNotice()"><img src="{$theme['imgdir']}/dismiss_notice.gif" alt="{$lang->dismis_notice}" title="[x]" /></a></div>
	<div>{$privatemessage_text}</div>
</div><br />

Find Global Templates > global_unreadreports and replace everything with this
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
<tr>
<td class="trow1" align="right"><span class="smalltext"><a href="modcp.php?action=reports">{$lang->unread_reports}</a></span></td>
</tr>
</table>
<br />

Find Private Messaging Templates > private and replace everything with this
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a> | <a href="private.php?action=send">{$lang->compose_message2}</a> | <a  href="private.php?action=folders">{$lang->manage_folders}</a> | <a  href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{$limitwarning}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->pms_in_folder}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong>{$sender}</strong></span></td>
<td class="tcat" align="right"  width="20%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="Select All" type="checkbox" class="checkbox checkall" value="Check All" /></span></td>
</tr>
{$messagelist}
<tr>
<td class="tfoot" align="right" colspan="6">
<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}
<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$multipage}</td>
<td class="trow1" align="right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form>
{$footer}
</body>
</html>

Find Calendar Templates > calendar_dayview and replace everything with this
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
{$headerinclude}
</head>
<body>
{$header}
{$birthdays}
{$events}
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
					<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$month}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						</select>
						<select name="year">
							<option value="{$year}">{$year}</option>
							<option value="{$year}">----------</option>
							{$yearsel}
						</select>
						{$gobutton}
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
						{$calendar_jump}
						{$gobutton}
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
{$footer}
</body>
</html>

Find Calendar Templates > calendar_dayview_noevents and replace everything with this
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
<tr>
<td class="trow1">{$lang->no_events}</td>
</tr>
</table>

Find Calendar Templates > calendar and replace everything with this
<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="8">
					<div class="float_right">
						<a href="{$prev_link}">&laquo; {$monthnames[$prev_month['month']]} {$prev_month['year']}</a> | <a href="{$next_link}">{$monthnames[$next_month['month']]} {$next_month['year']} &raquo;</a>
					</div>
					<div><strong>{$monthnames[$month]} {$year}</strong></div>
				</td>
			</tr>
			<tr>
				<td class="tcat">&nbsp;</td>
			{$weekday_headers}
			</tr>
		</thead>
		<tbody>
		{$calendar_rows}
		</tbody>
	</table>
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-top">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
						<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$month}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						</select>
						<select name="year">
							<option value="{$year}">{$year}</option>
							<option value="{$year}">----------</option>
							{$yearsel}
						</select>
						{$gobutton}
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
						{$calendar_jump}
						{$gobutton}
						</td>
					</tr>
				</table>
			</td>
		</tr>
		</table>
	</form>
{$footer}
</body>
</html>

Find Statistics Templates > stats and replace everything with this
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->board_stats}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder rounded-bottom-2">
<tr>
<td class="thead" colspan="2"><strong>{$lang->board_stats}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->totals}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->averages}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
{$lang->posts} <strong>{$stats['numposts']}</strong><br />
{$lang->threads} <strong>{$stats['numthreads']}</strong><br />
{$lang->members} <strong>{$stats['numusers']}</strong>
</td>
<td class="trow1" rowspan="3" valign="top">
{$lang->ppd} <strong>{$postsperday}</strong><br />
{$lang->tpd} <strong>{$threadsperday}</strong><br />
{$lang->mpd} <strong>{$membersperday}</strong><br />
{$lang->ppm} <strong>{$postspermember}</strong><br />
{$lang->rpt} <strong>{$repliesperthread}</strong>
</td>
</tr>
<tr>
<td class="tcat" valign="top"><strong>{$lang->general}</strong></td>
</tr>
<tr>
<td class="trow1">
{$lang->newest_member} {$stats['newest_user']}<br />
{$lang->members_posted} <strong>{$havepostedpercent}</strong><br />
{$lang->todays_top_poster}<br />
{$lang->popular_forum}
</td>
</tr>
</table>


<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->most_popular}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->most_replied_threads}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->most_viewed_threads}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$mostreplies}</td>
<td class="trow1" valign="top">{$mostviews}</td>
</tr>
</table>
{$footer}
</body>
</html>


And in your CSS file, place this
.rounded-bottom tbody tr:nth-child(5) td:first-child {
        -moz-border-radius-bottomleft: 5px;
        -webkit-border-bottom-left-radius: 5px;
        border-bottom-left-radius: 5px;
}

.rounded-bottom tbody tr:last-child td:first-child {
        -moz-border-radius-bottomleft: 0;
        -webkit-border-bottom-left-radius: 0;
        border-bottom-left-radius: 0;
}

.rounded-bottom-2 tbody tr:last-child td:first-child {
        -moz-border-radius-bottomright: 0;
        -webkit-border-bottom-right-radius: 0;
        border-bottom-right-radius: 0;
}

.rounded-bottom-2 tbody tr:nth-child(3) td:last-child {
        -moz-border-radius-bottomright: 5px;
        -webkit-border-bottom-right-radius: 5px;
        border-bottom-right-radius: 5px;
}

.rounded {
	    -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
}
right after
.bottom-round tbody tr:last-child td:first-child {
        -moz-border-radius: 0;
	-webkit-border-radius: 0;
        border-radius: 0;
}

I applaud you if you have gotten this far.
Damn, that's a lot Sad.
I'm going to be making a guide for this so that everyone will understand what the extra classes are and how to use them. Hopefully this will help people when making rounded themes based off of this one.
Pages: 1 2 3