PDA

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


C.ooder
17 Dec 2007, 20:11
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
17 Dec 2007, 21:15
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
17 Dec 2007, 21:19
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
17 Dec 2007, 23:43
Explain please... :confused:

C.ooder
17 Dec 2007, 23:51
Explain please... :confused:

Replace the Templates in attach weth the templats in the forum

and lock the now lock

VADOS
18 Dec 2007, 01:08
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
18 Dec 2007, 01:24
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
18 Dec 2007, 18:14
does it adds sql query here?

C.ooder
18 Dec 2007, 18:48
does it adds sql query here?

No .

Jezlad
18 Dec 2007, 22:13
Hello

Great

Thanks

Not

C.ooder
18 Dec 2007, 22:16
you welcome

Marco van Herwaarden
19 Dec 2007, 11:29
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
20 Dec 2007, 00:38
Ok >