MyBB Community Forums

Full Version: clustered name
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
not 100% if this is a theme support or a general support. "sorry"

not sure why it is doing this if it is a CSSĀ problem or coding problem.

[Image: 6wBLj2teSg_YzP1sLi1rLQ.png]
The code in page manager

this theme is 100% responsive "it is not ripped" is a purchased theme but the creator is on hiatus.
<?php

global $headerinclude, $header, $theme, $footer, $lang;

if(!$mybb->user['uid']) error_no_permission();

$lang->load('modcp');

$bannedquery = $db->simple_select("banned", "uid, admin, reason, dateline, lifted", "", array("order_by" => 'dateline', "order_dir" => 'DESC'));

if ($db->num_rows($bannedquery) > 0)
{
	$bannedtablerows = "";
	while ($ban = $db->fetch_array($bannedquery))
	{
		$banneduser = get_user($ban['uid']);
		$banby = get_user($ban['admin']);

		if ($ban['lifted'] > 0)
			$unbandate = my_date($mybb->settings['dateformat'], $ban['lifted']);
		else
			$unbandate = $lang->never;

		$bannedtablerows .= '<tr>
		<td class="trow1">'. build_profile_link($banneduser['username'], $banneduser['uid']). '</td>
		<td class="trow1">'. $ban['reason']. '</td>
		<td class="trow1">'. build_profile_link($banby['username'], $banby['uid']). '</td>
		<td class="trow1">'. my_date($mybb->settings['dateformat'], $ban['dateline']) .'</td>
		<td class="trow1">'. $unbandate .'</td>
		</tr>';
	}
}
else
{
	$bannedtablerows = '<tr><td class="trow1" colspan="5" align="center">'. $lang->no_banned .'</td></tr>';
}

$template='<html>
<head>
<title>'.$pages['name'].'</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead" colspan="5"><strong>{$lang->ban_banned}</strong></td></tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->start_date}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->end_date}</strong></span></td>
</tr>
{$bannedtablerows}
</table>
{$footer}
</body>
</html>';

$template=str_replace("\'", "'", addslashes($template));

add_breadcrumb($pages['name']);

eval("\$page=\"".$template."\";");

output_page($page);

?>
much help is appreciated
I believe it is a problem with class tcat used in the php file for your bans page that you have mentioned.
Can you share your website url so that I can know what code is used for tcat ?

Regards
WallBB
(2017-11-13, 09:59 AM)WallBB Wrote: [ -> ]I believe it is a problem with class tcat used in the php file for your bans page that you have mentioned.
Can you share your website url so that I can know what code is used for tcat ?

Regards
WallBB

at this moment I cant the site is on localhost and the real site is currently off for maintenance by my site hosts.

okay the site is on
https://crackinggods.com/index.php
I don't currently have the mybb code in the footer I am planning on adding it just need to figure out which side I want it on lol.


dontĀ let the name fool you it is a general community we speak about everything.
mostly animes and games Smile
As I thought, the issue is with tcat only. Go to your dark.css and find the tcat code and replace it with this
.tcat {
    background: #1d1d1d url(../../../images/dark-fire/stripe.png) repeat top left !important;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .2);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .2);
    padding: 1px;
}

Should fix it, also please add MyBB copyright in footer.

Regards
WallBB
(2017-11-13, 10:27 AM)WallBB Wrote: [ -> ]also please add MyBB copyright in footer.

Regards
WallBB
i am set on adding it to the footer just a bit screwy b/c the theme needs some tweaking.
and i will add the code thank you.