2006-09-05, 06:01 PM
Pages: 1 2
2006-09-05, 06:14 PM
Go to inc/functions_forumlist.php
find:
Find:
Then you go to Admin CP -> Themes -> Modify / Delete -> *your themeset*
Go to the end and add into Additional CSS:
find:
$bgcolor = alt_trow();
add under:$bgcolor2 = ($bgcolor2 == "alttrow1") ? "alttrow2" : "alttrow1";
Then go to Admin CP -> Templates -> Modify / Delete -> *your templateset* -> Forum Bit Templates -> forumbit_depth2_forumFind:
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
and change to:<td class="{$bgcolor2}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
Then find:<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
and change to:<td class="{$bgcolor2}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
Then find:<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
And change to:<td class="{$bgcolor2}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
Then you go to Admin CP -> Themes -> Modify / Delete -> *your themeset*
Go to the end and add into Additional CSS:
.alttrow1 {
background-color: #f5f5f5;
}
.alttrow2 {
background-color: #EFEFEF;
}
Change the background-color to another color if you want.2006-09-05, 06:23 PM
Thats Coool...
Thanks!
Thanks!
2006-09-05, 08:06 PM
Owh strange....
I havent any inc/functions_forumlist.php this file...
ANYBODY HAVE THAT ???
I havent any inc/functions_forumlist.php this file...
ANYBODY HAVE THAT ???
2006-09-05, 08:17 PM
You still on MyBB 1.1.x?
If so go to your index.php file.
find:
If so go to your index.php file.
find:
if($bgcolor == "trow2")
{
$bgcolor = "trow1";
}
else
{
$bgcolor = "trow2";
}
add:$bgcolor2 = ($bgcolor2 == "alttrow1") ? "alttrow2" : "alttrow1";
under.2006-09-05, 08:36 PM
Ok thanks... Sorry for pm, i saw you offline, so i pm'ed you...
2006-09-05, 09:09 PM
Ok, but i can't find something that you said in forumbit_dept2_forum
My code is this
I cannot find
Any Help ?
My code is this
<tr>
<td class="$bgcolor" align="center" valign="center"><img src="$theme[imgdir]/$folder.gif" alt="" /></td>
<td class="$bgcolor" valign="center">
<strong><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></strong> $viewscount <br /><div class="smalltext">$forum[description]$subforums</div>
</td>
<td class="$bgcolor" valign="center" align="left" nowrap="nowrap"><b>»</b> $lastpost<br /><font style="font-size: 8pt" color="#FFFFFF"></font></font></td></td>
<td class="$bgcolor" valign="center" align="center" nowrap="nowrap">$threads</td>
<td class="$bgcolor" valign="center" align="center" nowrap="nowrap">$posts</td>
<td class="$bgcolor" valign="center" align="center" nowrap="nowrap">$moderators</td>
</tr>
I cannot find
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
and some codes...Any Help ?
2006-09-05, 09:11 PM
I only have 1.2
try this:
try this:
<tr>
<td class="$bgcolor2" align="center" valign="center"><img src="$theme[imgdir]/$folder.gif" alt="" /></td>
<td class="$bgcolor" valign="center">
<strong><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></strong> $viewscount <br /><div class="smalltext">$forum[description]$subforums</div>
</td>
<td class="$bgcolor2" valign="center" align="left" nowrap="nowrap"><b>»</b> $lastpost<br /><font style="font-size: 8pt" color="#FFFFFF"></font></font></td></td>
<td class="$bgcolor" valign="center" align="center" nowrap="nowrap">$threads</td>
<td class="$bgcolor2" valign="center" align="center" nowrap="nowrap">$posts</td>
<td class="$bgcolor" valign="center" align="center" nowrap="nowrap">$moderators</td>
</tr>
2006-09-05, 09:16 PM
Thanks, it seems very well.. But should i add this to css settings ??
.alttrow1 {
background-color: #f5f5f5;
}
.alttrow2 {
background-color: #EFEFEF;
}
2006-09-05, 09:23 PM
Or how can i change trow color ?
Pages: 1 2