TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 545
  • Total: 545

[bug] Block is shown when it shouldn't

Started by gijs, April 07, 2008, 11:18:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gijs

I have a block that in 'visible options / Choose where the block should appear' has:
- checked 'frontpage'
- checked 'forum'
- checked 'board 1'
- unchecked 'board 2'

Now, when viewing Board 2 (index.php?board=2.0) or a Topic in Board 2, the block IS shown while it shouldn't... (at least not the behaviour I expected).

When unchecking 'forum' the block isn't shown in Board 2 anymore, but also isn't visible anymore in the forum (index.php?action=forum).

So, question is: how can I make a block show up in the forum (index.php?action=forum) and not be visible in a certain Board / Topics in that board?

Zetan

TP 1.0.5 is a lot different to TP 0.9.X.

If we could keep to [Bug] reporting, which is appreciated and not try to fix every problem individualy, we can go through the bugs and an update will be released as and when. TP 1 is still under development and in the Announcement it was suggested that it wasn't totally ready for a Live website but reather a Test Site.

I've still not installed it myself yet.. I'll wait a while before I put it on my live site.

ianus

Greetings!

If you chose:
- checked 'forum'
this will show the block with higher priority than
- unchecked 'board 2'

If you want to show a Block only in “board 1”, you have to uncheck “forum” and check only “board 1”.
If you want to show the Block eyerywhere but not in “board 2”, you have to choose “board 1 to x” (not "forum") and uncheck “board2”.
Check "Forum" will include "board2" and you can't forbid it.

See, if a board isn’t checked, this don’t mean, that it is forbidden to show the block.
It’s a command structure which ask for „is it allowed“ with a nuance from rough (Display on all pages and sections) to well-orchestrated (single board).

Puh, I hope you understand what I have written and find it helpful.

Zetan

Sounds good to me.. I'm a little behind with the way it's now structured.. Need to play catch up soon.

gijs

Quote from: ianus on April 07, 2008, 12:12:52 PM
Greetings!

If you chose:
- checked 'forum'
this will show the block with higher priority than
- unchecked 'board 2'

If you want to show a Block only in “board 1”, you have to uncheck “forum” and check only “board 1”.
If you want to show the Block eyerywhere but not in “board 2”, you have to choose “board 1 to x” (not "forum") and uncheck “board2”.
Check "Forum" will include "board2" and you can't forbid it.

See, if a board isn’t checked, this don’t mean, that it is forbidden to show the block.
It’s a command structure which ask for „is it allowed“ with a nuance from rough (Display on all pages and sections) to well-orchestrated (single board).

Puh, I hope you understand what I have written and find it helpful.


If I understand you right, this means I can't have a block to be shown in the forum-page (action=forum) but not to be shown on a certain Board...

ianus

Greetings!

Interesting. Yes you are right. At the Moment this isn't possible.


Maybe this should cause an request to change this function from “allow” to “forbid” if a box isn't checked.
Similar to the search function where everything is checked by default and have to be unchecked if something should be excluded.

Something to think about definitely.

bloc

Def. something to think about, I wasn't aware it could rule out forum index like that. I'll will finetune it a bit, so its possible to check something to show ONLY on boardindex + any board.

The reason "forum" actually includes both inside boards and posts, was simplicity. They are all 3 "forum" parts so to speak.

This website is proudly hosted on Crocweb Cloud Website Hosting.