Jump to content

Hide BB code area when BB code is disabled


Guest Hancoque

Recommended Posts

Posted

I recently disabled BB code for PMs. I noticed that the BB code buttons and pulldown menus are still shown although they are useless. It would also confuse users because they don't know BB code is disabled and wonder why their tags don't work. They may even file a bug report. So it would be great if all BB code stuff is hidden if it cannot be used.

Posted

I found out that if you use the reply button, a quote tag is inserted into the post, even if BB code is disabled. I don't thing that makes much sense in that case.

Posted

I've figured out how to automatically hide all BB code related stuff if BB code is disabled. I just put every BB code related code into this if tag:

<if="ipb.vars['msg_allow_code'] == '1'">...</if>

I also disabled the autoquote function with this. But I really wonder why Invision doesn't do it this way in the first place.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...