PDA

View Full Version : Forum Home Enhancements - Description Forum (Wonderful)


C.ooder
12-16-2007, 10:00 PM
Hello

Description Forum

wonderful

open forumhome_forumbit_level2_post
Replace with this...
<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>
<fieldset class="fieldset">
<legend><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">
<span style="text-decoration: none">$forum[title]</span></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if></legend>

<div>
<table id="sub_$forum[forumid]" border="0" width="100%" dir="ltr" style="border-collapse: collapse">
<tr>
<td width="15"><if condition="$show['subforums']">

<a href="#sub">
<img src="$stylevar[imgdir_button]/collapse_thead_collapsed.gif" border="0" alt="forums"></a> <script type="text/javascript"> vbmenu_register("sub_$forum[forumid]", true); </script>
</if></td>
<td><if condition="$show['forumdescription']"><div id="sub_$forum[forumid]" class="smallfont">
<p dir="rtl">$forum[description]
</if></td>
</tr>
</table>
</div>

</fieldset>
</div>
<!-- sub navigation menu -->

<div class="vbmenu_popup" id="sub_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0" width="300">
<tr><td class="thead" dir="rtl">

<strong style="font-weight: 400">$vbphrase[subforums]</strong>:</td></tr>
<tr><td class="alt2" dir="rtl">
<p style="margin-top: 0; margin-bottom: 0">$forum[subforums]</td></tr>

</table>
</div>
<!-- / sub navigation menu -->
<!-- moderators navigation menu -->

<div class="vbmenu_popup" id="moderators_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0" width="300">
<tr><td class="thead" dir="rtl">

<strong style="font-weight: 400">The mod$forum[title] </strong>:</td></tr>
<tr><td class="alt2" dir="rtl">
<p style="margin-top: 0; margin-bottom: 0">$forum[moderators]</td></tr>

</table>
</div>
<!-- / moderators navigation menu -->
</div>


</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 id="moderators_$forum[forumid]" class="alt1"><a href="#moderators">
<img src="$stylevar[imgdir_button]/collapse_thead_collapsed.gif" border="0" alt="The Modertar"></a> <script type="text/javascript"> vbmenu_register("moderators_$forum[forumid]", true); </script></td>
</if>
</tr>
$childforumbits

open forumhome_forumbit_level1_post
Replace with this...
<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>
<fieldset class="fieldset">
<legend><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">
<span style="text-decoration: none">$forum[title]</span></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if></legend>

<div>
<table id="sub_$forum[forumid]" border="0" width="100%" dir="ltr" style="border-collapse: collapse">
<tr>
<td width="15"><if condition="$show['subforums']">

<a href="#sub">
<img src="$stylevar[imgdir_button]/collapse_thead_collapsed.gif" border="0" alt="forums"></a> <script type="text/javascript"> vbmenu_register("sub_$forum[forumid]", true); </script>
</if></td>
<td><if condition="$show['forumdescription']"><div id="sub_$forum[forumid]" class="smallfont">
<p dir="rtl">$forum[description]
</if></td>
</tr>
</table>
</div>

</fieldset>
</div>
<!-- sub navigation menu -->

<div class="vbmenu_popup" id="sub_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0" width="300">
<tr><td class="thead" dir="rtl">

<strong style="font-weight: 400">$vbphrase[subforums]</strong>:</td></tr>
<tr><td class="alt2" dir="rtl">
<p style="margin-top: 0; margin-bottom: 0">$forum[subforums]</td></tr>

</table>
</div>
<!-- / sub navigation menu -->
<!-- moderators navigation menu -->

<div class="vbmenu_popup" id="moderators_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0" width="300">
<tr><td class="thead" dir="rtl">

<strong style="font-weight: 400">The Mod $forum[title] </strong>:</td></tr>
<tr><td class="alt2" dir="rtl">
<p style="margin-top: 0; margin-bottom: 0">$forum[moderators]</td></tr>

</table>
</div>
<!-- / moderators navigation menu -->
</div>


</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 id="moderators_$forum[forumid]" class="alt1"><a href="#moderators">
<img src="$stylevar[imgdir_button]/collapse_thead_collapsed.gif" border="0" alt="The Modertar"></a> <script type="text/javascript"> vbmenu_register("moderators_$forum[forumid]", true); </script></td>
</if>
</tr>
$childforumbits

VADOS
12-17-2007, 07:15 PM
First! ;)

Place all the changes instead of posting full templates.

In my style these templates are modified already so many times, so it is a stupid think about replacing all of them.

And post some little "about"...

C.ooder
12-17-2007, 07:19 PM
First! ;)

Place all the changes instead of posting full templates.

In my style these templates are modified already so many times, so it is a stupid think about replacing all of them.

And post some little "about"...

thanks you :)

iogames
12-17-2007, 09:43 PM
Explain please... :confused:

C.ooder
12-17-2007, 09:51 PM
Explain please... :confused:

Replace the Templates in attach weth the templats in the forum

and lock the now lock

VADOS
12-17-2007, 11:08 PM
Man, I can't understand U at all =)

Please post your mod like this:
------------------------
Find this...
Replace with this...
------------------------
but not FULL templates!

C.ooder
12-17-2007, 11:24 PM
Man, I can't understand U at all =)

Please post your mod like this:
------------------------
Find this...
Replace with this...
------------------------
but not FULL templates!

oky bat Asket nice :)

RvG2
12-18-2007, 04:14 PM
does it adds sql query here?

C.ooder
12-18-2007, 04:48 PM
does it adds sql query here?

No .

Jezlad
12-18-2007, 08:13 PM
Hello

Great

Thanks

Not

C.ooder
12-18-2007, 08:16 PM
you welcome

Marco van Herwaarden
12-19-2007, 09:29 AM
As requested before, please post only the changes that need to be done to the template (ie. find line X and replace by line Y, r find X and add after....).

Many people already have their templates modified and they would loose all previous changes if they just overwrite the entire template.

C.ooder
12-19-2007, 10:38 PM
Ok >