PDA

View Full Version : Forum Home Enhancements - ForumHome Category Spacing


DaPro
08-08-2006, 10:00 PM
This is a small port from what Floris and Zachery have written on Forum Category Spacing. I hope that some of you will find this bit of information usefull. Don't forget to click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=123530) :). Thanks.

Credits:
Floris - http://www.vbulletin.com/forum/showthread.php?t=110590
Zachery - https://vborg.vbsupport.ru/showthread.php?t=88983

Changelog:

*Note: I skipped 1.4 because 1.5 just looks better :D
v1.5 (May 12 2007)
========================
- Updated to Support vBulletin 3.6.6

v1.3 (Nov 03 2006)
========================
- Fixed forumhome Guest Message break.
- Fixed lastpost break.

v1.2 (Oct 31 2006)
========================
- Fixed some random HTML problems.
- Reworked the Last Post Optional Edit
- Should be 3.6.2 compatible

v1.1 (Aug 10 2006)
========================
- Updated to be XHTML Transitional Valid

v1.0 (Aug 9 2006)
========================
- Initial port & release

Brandon Sheley
08-09-2006, 07:39 PM
thx, but can u link to the previous hack or a screen shot ?

thank you :)

DaPro
08-09-2006, 08:32 PM
thx, but can u link to the previous hack or a screen shot ?

thank you :)

Sure no problem, did both for you guys! Enjoy.

Snatch
08-10-2006, 06:05 AM
Cool, I searched for this so much.

but one question. How can I delete this Line (show Attach)

GreeTz
Snatch

Oblivion Knight
08-10-2006, 06:15 AM
Cool, I searched for this so much.

but one question. How can I delete this Line (show Attach)

GreeTz
SnatchDelete this part of code in the FORUMHOME_FORUMBIT_LEVEL1_NOPOST template:
<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>

Doc Great
08-10-2006, 06:31 AM
One question, is it valid xhtml Transitional?

Cheers,
Sven

Snatch
08-10-2006, 08:11 AM
Thank YOU !!!

GreeTz
Snatch

DaPro
08-10-2006, 10:44 AM
One question, is it valid xhtml Transitional?

Cheers,
Sven

My apologies, I forgot to check the code for validation like I should :-|. I have updated the port to reflect the changes and just grab the new TXT file. For those who don't wanna go through it all here are the XHTML Validation changes. (If you find more let me know :))

Find the following code in FORUMHOME
======================================
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
</thead>
$forumbits
$forumhome_markread_script
<!-- /main -->

Replace that code with the following:
======================================
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
</table>
$forumbits
$forumhome_markread_script
<!-- /main -->

All done.

StuntFactoryX
08-10-2006, 04:13 PM
what does this mean or do? xml stuff?

DaPro
08-10-2006, 04:23 PM
what does this mean or do? xml stuff?

It is pretty self explainitory. It seperates each forum category on the forumhome so it looks neater and more organized. Can be seen on many forums today. I even have a screenshot up there for you.

StuntFactoryX
08-10-2006, 04:54 PM
i understand that... i was asking about the update... i used your first code and it worked great.. just curious what the update did? and the optional template edit that u have in the txt file what does that do? thanks for your work.. looks great w/ my skin.

DaPro
08-10-2006, 05:08 PM
i understand that... i was asking about the update... i used your first code and it worked great.. just curious what the update did? and the optional template edit that u have in the txt file what does that do? thanks for your work.. looks great w/ my skin.

Oh, well yea the first one should work fine, this is so your forum will be XHTML validated meaning that all browsers should be ok with this. I like having code be valid before using it. :)

GreysAnatomy
08-11-2006, 05:29 AM
Thank you so so much! I had this on 3.5.4 and just couldn't do without it on 3.6 too. :)

Floris
08-11-2006, 07:00 PM
Thanks for the credit :)

Moonkat
08-12-2006, 07:34 AM
I'm using the Kirsch (https://vborg.vbsupport.ru/showthread.php?t=118850&page=5) style & this did weird things with the post icon box portion of each forum listing - they're all different widths now. I'm trying to figure out which part controls that in order to fix it.

http://www.vanguardroleplayers.com/messedup.jpg

Moonkat
08-12-2006, 10:42 AM
I'm not sure what went wrong. At any rate, I uninstalled this and did Flo's and it worked fine, so I'll go with that one. Thank you for posting this, though, it still helped & I wouldn't have found it otherwise probably. :)

aveon
08-13-2006, 04:06 PM
cant we allign them thith out using the row i marked on the snap it volp be alot different and better if any one can figure it out...

http://img71.imageshack.us/img71/9513/categoryspacingfi1.gif

ma2002hi
08-14-2006, 11:24 AM
thanks a lot man

jdk10
08-19-2006, 07:58 PM
Works great. Thank you

Snake
08-20-2006, 10:58 AM
Thanks for this! :)

idwf
08-23-2006, 05:55 PM
thanks for this. Any chance you guys could point me in the direction of how to add images to the top and bottom of these?

xman_79
08-26-2006, 07:36 PM
It is the first time when it's working great.
Thank you .

GreysAnatomy
08-28-2006, 04:32 AM
I've installed it and it works great but the last part, the optional one in the forumhome_lastpostby template doesn't seem to work. Whenever people click on the little arrow in order to get to the last post, they get a message 'No Thread specified. If you followed a valid link, please notify the administrator.'

I know, I could just leave this but I love the way it looks and thought I'd ask since I have no idea what I'm doing and don't wanna mess up the whole template.

Ah well, I ended up messing around myself and here's the code that managed to fix my problem:
<table cellpadding="0" cellspacing="0" border="0" width="175"><tr align="$stylevar[right]">

<td nowrap="nowrap"><span class="smallfont">

<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="Go to first unread post in thread '$lastpostinfo[lastthread]'"><b>$lastpostinfo[trimthread]</b></a><br />

Poster: <a href="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]">$lastpostinfo[lastposter]</a><br />

$lastpostinfo[lastpostdate]

<if condition="$vboptions['yestoday'] != 2">

<span class="time">$lastpostinfo[lastposttime]</span>

</if>

</span></td>

<td nowrap="nowrap">&nbsp;<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></td>

</tr></table>

All I did was changing the link and url of the 'Go to last post' arrow.

upsetter
08-29-2006, 02:05 AM
thank you sir, looks awsome... http://forums.boostconcept.com :)

Exitilus
08-30-2006, 12:34 AM
Where would I reduce how much spacing is inbetween ?

Sean James
09-04-2006, 09:29 AM
Great hack, and works great on my forumhome http://www.bluepearl-design.com/forums/?styleid=46

but when i view my sub-forums the page messes up http://www.bluepearl-design.com/forums/free-vbulletin-phpbb-smf-templates/?styleid=46

Pipe Hitter
09-04-2006, 04:55 PM
I've installed it and it works great but the last part, the optional one in the forumhome_lastpostby template doesn't seem to work. Whenever people click on the little arrow in order to get to the last post, they get a message 'No Thread specified. If you followed a valid link, please notify the administrator.'


All I did was changing the link and url of the 'Go to last post' arrow.

Had the same problem. Thanks for the fix.

Exitilus
09-05-2006, 12:03 AM
I'm not sure what went wrong. At any rate, I uninstalled this and did Flo's and it worked fine, so I'll go with that one. Thank you for posting this, though, it still helped & I wouldn't have found it otherwise probably. :)

Same here ... I'm a bit too lazy currently to see where the error in the code is though *lol*

rasun
09-06-2006, 06:46 PM
Thank you, but now my Threads, Posts and Moderators collumns are to much expanded through this.
Forum and Last Posts collumn are now to small...

How can I change the column width?

ssvp
09-09-2006, 05:26 AM
I'm no expert.. But here's what I did..


LEVEL1_NOPOST - I changed this to 20.
<td class="thead" width="20">&nbsp;</td>

LEVEL2_POST - I change this to 20. basically I added width="20"

<tr align="center">
<td class="alt2" width="20" align="$stylevar[left]">

Now my Status icons I use fir that width, your icons may be different.. Basically I just did some trial and error.. It solved my various width issues..

Tony_FPM
09-09-2006, 11:50 AM
I have used the one of Vbulletin.com. Alle worked accept for my private forums.
The are still attached ? Somebody know how to change this ?

Tony_FPM
09-13-2006, 08:20 PM
Nobody can help me with this ???? Please !!!

Neo_Angelo
09-15-2006, 11:40 AM
just what i've been looking for, i think this should be standard with vB...nice job!

Kadi
09-19-2006, 07:56 AM
My FORUMHOME code is different than the one in step1. What should I do?

Smike
09-24-2006, 11:57 AM
i search the same for vb3.6.1

Hornstar
09-25-2006, 09:45 AM
Yeah ive been using this for a while thanks to floris and zachery, but im sure this will help lots of other people, as it makes your forums look heaps better.

SleekSkins
10-02-2006, 09:19 PM
DaPro,

When you are logged in and the guest welcome is not showing. The table open and close tags are still there:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

</table>

You should put the if statements before the table open tag and after the table close tag, like this:
<if condition="$show['guest']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

...

</table>
</if>

a squared
10-09-2006, 09:03 PM
Is this 3.6.2 compatible?

Shanj
10-12-2006, 11:54 PM
Is there a mod to set the default collapse layout? At minimum it'd be nice to open the forum with no forums expanded. Bertter select one or more key ones to expand and that's part of the default view.

ONick
10-19-2006, 06:46 PM
I was looking for this! Thanks! Clicked install! :lick:

Although after doing this, it seems that my category and last post columns are not aligned with each other. But the thread and posts columns are fine. Any idea on why this is?

DaPro
10-31-2006, 08:51 PM
I was looking for this! Thanks! Clicked install! :lick:

Although after doing this, it seems that my category and last post columns are not aligned with each other. But the thread and posts columns are fine. Any idea on why this is?

Can you send me a link to your forums, maybe I can see whats up.

rezapci
11-01-2006, 07:22 AM
hey Dapro

I have problem, the code are diff then mine! let me paste my codes so you can fix or tell where do I have to change .. ect

FORUMHOME

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<!-- main -->
<if condition="$vboptions['qnews_enabled'] == 1">
<if condition="$vboptions['qnews_forumhome'] == 1">
<if condition="$vboptions['qnews_guests'] == 1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
<else />
<if condition="$show['guest']">
<!-- No message for guests -->
</if>
</if>

<if condition="$vboptions['qnews_admin'] == 1">
<if condition="$bbuserinfo[usergroupid] == 6">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
</if>
<else />
<if condition="$vboptions['qnews_guests'] == 1">
<if condition="$bbuserinfo[usergroupid] == 1">
<!-- No message for guests, if admin view only is set to no, and guest view is also set to no -->
</if>

<else />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"

align="center">
<tr>
<td align="center" class="tcat">Quick News</td>
</tr>
<tr>
<td class="alt1">$vboptions[qnews_news]</td>
</tr>
</table>
<br>
</if>
</if>
</if>
</if>

</if>
</if>
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online214.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$fakenames $activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats12.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> </td>
</tr>
</tbody>
<!-- Start Haggis Mod -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_haggis')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">Top Posters</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_haggis" style="$vbcollapse[collapseobj_forumhome_haggis]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="Top Posters" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$test</div>

</div>
</td>
</tr>
</tbody>
<!-- End Haggis Mod -->
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

FORUMHOME_FORUMBIT_LEVEL1_NOPOST

<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="<if condition="$show['zointsurl']">$forum[zointsurl]<else />forumdisplay.php?$session[sessionurl]f=$forum[forumid]</if>">$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}">
$childforumbits
</tbody>
</if>


FORUMHOME_FORUMBIT_LEVEL2_POST

<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">

<if condition="in_array($forum['forumid'], array(23,85,129,20,64,26,24,41,58,51,52,46,40,35,4 3,42,66,61,67,74,54,63,34,86,133,53,105,47,126,59, 60,65,62))">
<img src="images/forum_pics/$forum[forumid].png" align="left" style="margin-right: 9px" alt="" border="0" />
</if>

<div>
<a href="<if condition="$show['zointsurl']">$forum[zointsurl]<else />forumdisplay.php?$session[sessionurl]f=$forum[forumid]</if>"><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

tell how can I replace those? because I have some hack involve with them!

thanks much :)

DaPro
11-02-2006, 11:59 AM
hey Dapro

I have problem, the code are diff then mine! let me paste my codes so you can fix or tell where do I have to change .. ect

tell how can I replace those? because I have some hack involve with them!

thanks much :)

The best thing I can say to do rezapci, is to look at your current code with the hacks and try to find siginificant differences and make those changes manually. Because if you have a lot of changes, it will take a while, and I cannot support you in that. If you are really in a bind and don't want to go through that, send your versions of FORUMHOME FORUMHOME_FORUMBIT_LEVEL1_NOPOST and FORUMHOME_FORUMBIT_LEVEL2_POST. I will see what I can do.

- John

Stavs16
11-12-2006, 03:59 PM
after i installed this to my default page , this is what my site looked like.

www.xcaliburforums.com/index.php

is this correct?

Smoothie
11-12-2006, 04:55 PM
after i installed this to my default page , this is what my site looked like.

www.xcaliburforums.com/index.php (http://www.xcaliburforums.com/index.php)

is this correct?
I would say................nope!

Stavs16
11-12-2006, 11:19 PM
thats what i though too, i followed all the instructions perfectly and thats what i ended up with. Why is this?

If anyone knows what went wrong plz explain!!

thanks

this is for my visual depths style,
FORUMHOME
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>

$header
$navbar
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>

<!-- main -->
<br />
<br />
$forumbits
$forumhome_markread_script
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_left.gif" alt=" " border="0" /></td>
<td align="center" width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle"><strong><font color="#FFFFFF">$vbphrase[whats_going_on]</font></strong></td>
<td align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_right.gif" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users --><tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<!-- end what's going on box -->
<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/bot_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bot_back.gif)"></td>
<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/bot_right.gif" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->

<!-- icons and login code -->
<br />
<table border="0" align="center" cellpadding="5" cellspacing="0" style="border: 1px solid #5C6268; background-color: 222829;">
<tr>
<td align="center" valign="middle" class="smallfont" >
<img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" align="middle" border="0" /> New posts &nbsp; &nbsp;
<img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" align="middle" border="0" /> No new posts &nbsp;&nbsp;
<img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" align="middle" border="0" /> A locked forum &nbsp;&nbsp;</td>
</tr>
</table>

</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

[B]WHERE WOULD I INSERT
<!-- main -->
<if condition="$show['guest']">
<!-- guest welcome message -->
<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>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</thead>
</table><br />
<!-- / guest welcome message -->
</if>
$forumbits
$forumhome_markread_script
<!-- /main -->

phovanxua
11-14-2006, 12:05 AM
Stav16 Something wrong with Default style ...I try on my default ...I got same thing , but If you try to a difference template ...it work ok .

You can change it back default here :

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

phovanxua
11-14-2006, 12:31 AM
I'm no expert.. But here's what I did..


LEVEL1_NOPOST - I changed this to 20.
<td class="thead" width="20">&nbsp;</td>

LEVEL2_POST - I change this to 20. basically I added width="20"

<tr align="center">
<td class="alt2" width="20" align="$stylevar[left]">

Now my Status icons I use fir that width, your icons may be different.. Basically I just did some trial and error.. It solved my various width issues..


This one work perfect on my ....thanks .

Stavs16
11-14-2006, 11:08 PM
thanks phovan did what you said and works!

Stavs16
11-14-2006, 11:12 PM
<a href="http://www.xcaliburforums.com/index.php" target="_blank">www.xcaliburforums.com/index.php</a> - this is the link to my website, as you can see i have one big table, but if i want to add tables, for example, one for miscellaneous, discussion, download centre etc, how would i do that?

phovanxua
11-15-2006, 04:44 AM
www.xcaliburforums.com/index.php - this is the link to my website, as you can see i have one big table, but if i want to add tables, for example, one for miscellaneous, discussion, download centre etc, how would i do that?


You have to devide them under difference catogory first .

For example :

Media Center : <=== When you add the forum ...make this one is Not a Forum active .
-Media = set it forum <=== Parent would be Media Catergor , display order is 2 ...make it a forum active ( act as a forum)
-Stream videos = set it forum <=== Parent would be Media Catergor , display order is 3 ...make it a forum active ( act as a forum)
- Movie video ...
- Music ....


For example of 4 above ...now you have 1 block catergory Media

And then You add another forum call General ... make that one atc as forum = NO
-Help and support <=== Act as forum (YES) Parent forum woul be General ...
-Discussion <=== Act as forum (YES) Parent forum woul be General ...


So on and on ....that would be divide your forum with many difference Catergory and look nice .

phovanxua
11-15-2006, 04:52 AM
Stavs16

How come you not install Vbadvanced CMPS http://www.vbadvanced.com/ ....it's free .

Stavs16
11-16-2006, 02:21 AM
doing it!

phovanxua
11-16-2006, 10:06 PM
doing it!

Stavs16 ,

It's messing up your default styles , you can go here download free skin : www.forumtemplates.com ,they had many skin for free ,you had to scroll down to mid page ...then it's should be free.

Installed them to your forum , then your forum will look OK with catergory spacing , but right now your forum default is mess up your forum .

After you installed new skin to your forum , then you have to go to the template that skin do the modified catergory spacing .

If you needs help ...let me know ...I can help you with that ,just PM me .

Ketro
11-18-2006, 05:40 PM
After HOURS AND HOURS of searching for a mod I could use with 3.6.3, I finally found it. And that last little change to Last Post By was amazing.

Thankyou for making my day a good one.

Installed.

Avalon111
11-27-2006, 10:41 AM
i have a slight problem.

on the main forums page, everything is displayed okay
56738

but in the subforums with the following structure,
category
- - act as forum <<--- viewing this forum in screenshot
- - - - category
- - - - - - act as forum
- - - - - - act as forum
- - - - category
- - - - - - act as forum
- - - - - - act as forum

there is an additional line with:
|| Forum || Last Post || Threads || Posts
56739


with this structure its also working:
but in the subforums with the following structure,
category
- - act as forum <<--- viewing this forum in screenshot
- - - - - act as forum
- - - - - act as forum
- - - - - act as forum
- - - - - act as forum
56743


so it seems like this "categories" in "categories" are causing the additional
|| Forum || Last Post || Threads || Posts

anyone an idea how to remove this line in this case?

Limerick
11-28-2006, 07:59 PM
Hello DaPro,

May your hack may become a convenient product someday ?

It would be much easier to test it, to approve it and then to click INSTALL ;) :D

taumau
11-29-2006, 07:35 PM
By the way, what Style is that on your forum?

DrewzR/T
12-03-2006, 08:04 AM
I'm no expert.. But here's what I did..


LEVEL1_NOPOST - I changed this to 20.
<td class="thead" width="20">&nbsp;</td>

LEVEL2_POST - I change this to 20. basically I added width="20"

<tr align="center">
<td class="alt2" width="20" align="$stylevar[left]">

Now my Status icons I use fir that width, your icons may be different.. Basically I just did some trial and error.. It solved my various width issues..

Thank you this worked for me. Only think is the code was different than the supplied code for this hack. Level 2 post should look like this....

<tr align="center">
<td class="alt2" width="20"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></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" width="175">$forum[lastpostinfo]</td>
<td class="alt1" width="65">$forum[threadcount]</td>
<td class="alt2" width="65">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1" width="120"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits

cipciop
12-15-2006, 11:59 PM
How i can add images border around ?

Doc Great
01-09-2007, 12:03 PM
My apologies, I forgot to check the code for validation like I should :-|. I have updated the port to reflect the changes and just grab the new TXT file. For those who don't wanna go through it all here are the XHTML Validation changes. (If you find more let me know :))

Find the following code in FORUMHOME
======================================
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
</thead>
$forumbits
$forumhome_markread_script
<!-- /main -->

Replace that code with the following:
======================================
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
</table>
$forumbits
$forumhome_markread_script
<!-- /main -->

All done.

Hi folks,

DaPro, you should update your txt with this chances, now it's not xhtml transitional valid :)

Cheerio

obmob
01-18-2007, 05:44 PM
Nice, i was able to use it, even i had a lot of mods in forumhome :)

Smoothie
02-05-2007, 01:12 PM
Here comes the TMS Product for the category spacing hack.

Before installing, make sure you have installed the Template Modification System http://www.vbhacks-germany.org/showthread.php?t=5572

What's the template modification system? And why do you need to register to view that thread?

Doc Great
02-05-2007, 01:34 PM
The template modification system is a great mod from Andreas (KirbyDE), but unfortunately only released at vbhacks-germany.org, the official german vbhack site. I hope the modification will be released at vb.org :-)

The tms allows you making code changes to templates without editing the original templates.


Smart, here it was :D

Clayton
02-18-2007, 11:52 AM
firstly thank you for your work

then I would like to ask how I could line the various forums up, please?

the lines are not 'in-line'

see attachment

ps.. I created categories but did not make some forums as part of those categories .. as I want to be able to display those forums on my Forum Home as I use show only 1 forum on Forum Home. This was the best solution i could find unless u can suggest somehting else

Detomah
02-28-2007, 01:02 PM
I've always loved the hacks that do this as they make the forum look much nicer, why it can't be a vBulletin default is beyond me though.

The one thing that always annoys me is the lining up bit, it's such a pain to get right.

Anyhoo...

/me happily installs this version, as the other "automatic" version available leaves the tables out of line anyway, so manual editing is a must for me, either way.

prowarfare
03-03-2007, 09:11 PM
I have done it and it looks great. but when browsing my forums i have come across a problem.

http://img214.imageshack.us/img214/386/problemnc5.jpg

Seems like it only effects it if there are borders on. If it didnt have borders it would look normal. Is there a way to fix this problem and keep the borders on.

NFLfbJunkie
03-19-2007, 03:14 PM
How can I fix the large gap between my last forum and the 'what's going on' box to match the spacing between the separate forums?

ksfrogman
03-31-2007, 05:01 PM
Delete this part of code in the FORUMHOME_FORUMBIT_LEVEL1_NOPOST template:
<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>

Awesome, I just deleted that code and it works like a charm!

itorrents
04-03-2007, 07:04 PM
I like it, thanks m8 :)

StuntFactoryX
05-12-2007, 09:46 PM
i hope this gets updated for 3.6.6 i was bummed when it asked me to revert the forum home template.

DaPro
05-12-2007, 11:04 PM
i hope this gets updated for 3.6.6 i was bummed when it asked me to revert the forum home template.

Done, just for you ;-)

StuntFactoryX
05-12-2007, 11:07 PM
thanks very much. :)

projectego
05-13-2007, 12:29 PM
Thanks for the update, DaPro! :)

The Bish
05-13-2007, 01:11 PM
Greatness... Installed!

ShackMaster
05-17-2007, 10:02 PM
Nice mod... installed.

I had to widen the "Last Post" from 175 to 300 in "level1_nopost" and "level2_post" to keep each category section equal in Firefox. IE seems to work either way.

obmob
05-18-2007, 04:16 PM
Thanks for the update.

Kap O
05-26-2007, 03:15 PM
installed

thanks

MaLTRaiN
05-30-2007, 03:19 PM
Thanks, everything goes fine, but when I create a new category, that have any format... why could should happen?
Thanks...

MaLTRaiN
05-30-2007, 10:12 PM
No problem, fixed... "thanks", anyway...

hexus.net
06-16-2007, 10:25 PM
anyone managed to get this working on 3.6.7?

i just tried and it ll went horribly wrong lol

maybe i just messed something up...

BigDog56
06-17-2007, 02:08 AM
anyone managed to get this working on 3.6.7?

i just tried and it ll went horribly wrong lol

maybe i just messed something up...
Same with me. Tried 3 times.

da420
06-17-2007, 04:23 AM
It works for me. More than likely you are missing one of the edits, because if you do, yes then it would look pretty funky.

hexus.net
06-17-2007, 08:55 AM
I get the gap, but i also get a 5"> and a 6"> appearing in the left hand tables, Im not convinced on this one in 3.6.7

da420
06-17-2007, 02:55 PM
Im not convinced on this one in 3.6.7

I use an altered version of the default vBulletin template, and it works for me on 3.6.7. Either you are, as I said, missing one of the template edits, or you have a custom style that's coming in conflict with these edits.

bluidkiti
06-21-2007, 04:32 PM
I just installed this on 3.6.7 and it works perfect. Thanks. :-)

TheWhite
06-23-2007, 09:30 AM
hello guys i have a serious problem, I installed the mod and everything went almost perfectly anyway with Firefox everything is 100% ok but with the Microsoft Explorer I'm getting this missalignment so what must I do please help me :(

http://img20.imageshack.us/img20/6100/errorgh2.jpg

Regards

da420
06-23-2007, 02:46 PM
Revert your templates and try again. You forgot something... a comment got cut off or something.

Ohiosweetheart
07-01-2007, 01:24 PM
I'm not having that problem at all.

I'm having a major problem with the area around the forum status icons. I have reverted and re-applied the template edits here 3 times now, and it does the same thing every time!

http://i17.photobucket.com/albums/b91/babydoll2u/Image1.gif


There are no hacks installed on this forum, it's brand new. I have applied this mod to several other forums, and this is the very first time, I've encountered this.

Help??

Adam21
07-01-2007, 01:46 PM
I'm not having that problem at all.

I'm having a major problem with the area around the forum status icons. I have reverted and re-applied the template edits here 3 times now, and it does the same thing every time!

There are no hacks installed on this forum, it's brand new. I have applied this mod to several other forums, and this is the very first time, I've encountered this.

Help??

Just curious,are you using this mod https://vborg.vbsupport.ru/showthread.php?p=1251830?How bout you posting the template here?Someone might be able to point out the errors. :)

Ohiosweetheart
07-01-2007, 01:54 PM
No I'm not using that Adam. As I said above, I've not installed any other hack to this forum yet.
I just corrected the problem, using the "fix' in post #30 (https://vborg.vbsupport.ru/showpost.php?p=1071193&postcount=30) of this thread.

thanks!

wickedstangs
07-02-2007, 01:11 AM
Need help installing this. I have vbsponsor (https://vborg.vbsupport.ru/showthread.php?t=131512&highlight=vbsponsor) mod installed
How do I install your mod? Here is the modification I did to the level 1 and level 2

forumhome_forumbit_level1_nopost
FIND:
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

ADD, AFTER:
<!-- vBSponsors -->
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<div style="float:$stylevar[right]">
<if condition="!empty($forum[sponsor_adsense])">
$forum[sponsor_adsense]
<else />
$vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank">
<if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" />
<else />
$forum[sponsor_name]
</if></a>
</if>
</div>
</if>
<!-- / vBSponsors -->

forumhome_forumbit_level2_post
FIND:
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>

ADD, AFTER:
<!-- vBSponsors -->
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<div style="float:$stylevar[right]">
<if condition="!empty($forum[sponsor_adsense])">
$forum[sponsor_adsense]
<else />
$vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank">
<if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" />
<else />
$forum[sponsor_name]
</if>
</a>
</if>
</div>
</if>
<!-- / vBSponsors -->

Mapi99
07-03-2007, 07:26 PM
Works like a charm, However i had one issue with it:
As soon as i altered the forum_home by replacing the part of the what's going on box with

<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<br />
<!-- end what's going on box -->

Just like you specified, the border on the right of my box using the browser Opera (all the other browsers work fine) expands like this: (see attachment)

https://vborg.vbsupport.ru/attachment.php?attachmentid=66475&stc=1&d=1183494351

How can i fix this? Help would be appreciated

Marys242
07-16-2007, 09:47 PM
thanks this was great!!...I don't know alot about codes..but this one was easy to understand, thanks!!

Ohiosweetheart
07-25-2007, 03:51 PM
I've been using this on all of my designs now, I love it!
Thanks again DaPro :)

m_k
07-27-2007, 08:28 PM
been using this everywhere - the look is so much better with the categories separated :-)

have just upgraded one of my boards to 3.6.8, and looks like there is some conflict however... any ideas?

Plaggi
08-04-2007, 03:28 PM
Is anybody else having problems with 3.6.8.? I'm asking because I just upgraded and want to be shure that the modification works.

greetz, Sven

Ohiosweetheart
08-05-2007, 02:57 PM
Is anybody else having problems with 3.6.8.? I'm asking because I just upgraded and want to be shure that the modification works.

greetz, SvenSven, I use 3.6.8, and have had no problem whatsoever.

Hope this helps :)




been using this everywhere - the look is so much better with the categories separated :-)

have just upgraded one of my boards to 3.6.8, and looks like there is some conflict however... any ideas?What kind of conflict m_k? Do you have a screenshot?

AzzidReign
08-06-2007, 10:33 PM
For those running 3.6.8, I've taken the liberty of doing the edits and putting them into a TMS (https://vborg.vbsupport.ru/showthread.php?t=152931)file. So if you have TMS installed, just upload this file and you're done.

Also, this was tested on non-modified templates. If this doesn't work, then it's b/c of your modified skin. Be sure to look on your default skin to see if it works or not. If not, please send me the link to your board via PM and I'll take a look.

Live demo: LayereGFX (http://www.layeredgfx.com/forums/)

Download file below.

Ba$im
08-08-2007, 06:04 AM
hello
I have problem with 3.6.8
as I say here
https://vborg.vbsupport.ru/showthread.php?t=154501
can u plz check that?

thanks

AzzidReign
08-09-2007, 04:55 AM
hello
I have problem with 3.6.8
as I say here
https://vborg.vbsupport.ru/showthread.php?t=154501
can u plz check that?

thanks
Install TMS and use the xml file I added above your post. I have that working on a 3.6.8 default skin.

Littlebit
09-02-2007, 06:17 PM
I'm still set in my old ways and a bit timid about using TMS on top of my already manually edited templates.

JohnBee
09-17-2007, 01:59 PM
Installed and loving it! I have tried the other Category Separator mods but I haven't found one that placed the Category Title above the forum section(as it should). This works beautifully and added a footer to each section. Very nice work!

Ohiosweetheart
09-17-2007, 02:07 PM
Installed and loving it! I have tried the other Category Separator mods but I haven't found one that placed the Category Title above the forum section(as it should). This works beautifully and added a footer to each section. Very nice work!
I agree, this is the easiest, and makes the forumhome look great!

Zagis
09-30-2007, 12:55 PM
Hi,

How can I move "Mark forums read" bar from the bottom of the forumhome page and place it right after forums?

I'd like also to change the Threads and Posts column width. I tried this (https://vborg.vbsupport.ru/showthread.php?p=1071193#post1071193) but is not working for me.

Am I missing something?

Tnks

trackpads
10-02-2007, 11:33 PM
Very nice hack!!

Thanks!!!

chennairam
11-05-2007, 02:11 AM
It works on 3.6.8 sir

Booost This
11-06-2007, 05:40 AM
Nice hack, one minor problem.

It also separates sub-categories in the forumdisplay.

I reverted my forumdisplay template back to the original to test to make sure that I didn't by mistake make the changes to forumdisplay instead of forumhome but it is still doing it.

How do you make it work just for the forumhome template? (index.php) and have no effect on forumdisplay (*.php)?

BarryoBrien
12-14-2007, 08:54 PM
Does anyone know how to fix the alignment of the forums www.websiteforumz.com looks ok on firefox just not on ie

caribbeanxposur
12-15-2007, 04:52 PM
i'm having the same problem as you Booost This... it seperated the forumdisplay reverted and tried again just to make sure it wasnt an error on my part but it still seperates....

Ohiosweetheart
01-07-2008, 01:44 PM
I have followed every single tip in this thread, and nothing, NOTHING, will work to get the "Last Post" columns lined up!!

HELP!

DaPro
01-07-2008, 01:56 PM
Try using my last post option in the instructions and see if that helps. Also, change your "Last Thread Title Maximum Displayed Characters" by going to:

AdminCP > vBulletin Options > Forum Listings Display Options > Last Thread Title Maximum Displayed Characters

If it is at "30", change it to 15-18 for a good size.

See if that works.

Ohiosweetheart
01-07-2008, 02:08 PM
Thank you John. I feel pretty stupid now, I have no idea why I didn't think of the vB Options setting. It's perfect now. Thank you!

DaPro
01-07-2008, 02:14 PM
Nothing wrong with overlooking settings. vBulletin is a powerful bit of software and everyone overlooks something (even myself). Glad it works for you now!

SpeedJunkyz
01-14-2008, 09:01 PM
Thanks, Im not sure what the last code did though, all I see is that it toke off the post icon. What else did it do?

Ohiosweetheart
01-15-2008, 10:42 PM
John!!!! I'm having a hard time on another site :mad:

I've used this (your) mod on so many of my clients' sites, but I've not had this problem til now. See the attachment please. Any ideas??

Ohiosweetheart
01-16-2008, 01:35 PM
Can anyone help?

BoYagoob
01-18-2008, 05:00 PM
Installed

wickedstangs
01-19-2008, 08:27 AM
Does this work with 3.7

Ohiosweetheart
02-07-2008, 12:17 PM
Ok I got the above problem solved myself.

HOWEVER, I'm having this problem in 3.7 -

2 thead strips. (see attachment) Can anyone advise me on this one??

BuRaCh
02-07-2008, 02:19 PM
nice mod;)

imported_cecini
02-12-2008, 02:54 PM
Thanks great hack.

Evolution06
02-13-2008, 08:45 PM
I was sceptical about using TMS until I installed it and used it to install this.. I am more hands on when it comes to template edits but this was pretty friggen nice.

SpreadingLight
02-13-2008, 11:58 PM
very nice, thanks :)

glennybee
02-15-2008, 09:39 PM
Thanks very much. Another create modification to my forum.

http://www.digital-kaos.co.uk/forums/index.php?styleid=3

:)

dannykilla
03-17-2008, 06:34 PM
Great Hack.

I have one small minor problem, I created a Forum, but made it so it wouldnt act as a forum, on the forum settings (this was created before I implemented your hack) Now the forum is acting as a forum and I have looked at the settings but it is set to act as forum-->NO.
How can I solve this?

Thanks
danny

RagingPenguin
03-24-2008, 10:02 PM
Yo Floris, and porter, is there any reason this won't work with 3.6.8 PL 2? Or have there been significant coding changes?

SpeedJunkyz
03-29-2008, 08:41 PM
Does anyone know how to use this on a different style? I tried to inplement this on my forum and all it did was disformed my forum...lol


www.speedjunkyz.info/forums

bigevil
04-03-2008, 03:50 PM
I installed this mod and had to revert back to my old templates. My forums are set up like follows:

Parent-
--Child
--Child
--Child (inactive)
----Child's Child
----Child's Child

Parent-
--Child (inactive)
--Child
--Child

On and on like that... Anyways, at first when I changes my templates around this code took away the look I had with my sub-forums. It made my inactive forum in the Parent forum look active. I was using the inactive forum as a spacer. Then when I clicked on a Parent forum to just look at that forum with its sub-forums the code scrambled the forums, or skewed them all over the screen. It was messy. I followed all instructions to a T. I used 3.6.8 vB and I dont know what version my skin is, but that shouldnt really matter because all of the code was the same.

Pete C
04-14-2008, 10:46 AM
Installed - works well :up:

Thank you!

Outie
04-28-2008, 01:46 PM
This does not seem to work with 3.6.10 :( any ideas on what to add / change?

sparky5693
05-04-2008, 07:35 PM
Ok I got the above problem solved myself.

HOWEVER, I'm having this problem in 3.7 -

2 thead strips. (see attachment) Can anyone advise me on this one??


I have this same problem. Is there a solution?

sparky5693
05-06-2008, 02:16 AM
This post helped me...
https://vborg.vbsupport.ru/showpost.php?p=1071193&postcount=30

Amiga Harrison
05-06-2008, 10:37 AM
Ok I got the above problem solved myself.

HOWEVER, I'm having this problem in 3.7 -

2 thead strips. (see attachment) Can anyone advise me on this one??

I had this problem too. A thread strip above and below the category title.

I managed to fix it by following this guide:

http://www.vbulletin.com/forum/showthread.php?t=156783

The final part, editing the forumdisplay template fixes this problem.

Morphangel
09-14-2008, 08:27 PM
Thanks a lot for your mod! This is wonderful, and the last optional change is very nice.

Birute
11-30-2008, 01:20 PM
This is a nice mod, makes the forum look clean.
I only had to add a few pieces of code to get the spacing effect.
However, I am using width as a %, for example:

FORUMHOME
<thead>
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="45%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="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" width="0%">$vbphrase[moderator]</td>
</if>
</thead>

If you take a look at the forum, the alignment is all wrong now. How do I fix this?

Earth's Banner (http://earthsbanner.com/forums/)

Birute
12-01-2008, 10:14 PM
I fixed the alignment problem but now I have an extra bar the same as Ohiosweetheart. I looked into the suggestion by Amiga Harrison but I don't think deleting the format for the widths would help. Any suggestions? Here is the FORUMHOME code.

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>

<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="45%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="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" width="0%">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<br />
$forumhome_markread_script
<!-- /main -->


$ad_location[ad_forumhome_afterforums]
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
$template_hook[forumhome_wgo_stats]
</div>
</td>
</tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<if condition="$vboptions['showlocks']">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</if>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

tommyxv
03-12-2010, 06:58 PM
Just thought I would post this for anyone who updates to 3.8.5....you will get an error when you click on the Mark Forums Read link..... here is the fix:



STEP 2A should now be:

<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<br />
<!-- end what's going on box -->