SimplePortal

Support => English Support => Topic started by: Chas on October 01, 2010, 10:41:14 AM

Title: Forum block shows on Portal
Post by: Chas on October 01, 2010, 10:41:14 AM
Hello.
I want to display a small message to guests on the top of the forum index but not on the standalone portal page.

I created a custom BBC block in the top area.
I initially set it for Show Block on "Forum" with no Advanced options but the block appears BOTH on the Forum Index and the Stand Alone Portal page.

I changed it to Advanced Options: Actions = Forum
It then appears on top of the forum index but it appears TWICE on the Stand Alone page!

I entered sforum: in the Custom display options box but there was no change to the above.

So, how do I get a block to appear JUST on the Forum Index page and possibly the two boards that Guests have access to and NOT on the portal page?

Any advice gratefully received.
Title: Re: Forum block shows on Portal
Post by: AngelinaBelle on October 01, 2010, 01:14:02 PM
That sounds like this bug: http://simpleportal.net/index.php?issue=364.0 (http://simpleportal.net/index.php?issue=364.0)
Nathaniel gives a fix.
 
Please check if that fixes it.
Title: Re: Forum block shows on Portal
Post by: Chas on October 01, 2010, 03:27:44 PM
Thanks Angelina, that fix cures the double showing of the block on the portal page but the original problem is still there. The block shows on the Portal page when I only want it to show on the Forum.

I have currently got the block set using advanced options.

Select Actions: Forum, Login & Register.

Custom Display Options: sforum (though this on it's own does not make the block appear anywhere).

So I need to fix why the block is showing on the Standalone Portal Page when it should not be.

Title: Re: Forum block shows on Portal
Post by: AngelinaBelle on October 01, 2010, 03:37:32 PM
I am at a loss.  I just tested this out -- custom BBC block, Display options forum (advanced display options unchecked).
 
Your files must be different from my files.
 
Have you tried using the advanced display option --- forum, -portal
 
Just to see if this gets around the problem?
Title: Re: Forum block shows on Portal
Post by: Chas on October 01, 2010, 04:07:39 PM
Well I thought I had tested this option but I must have got them mixed up. So now all I have is Forum set as the Display on setting with Advanced Display Options UNCHECKED. Sure enough the block now appears just on the forum and not on the portal, just as I wanted it.

Thanks Angelina, problem solved. :)

Didn't understand this though, can you explain - just for future reference:
Quote from: AngelinaBelle
Have you tried using the advanced display option --- forum, -portal
Title: Re: Forum block shows on Portal
Post by: Nathaniel on October 04, 2010, 07:12:05 AM
Using the custom display option "forum, -portal" tells SimplePortal to show that block on the Board Index, and to exclude it from being shown on the portal (so the '-portal' part is pointless if none of the options would mean that it is shown on the portal).
Title: Re: Forum block shows on Portal
Post by: Chas on October 04, 2010, 07:30:54 AM
Thanks Natahniel.
I understand more now. As an Admin I can see this block on the Forum, where I want it for Guests but is there any way to preclude the visibility to Admins as well? It is a block only for guests after all.
Title: Re: Forum block shows on Portal
Post by: AngelinaBelle on October 04, 2010, 09:50:29 AM
You can do that with a little customization:
 
http://simpleportal.net/index.php?topic=4231.msg26307#msg26307 (http://simpleportal.net/index.php?topic=4231.msg26307#msg26307)
Title: Re: Forum block shows on Portal
Post by: Chas on October 04, 2010, 11:15:03 AM
Angelina you're a star, thank you. I did search but didn't spot that topic. Thanks again.
Title: Re: Forum block shows on Portal
Post by: AngelinaBelle on October 04, 2010, 12:29:26 PM
Glad to help.
I think I didn't quite understand you at one point, but you figured it out anyway...
SimplePortal 2.3.8 © 2008-2024, SimplePortal