vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - [Naxon] Forum's Info Box On FORUMDISPLAY (https://vborg.vbsupport.ru/showthread.php?t=142405)

Naxon 03-17-2007 10:00 PM

[Naxon] Forum's Info Box On FORUMDISPLAY
 
My First Modifiction :)

Open the FORUMDISPLAY template.
Find:
Code:

$header
$navbar

Add Below:
Code:

<!-- Forum's Info Box By Naxon -->
    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="50%">
    <tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('icons_panel')">
        </a><b><center>$foruminfo[title_clean]</center></b></td>
        <tbody id="collapseobj_icons_panel" style="$vbcollapse[collapseobj_icons_panel]">
        <tr>
            <td bgcolor="#F5F5FF"><div><span style="color: black;">
            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
                $foruminfo[description]
            </table>
            </a></span></div>
            </a></span></div>
            </td>
        </tr>
        </td>
    </tr>
    </table>
<br />
<!-- /Forum Description By Naxon -->

Update

If you want to remove the Forum's Description from the Index you have to do this: (Recommend! If you'll do this you will be able to write a long description!)

On each templeate from this list:
Quote:

forumhome_forumbit_level1_nopost
forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level1_post
Remove this:
Quote:

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
Very easy, and very useful :)

Enjoy :)

Note: There is no ScreenShow now because my forum is in hebrew and you won't understand...
Maybe I'll add ScreenShot later...

Daniel :)

BBF 03-18-2007 01:30 PM

Thanks alot Daniel! :)
Great job.

Naxon 03-18-2007 01:31 PM

Thank's Nadav!

anywares 03-18-2007 01:33 PM

screenshots?

Naxon 03-18-2007 01:38 PM

Look what I wrote...
If you want it's in hebrew...
http://php-il.org/forums/forumdisplay.php?f=2
Look below the NavBar, There are 2 boxes.
The first one:
תכנות כללי ושפות אחרות - Forum's Name.
בפורום זה תדברו על תכנות בכלליות, ועל שאר שפות התכנות שאין להן פורום. - Forum's Description.

TheSh@rk 03-20-2007 05:51 PM

Nice mod Daniel :)
Good work, Keep going.

marcsmith73 03-20-2007 07:11 PM

What does this do? I installed this but what does this do?

Naxon 03-21-2007 11:32 AM

A box in the FORUMDISPLAY With his name and his description...
Updating now :)

Naxon 03-21-2007 01:45 PM

Updated.
Now you can remove the Forum's Description from the Index.

marcsmith73 03-21-2007 07:43 PM

Got it...cool thanks!


All times are GMT. The time now is 06:16 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.00993 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete