![]() |
Hiding Quick Reply...
Currently running vb 3.8.3...
Can someone instruct me on how to hide the Quick Reply area on certain forums? I'm assuming I have to edit the SHOWTHREAD template and look for the following code: Code:
<if condition="$show['quickreply']> However...I'm showing two locations for that after searching the SHOWTHREAD template. I find these two entries: Code:
<if condition="$show['quickreply'] OR $show['ajax_js']"> and... Code:
<if condition="$show['quickreply']"> If anyone can help...I certainly would appreciate it. |
Looking at the page source leads me to think it's the second one. However, you may be able to do this just with a plugin. Find a hook location in the showthread template, do a check for the forumid, and if it's one you don't want to show Quick Reply on, set $show['quickreply'] to false. I've never tried that, but I'm guessing it would work.
|
vB Options -> Message Posting and Editing Options -> Quick Reply
It's saying $show['ajax_js'] aswell as $show['quickreply'] because the quick reply is an ajax feature |
Quote:
Thanks... |
Something like
PHP Code:
PHP Code:
|
Quote:
Lynne...thanks for the replies... Okay...I understand what you're doing with the code...but the problem I face is where to put this code. I know absolutely nothing about plugins...and I read the how to in the Articles section here...and I'm still lost. So...someone's going to have to take me by the hand on this one...and make sure I don't get anything on me... Maybe I should be wearing a bib. |
Just go to Plugins & Products > Add New Plugin. Select fetch_foruminfo as the hook location (that one should work), give it a title, leave the order, add the code from above (I'd use the one regarding the options, not the first one) but replace xx with the forum id, make the plugin active, save. Test it out. If it works, do the same on your live site.
|
Quote:
Also...I'll have multiple forums for which I do not want the Quick Reply to appear. How would that be coded...individually? Thanks, again... --------------- Added [DATE]1244786990[/DATE] at [TIME]1244786990[/TIME] --------------- I just added a line for each forum...and all seems well. I'm sorry I was such a bother...but really do appreciate your help. It works...and I'm happy. That's all that matters...right? Thanks, again... I can now go to sleep... |
For multiple forums, try this:
PHP Code:
|
Thanks, Lynne...
Code changed and it works...much obliged. |
All times are GMT. The time now is 05:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|