vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forum Display Options (forumdisplay) Question (https://vborg.vbsupport.ru/showthread.php?t=216566)

ddo36 06-19-2009 03:29 PM

Forum Display Options (forumdisplay) Question
 
I went to vBulletin Options>> Forum Display Options (forumdisplay)>>Enable Forum Description set to Yes..

So that means that the description of the forum will show below the navbar right?

my question is, where do you think i can edit the forum description(showing below the navbar), so that icons can show in the description without editing the forum description(in the forum manager).

just like what they did in this mod..
https://vborg.vbsupport.ru/showthrea...um+title+icons
they didnt edit the forum title in forum manager right?


coz i'd like that the forum description(below the navbar) will have pictures too.

i hope you understood my question. :D

Lynne 06-19-2009 03:32 PM

You can probably edit the template to show what you want. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

ddo36 06-19-2009 05:32 PM

hmm, okay what you said. but then, i dont know what to do next.hahahaha.

using mozila, i highlighted the forum description, and selected view selection source. This is what the source showed(highlighted)

Quote:

</center>
</td>
</tr>

</tbody></table>
</div>
<!-- END TEMPLATE: navbar_noticebit -->
</td>
</tr>
</tbody></table>
<br>
</form>



<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1">

<tbody><tr>
<td class="alt1" width="100%"><strong>Broken Hearted, Breaking Up, Reconciliation, Coping and Moving On</strong> <span class="smallfont">Broken Hearted. Dealing with Sadness. Moving On. Going back together.</span></td>
</tr>
</tbody></table>
<br>



maybe you know what template is that?

Lynne 06-19-2009 05:38 PM

If you look further up in the source code, you'd see they have a <!-- BEGIN TEMPLATE: navbar -->
and no ending template for that one, so it's in there. Looking in there, you'd see these lines:
HTML Code:

<if condition="$show['forumdesc']">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>


    </tr>
    </table>
    <br />
</if>

So, that is where you would make your changes.

ddo36 06-19-2009 06:11 PM

oh yeah. you're right lynne. damn youre good. =D

--------------- Added [DATE]1245440163[/DATE] at [TIME]1245440163[/TIME] ---------------

i found it, and you're right. that's the right place to edit. but then, i dont know what to do. whew. its kinda hard to do a mod. hahaha.
the image doesnt appear when i use the same command inside the table. it has something to do with the forum ids so that it'll show the right image. but of course i cant do it.sad.


All times are GMT. The time now is 01: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.01091 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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