vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove Reply to Thread button (https://vborg.vbsupport.ru/showthread.php?t=273099)

Fready 10-31-2011 07:06 AM

Remove Reply to Thread button
 
Within a Thread you've got at the top and the bottom on the left a Reply to Thread button
How and where could I remove this?

Thanks for any help

huskermax 10-31-2011 08:37 PM

Quote:

Originally Posted by Fready (Post 2263111)
Within a Thread you've got at the top and the bottom on the left a Reply to Thread button
How and where could I remove this?

Thanks for any help

You will need to edit the template if you want the button to be removed completely.

HMBeaty 10-31-2011 08:47 PM

Quote:

Originally Posted by huskermax (Post 2263262)
You will need to edit the template if you want the button to be removed completely.

Not necessarily, you could also add this to your additional.css template:
Code:

#newreplylink_top, #newreplylink_bottom {
    display: none;
}


Fready 11-01-2011 01:11 PM

Cheers HMB....

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

That did not work added to additional.css template, but both top and bottom buttons still show in a Thread

Fready 11-03-2011 11:36 AM

Any ideas?

HMBeaty 11-03-2011 02:52 PM

Not sure why the code I posted above doesn't work for you. It worked just fine for me. So, in the template SHOWTHREAD find and remove the code for the buttons

Fready 11-03-2011 04:18 PM

I just added it at the top of the template and it works now.
Thanks

wilford brimley 08-30-2012 03:01 AM

/* no top or bottom reply button */
#newreplylink_top, #newreplylink_bottom {
display: none;
}
/* no top or bottom reply button */

works fine, just have to apply to all additional css if some template differnet than master style.

Stefan118 08-30-2012 03:06 PM

How about just closing the thread?


All times are GMT. The time now is 02:47 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.01263 seconds
  • Memory Usage 1,723KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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