vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Remove Threads/Posts (https://vborg.vbsupport.ru/showthread.php?t=315094)

TheAdminMarket 10-28-2014 06:45 AM

Remove Threads/Posts
 
Hello,

I want to remove the titles "Threads/Posts" and "Last Post" from forumhead. Just the title not the column content. Is there anyway like using: display:none or I need to edit the template(s)?

Thank you

Muhammad Rahman 10-28-2014 07:57 AM

try add this on additional.css

.forumthreadpost,
.forumlastpost {display: none}

TheAdminMarket 10-28-2014 10:11 AM

Thank you but unfortunately it does not works. I've also tried something similar from a stylevar that I found in the templates:
HTML Code:

#forumthreadpost {
display:none;
}

but didn't worked eighter.

squidsk 10-28-2014 02:40 PM

Edit the template and put <vb:comment></vb:comment> around the phrases and then after the </vb:comment> but in &nbsp; to make sure the element has something in it.

i.e. change {vb:rawphrase lastpost} to <vb:comment>{vb:rawphrase lastpost}</vb:comment>&nbsp;

TheAdminMarket 10-28-2014 05:01 PM

Quote:

Originally Posted by squidsk (Post 2520344)
Edit the template and put <vb:comment></vb:comment> around the phrases and then after the </vb:comment> but in &nbsp; to make sure the element has something in it.

i.e. change {vb:rawphrase lastpost} to <vb:comment>{vb:rawphrase lastpost}</vb:comment>&nbsp;

Thank you for your time. I know this way but I prefer (if possible) to avoid template edits.

ozzy47 10-28-2014 05:30 PM

Couldn't you just edit the phrase?

TheAdminMarket 10-28-2014 06:07 PM

Quote:

Originally Posted by ozzy47 (Post 2520371)
Couldn't you just edit the phrase?

Thank you. I also tried it but it's used elsewhere where I want it to appear. Anyway seems that there is no way to use display:none, so I'll go with template edit.

Thank you all.

Muhammad Rahman 10-28-2014 11:07 PM

i try in localhost for vBulletin 4.2.2 work fine ..

Seven Skins 10-29-2014 07:37 PM

This should work.

HTML Code:

.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
        font-size: 0;
}


TheAdminMarket 10-30-2014 04:44 AM

Quote:

Originally Posted by Seven Skins (Post 2520538)
This should work.

HTML Code:

.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
        font-size: 0;
}


Works fine thank you. Just expected to work also in forumdisplay.php. Does that page uses different stylevars?


All times are GMT. The time now is 11:32 PM.

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.01344 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_html_printable
  • (3)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