vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - ForumHome Editing v2 (https://vborg.vbsupport.ru/showthread.php?t=264592)

muratcan25 06-01-2011 10:00 PM

ForumHome Editing v2
 
1 Attachment(s)
Forumhome v1 =
https://vborg.vbsupport.ru/showthread.php?t=247281

Live Demo:
MuRaTCaN - 25

Orjinal Link:
ForumHome D?zenleme v2 (Temaya Şekil verme Hazır Kodlar) - MuRaTCaN

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

Code:

<!-- 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

Code:

<!-- 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

Code:

<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

Code:

<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/8...2011183152.jpg

regards

muratcan25 07-03-2011 05:48 PM

Search in templates forumhome_forumbit_level1_nopost
Find


PHP Code:

<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

PHP Code:

<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
PHP Code:


<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_$forumidsrc="$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_$forumidstyle="{$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....16&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
PHP Code:

<!-- 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


All times are GMT. The time now is 06:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01211 seconds
  • Memory Usage 1,794KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete