PDA

View Full Version : Forum Home Enhancements - ForumHome Editing v2


muratcan25
06-01-2011, 10:00 PM
Forumhome v1 =
https://vborg.vbsupport.ru/showthread.php?t=247281

Live Demo:
MuRaTCaN - 25 (http://forum.muratcan25.com/forum.php)

Orjinal Link:
ForumHome D?zenleme v2 (Temaya Şekil verme Hazır Kodlar) - MuRaTCaN (http://forum.muratcan25.com/vbulletin/190-forumhome-duzenleme-v2-temaya-sekil-verme-hazir-kodlar.html)

EN: Installation**
(Danger ! : Of the BACKUP TEMPLATE BELOW PLEASE BEFORE YOU BEGIN PROCESSING)

TR :Kurulum**
(?NEMLİ NOT: İŞLEME BAŞLAMADAN ?NCE L?TFEN ŞABLONLARIN YEDEKLERİNİ ALIN DAHA SONRA SİTEM GİTTİ DİYE DERT YANMAYIN)



EN: Search in templates Forumhome , Find

TR: Forumhome Şablonunda Bulun

<!-- main -->
...
(Bu Aradaki Kodların Hepsini Se?in
...
<!-- /main -->


EN: Replace with the following
TR: Aşağıdaki Kod Aralığı İle Değiştirip Kaydedin

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="40%">$vbphrase[last_post]</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]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->



EN: Search in templates forumhome_forumbit_level1_nopost
Find
Delete all
Add all of the following

TR: forumhome_forumbit_level1_nopost Şablonunu Bulup Kompile Silin ve Aşağıdaki Kodları Ekleyin

<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<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>
</if>

<center><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if></center>

<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>

EN: Search in templates, forumhome_forumbit_level2_post
Find
Delete all
Add all of the following

TR: forumhome_forumbit_level2_post Şablonunu bulup İ?eriğini Kompile Silip Aşağıdaki Kodları Ekleyin

<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]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>

<a href="external.php?forumids=$forum[forumid]"><img src="http://www.muratcan25.com/img/rss.jpg" border="0" width="16" height="16" align="right" alt="RSS Feed for $forum[title]" /></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">$forum[lastpostinfo]<div class="smallfont" style="margin:6px;padding:4px;border:1px dashed #000066;background:#ffffff">$vbphrase[threads]: <b>$forum[threadcount]</b> | $vbphrase[posts]: <b>$forum[replycount]</b></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits

Screenshots
http://img38.imageshack.us/img38/9575/muratcan25.jpg

Manuelcadiz
06-25-2011, 03:36 PM
As I can put this up and down?

http://img121.imageshack.us/img121/865/capture25062011183152.jpg

regards

muratcan25
07-03-2011, 05:48 PM
Search in templates forumhome_forumbit_level1_nopost
Find


<center><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if></center>

cut

<if condition="!$show['collapsable_forums']">
At the same template on top of this Code Paste

Manuelcadiz
07-05-2011, 03:31 PM
I left as well but it looks to see if you see something wrong


templates forumhome_forumbit_level1_nopost


<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<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>
</if>

<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>

muratcan25
07-08-2011, 09:58 AM
Search in templates forumhome_forumbit_level2_nopost
and forumhome_forumbit_level2_post
Find Code https://vborg.vbsupport.ru/showpost.php?p=2216316&postcount=3

Manuelcadiz
07-11-2011, 04:42 PM
I did what you told me and nothing, the problem has to be here FORUMHOME, but no idea what to do to make it that down ....

FORUMHOME

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="60%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="40%">$vbphrase[last_post]</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]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

muratcan25
07-12-2011, 07:54 AM
FORUMHOME has nothing to do with
forum[title] is the title of that category code

Manuelcadiz
07-15-2011, 01:00 PM
Ok since there is no way poneelo conseguis below if you teach me, because for more than change is the same, anyway thanks for the modification

mesdar
09-16-2011, 02:31 PM
That is nice

Thank you

sodasusu
04-24-2014, 06:07 AM
nice and simple