1
Fredrik
Different content in Top page for registered/unregistered visitor?
  • 2004/6/9 8:12

  • Fredrik

  • Just popping in

  • Posts: 26

  • Since: 2004/4/21


I tried to change the visible blocks in the Top page and differentiate the content for registered users vs. anonymous users, but I'm not succesfull.

It looks like it should be possible since you can choose Show blocks visible in [Top Page] Group [Registered/Anonymous]
in the blocks administration.

How do I do that?

2
Stewdio
Re: Different content in Top page for registered/unregistered visitor?
  • 2004/6/9 11:31

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Create a block for registered users.
Create a block for unregistered users.

Once you have them made, go to System Admin->Groups and assign permissions for what group sees what blocks and modules.

3
karuna
Re: Different content in Top page for registered/unregistered visitor?
  • 2004/6/9 11:55

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


If you mean a block in the theme

you can use
<{if !$xoops_isuser}>
<{else}>
<{/if}>


4
ervik
Re: Different content in Top page for registered/unregistered visitor?
  • 2004/6/10 11:26

  • ervik

  • Just popping in

  • Posts: 19

  • Since: 2004/6/10


Hi!

I have also this problem.
When making a new block with the registered users, there is no problem. BUT!!!, when I'm choosing the unregistred user from the dropdown, and then want to add a new block to that "section", IT STILL COMES BACK AS ADDED TO THE REGISTRERED USER BLOCKS! INSTEAD FOR GOING INTO THE UNREGISERED USER BLOCKS!

Please HELP! I'm not able to get a intro on my XOOPS 2.06 site!

5
Mithrandir
Re: Different content in Top page for registered/unregistered visitor?

The drop down in blocks admin is a FILTER for showing only blocks available to a certain usergroup - it does NOT change any permissions.

ALL block permissions are set in system admin -> GROUPS - because it is a matter of assigning permissions to usergroups.

6
ervik
Re: Different content in Top page for registered/unregistered visitor?
  • 2004/6/11 7:33

  • ervik

  • Just popping in

  • Posts: 19

  • Since: 2004/6/10


Thnx! I did not know that.. I'm a newbie to xoops.. thnx for your'e time!

Login

Who's Online

155 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits