There is some new documentation being made for custom display options for blocks ... will copy and paste at the end.
The answer to your question is here:
http://simpleportal.net/index.php?topic=10655.msg55386#msg55386In the block settings page under 'Display Options', you need 'Advanced Options' selected and then in 'Select Boards', check the boards you want it to show on. After that, in the custom display options just below, you need to stop it displaying on topic pages for those boards by using a statement to negate that.
-~topic
Hope I don't get into trouble showing this here ... documentation in development - useful for users to see though.
Angelina has been hard at work making new documentation.
Custom Display options are available when you check the "Advanced Options" under
Display Options in the blocks editor. They are for those situations where neither the basic Display options nor the places listed when the "Advanced Options" is checked give you enough control over exactly when the block should be displayed.
These rules are all based on the URL of the page you want or do not want the block to show up on. The custom display options gives you some basic options -- all, portal, forum, sforum, allaction, allboards. Then it gives you ways to specify different parts of the page's URL. SMF URLs use a query string. The query string starts with
?. The ? is followed by a
parameter. A parameter might be followed by an equals sign (
=) and a
value. A parameter (and its value, if it has one), can be followed by a semi-colon (
;). The semicolon is followed by another parameter, and so on, until the end of the query string. Some common SMF parameters are
action, topic, board, sa. Some examples of parameters that mods might provide are
game, album, etcThe custom display rules let you specify a
parameter, optionally a
value, and even allow you to say "only if that is NOT the case", if you wish.
Using a parameterYou may use the "basic" parameters --
all, portal, forum, sforum, allaction, allboards. If you want to be specific, though, you can use the tilde, or wavy, to give a rule for a parameter of your own choosing.
- ~board -- block will show whenever board appears as a parameter in the query string
- ~game -- block will show whenever game appears as a parameter in the query string
Specify a Value
If you want to show the block only when the parameter has a certain value (board=10.0, album=99, game=uno), then you must use the pipe or idkin character |. It is standing in for an equals sign (=).
- ~board|10.0 -- block will show only when board=10.0 appears in the query string.
- ~game|uno -- block will show only when game=uno appears in the query string
Negate it
The minus sign acts as the negator. So if you don't want it to show up when you are starting a new post (topic or reply), or editing your old post, you could use -~action|post. If you don't want the block to show up for board 12, you could use -~board|12.0.
Multiple Rules
You can use multiple rules for one block. Just separate them with a comma (,).
- ~board|10.0 -- the block will show up whenever "board=10.0" appears in the query string. Even when you start a new topic on that board!
- ~board=10.0, -~action|post -- the block will show up whenever "board=10.0" appears in the query string. Except, it won't appear whenever "action=post" appears in the query string. So you won't see it when you start a new topic on the board.