vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   hide post reply button in certain forums Hack (https://vborg.vbsupport.ru/showthread.php?t=70139)

miz 10-02-2004 10:00 PM

hide post reply button in certain forums Hack
 
well with this hack you can hide reply button in forums you want to.

btw

very easy hack
1 query
1 file mod
1 templte mod

Enjoy, MiZ.

Polo 10-03-2004 07:11 PM

Thanks for sharing... i'm sure domeone will find your mod useful ;)

Bryan Ex 10-03-2004 07:35 PM

Perfect for my forums using RSS news feeds! Thanks.

Zachery 10-03-2004 08:25 PM

Hmm couldnt you

<if condition="!in_array($foruminfo[forumid], array(X,Y,Z)"> Show button here </if> ?

miz 10-04-2004 12:53 PM

Quote:

Originally Posted by Zachery
Hmm couldnt you

<if condition="!in_array($foruminfo[forumid], array(X,Y,Z)"> Show button here </if> ?


read coments in this thread

hmm and i think its better then every time you want to add/remove edit all styles over and over again

Dyntheos 10-07-2004 02:23 AM

miz I really need this for the reply with quote button in the postbit. Can this be modified to remove that button from select forums? I edited it out of the postbit but it also takes away the button from the Send PM section.

Zachery 10-07-2004 03:50 AM

Quote:

Originally Posted by Dyntheos
miz I really need this for the reply with quote button in the postbit. Can this be modified to remove that button from select forums? I edited it out of the postbit but it also takes away the button from the Send PM section.

Unless your using some old vB2 style setup, you should edit a global unchanged set of templates and have all styles underneath it they then inheirt the changes.

zzzxxzzz 11-19-2004 01:22 AM

Code:

SQL-query:

ALTER TABLE `forum` ADD `showreply` SMALLINT( 6 ) NOT NULL DEAFULT1

Code:

MySQL said: 

#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEAFULT 1' at line 1


miz 11-21-2004 08:52 AM

[sql]ALTER TABLE `forum` ADD `showreply` SMALLINT( 6 ) NOT NULL DEAFULT 1 ;[/sql]

Bison 12-27-2004 01:20 AM

Quote:

Originally Posted by Zachery
Unless your using some old vB2 style setup, you should edit a global unchanged set of templates and have all styles underneath it they then inheirt the changes.

Some of your replies to posts makes me feel like puking ... you come off like an arrougant runt. Everyone doesn't run their forums like you do, and that remark about style inheriting changes really showed your age young man.

Now what sense is there for someone to goe out and buy two totally different styes for their forums, and put one above the other to inherit the templates of the above style? Don't you know that some styles have their own images paths, and that some themes hardcode the path to their images?

You response above to this gentleman was not carefully thougt out at all. You just don't want to be wrong and sometimes you need not reply to some threads.


All times are GMT. The time now is 03:21 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.01056 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
  • (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