Log in

View Full Version : Problem in ForumHome


muratozcirpici
01-21-2006, 10:37 PM
Problem in ForumHome

i show this problem with arrows on image.

this problem issue from forumhome_forumbit_level1_nopost.

my forumhome_forumbit_level1_nopost is ;

</table><div style="padding:5px 0px 5px 0px;"></div>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="30">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="260">$vbphrase[last_post]</td>
<td class="thead" width="55">$vbphrase[threads]</td>
<td class="thead" width="55">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="100">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
<tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>
</tbody>
</if>

peterska2
01-21-2006, 10:41 PM
It appears to actually be your level2_post template that has the problem.

Please post that template along with your version number then we can have a look at it.

muratozcirpici
01-21-2006, 11:01 PM
level2_post ;

<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits

i'm using vb 3.5.2. and bluesaint template

forum address : http://forum.fun.gen.tr

peterska2
01-21-2006, 11:12 PM
Ok, you're right, due to your style it does appear to be your level1_nopost

try this instead

</table><div style="padding:5px 0px 5px 0px;"></div>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="30">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="260">$vbphrase[last_post]</td>
<td class="thead" width="55">$vbphrase[threads]</td>
<td class="thead" width="55">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="100">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
<tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>
</tbody>
</if>

muratozcirpici
01-21-2006, 11:22 PM
thanks peterska2,

but problem.

please check : http://forum.fun.gen.tr

peterska2
01-21-2006, 11:26 PM
I see what you mean, but can't think at the moment where else the problem might be.

Hopefully someone more awake will be able to help you out better.

muratozcirpici
01-21-2006, 11:29 PM
added image.

please check.

PJSkiboy
01-21-2006, 11:50 PM
I too have this same issue. I understand that since the categories are seperated, that they dynamically resize on their own, instead of together like they were all by default.

I too would be interested in seeing if there is a solution to this.

CAMS
01-22-2006, 12:38 AM
just pulled this from one of the forums i have cat spacing working on without probs.. so try that :S

dunno if its helpful but just trying to help ;)

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</thead>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" with="40%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</tbody>
</table>
<div style="padding: 5px 5px 5px 5px;"></div>

ps: none of the code above was done by me .. just the code that worked for me that i found around the forums

muratozcirpici
01-22-2006, 08:59 AM
wow.... @Cams, you're perfect. thanks from turkey.

problem was fixed now..

PJSkiboy
01-25-2006, 02:53 AM
I tried the fix CAMS posted to no avail. Someone mentioned something about it depending on the style set you are using?

I did try this code change in both my level1_nopost and level2_nopost, but no change from either. I have reverted them back.

If someone wouldn't mind glancing at my site and seeing if i can be pointed possibly in the right direction, i'd appreciate it.

www.xboxliveleagues.com/forums/index.php

PJSkiboy
02-04-2006, 11:26 PM
anybody?

CAMS
02-05-2006, 02:55 PM
anybody?

noticed a problem in with the code that a gave..

try this code.. its not much of a change but it doesnt mess up when thers long thread names getting shown


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</thead>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" with="50%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</tbody>
</table>
<div style="padding: 5px 5px 5px 5px;"></div>

PJSkiboy
02-16-2006, 03:01 PM
CAMS, seriously, YOU ARE THE MAN!!!!!!!!!!!!

(Honestly, tears of joy are running down my face right now, lol.)

I have been trying everything and anything to solve this issue and that last code you posted did the trick.

Thank you sir.

THANK YOU THANK YOU THANK YOU THANK YOU................

almukmin
05-24-2006, 12:44 AM
It still doesnt work for me, I don't like the fact that the forum and thread title both have 50% space. I changed it to 60/40 or 70/30 and it reverts back to the original problem. Although, 50/50 looks fine, just fine.

<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" with="50%">$vbphrase[last_post]</td>


Another thing is, I thing you mispelt width with widt