vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hide forum description for forumdisplay only? (https://vborg.vbsupport.ru/showthread.php?t=257643)

zkilzz 01-23-2011 07:00 AM

Hide forum description for forumdisplay only?
 
How do i do this? I tried to do it in forumhome_forumbit_level* templates but thats only on forumhome. How do i do this for forumdisplay? Cant find the forum description in forumdisplay template either.

Thanks for helping out.

Marius

NTT 01-23-2011 07:57 AM

Do not add description in Forum Manager!

Alfa1 01-23-2011 08:39 AM

In admincp > vbulletin options > Forum listings Display options >
Show Forum Descriptions in Forum Listings
you can set this to NO.
The effect is that the description will not be visible on the forum index, but it will be visible within each forum on forumdisplay.

I think the optimal solution would be to add the forum description as an alt text to the forum title, so that hovering above it will show the description without taking up any space. This requires a template edit. title="$forum[description]" needs to be added. Im not sure to which Forum Home template.

zkilzz 01-23-2011 10:11 AM

Quote:

Originally Posted by Alfa1 (Post 2153257)
In admincp > vbulletin options > Forum listings Display options >
Show Forum Descriptions in Forum Listings
you can set this to NO.
The effect is that the description will not be visible on the forum index, but it will be visible within each forum on forumdisplay. .

This is actually the opposite of what i want. I want to display on forumhome and NOT forumdisplay.

wilford brimley 04-23-2012 02:45 AM

I hid it and its better. still would like the threads numbers to be equal (same visible level) as the "new thread button"

to hide it go to FORUMDISPLAY on your MASTER STYLE (need debug mode on o edit master style)

find
Code:

<div id="pagetitle" class="pagetitle">
        <h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
        <vb:if condition="$foruminfo['description']"><p class="description">{vb:raw foruminfo.description}</p></vb:if>
</div>

change to
Code:

<div id="pagetitle" class="pagetitle" style="visibility:hidden">
        <h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
        <vb:if condition="$foruminfo['description']"><p class="description">{vb:raw foruminfo.description}</p></vb:if>
</div>

if you change it to style="display: none" it goes away the way you would like it. but it messes up the threadcount box now it flows over the threads. i need to figure how to move that up like 15 pixels and its alll good.


All times are GMT. The time now is 07:24 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.03140 seconds
  • Memory Usage 1,718KB
  • 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
  • (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