MyBB Community Forums

Full Version: Hide quote tab in postbit from guests?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I go about this?
(2012-07-27, 12:31 AM)Leefish Wrote: [ -> ]Template Conditionals

http://mybbhacks.zingaburga.com/showthread.php?tid=464
What would I add?
Install the plugin and wrap the quote button with this:
<if $mybb->user['uid'] then>
{$post['quote_button']}
</if>
You install the plugin and then you wrap the quote postbit button in a conditional.

There are many examples on the site where the plug in is.
Thanks for sharing that Leefish! I've been looking for something like that. It will work in any of the templates right? And on any part of the HTML?
(2012-07-27, 06:08 AM)WebDevandPhoto Wrote: [ -> ]Thanks for sharing that Leefish! I've been looking for something like that. It will work in any of the templates right? And on any part of the HTML?

MyNetwork has some problems with it, but in normal circumstances, yes, it should work on any template.