PDA

View Full Version : [vB] Bugfix: Three level forum view


CustomerService
03-01-2008, 06:52 AM
Issue:

The way this skin was coded caused it to go out of whack when more than two levels of forums were being viewed at once.

Resolution:

Conditionals circumvent this issue from happening on the forumdisplay.

Manual Fix:

In the template forumhome_forumbit_level2_post, find:

<td style="width: 8px; background: #7F9DB9 url(images/sophist/main/forum_left_content.jpg) repeat-y top right">&nbsp;</td>Replace with:

<if condition="THIS_SCRIPT == index"><td class="forumLeft">&nbsp;</td></if>Find:

<td style="width: 8px; background: #7F9DB9 url(images/sophist/main/forum_right_content.jpg) repeat-y top left">&nbsp;</td>Replace with:

<if condition="THIS_SCRIPT == index"><td class="forumRight">&nbsp;</td></if>At the very bottom of the Style Manager, in the Additional CSS Definitions section, the bottom most window, paste at the end of the text area:

.forumLeft {
width: 8px;
background: #7F9DB9 url(images/sophist/main/forum_left_content.jpg) repeat-y;
}

.forumRight {
width: 8px;
background: #7F9DB9 url(images/sophist/main/forum_right_content.jpg) repeat-y;
}