View Full Version : A little bug on forum's first page.... any help?
stark427
10-27-2002, 02:35 PM
Hello.
I have installed 3 template hacks at my board (no php hack).
1) Remove moderators column
2) Space between Categories
3) Images at categories
everything seems fine except for a long time now.
These last days, though, I noticed a small bug at the "Currently Active Users" table:
I have attached a screenshot... You van see that there is a black vertical area at that table - on the right side.... :(
could someone help find the bug? I mean first of all, in which template should I start looking?
If I knew the template - in which there is the mistake - maybe I could copy it here and we could find the problem.
thanx in advance
stark427
10-27-2002, 02:37 PM
Just to add that this black area is visible ONLY when users are logged out - and not every time...
most of the times it is there.... (Im using IE6)
I have also noticed that with Opera Browser i have never seen this black area !
I'm guessing it's another cell with another border? NO, that can't be it. It seems like the borders shows up twice =/. Could you post here what you have in your forumhome_loggedinusers template?
stark427
10-27-2002, 03:01 PM
not sure but its probably the
forumhome_loggedinusers template, right?
here its the original :
________________________
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" colspan="6"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>
</tr>
______________________________________________
for removing the moderators column I had to do this change:
Template: forumhome_loggedinusers
Change:
colspan="6"
to
colspan="5"
and
colspan="6"
to
colspan="5"
____________-
for putting images at categories I did this:
Find the following code:
code:
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6">
and replace it with the following code:
code:
<tr id="cat">
<td background="{imagesfolder}/frontpage/cat_bg_01.gif" bgcolor="{categorybackcolor}" colspan="6">
____________________
so the template right now looks like that :
<tr id="cat">
<td background="{imagesfolder}/frontpage/cat_bg_01.gif" bgcolor="{categorybackcolor}" colspan="5"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" colspan="5"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>
</tr>
________________-
do you see anything wrong on this?
stark427
10-27-2002, 03:04 PM
Originally posted by mli
I'm guessing it's another cell with another border? NO, that can't be it. It seems like the borders shows up twice =/. Could you post here what you have in your postbit_pmloggedin template?
oups sorry - I was writing my reply while you were replying :o
im not sure I can find the template u told me!
do ya mean the forumhome_pmloggedin ?
EDIT: Yes, it is the template you said. I got it wrong and edited my post. Then you posted the html.
Sorry, I put the wrong template down. Anyway, everything seems in order.....hmmm....try putting
border="1"
after
background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_01.gif"
This is a longshot, but I'm not sure what else to do.
stark427
10-27-2002, 03:10 PM
Originally posted by mli
EDIT: Yes, it is the template you said. I got it wrong and edited my post. Then you posted the html.
Sorry, I put the wrong template down. Anyway, everything seems in order.....hmmm....try putting
border="1"
after
background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_01.gif"
This is a longshot, but I'm not sure what else to do.
thanx but it didn't work
any other ideas?
Try changing the colspan back to 6.
stark427
10-27-2002, 03:12 PM
both?
Try one. Then the other. Then try both. Experiment :)
stark427
10-27-2002, 03:18 PM
changing the first only fixed the upper cell
changed both and it seems fixed ;)
this is strange u know.
I mean according to the instructions of the hacks - I must do them in this order:
1) Remove moderators column
2) Space between Categories
3) Images at categories
the 1) hack wants the colspan to be converted from 6 to 5...
the 3) hack's instructions has 6 as the colspan number - but I had changed it back to 5 thinking that this is what the 1st hack needs ....
it seems that this was the mistake...
thanx mate I appreciate it... :D
I'm happy it worked out for ya :). And yes, it is strange, although installing multiple hacks can have some negative effects.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.