1
thernes
Different start modules for member/anonymous
  • 2004/10/21 8:01

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


It it possible to somehow have different startup-modules for anonymous group and membergroup? I am running a site with paid membership and would like the anonymous guests to see a frontpage that I decide. But if you are a member, and log on, I would like the startup module to be something different than what the anonymous users see. Is this possible?

2
thernes
Re:Different start modules for member/anonymous
  • 2004/10/25 11:36

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


Let me re-phrase the question: I would like my guest users to see on page when they enter the site, but i would like my registered users to see another page when they log in. How can this be done?

3
dheltzel
Re:Different start modules for member/anonymous
  • 2004/10/25 12:09

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Which module do you want to use?
The module need to have (or be hacked to have) the ability to show different content depending on the users group permissions. This isn't terribly hard to do, but I think the authors of whatever module might consider it beyond the intended scope of the module. On the other hand, if you make the changes yourself you could certainly gain the functionality you want. Isn't open source great?

Dennis

4
Stewdio
Re:Different start modules for member/anonymous
  • 2004/10/25 13:10

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Displaying a different module for each group when they log in is not currently possible. The closest and by far the easiest way to achieve something along these lines is to create custom blocks and then set the permissions for each block.

For instance, when an ononymous user visits your site (or when someone isn't logged in), you can have a custom block that welcomes them and informs them that they are not logged in or that they can register along with additional information and maybe a small image. You would then set the group permissions to have only anonymous users see this block.

You could then create a second block that welcomes the user to your site with whatever content you feel your registered users might like to see. You would then set the permission to this particular block to registered users only. Your first block would dissapear when your users log in.

Right now, as you have probably noticed, you can set a different module for your start page, however, this is a global setting that will affect all users. If for instance you set your News module as your home page and do not allow anonymous users to see this module, they might get a blank page, or in most case, just an error when going to your site saying they do not have the permission to view. A first impression that people will not favour.

The sort of functionality you are asking may be possible in future versions of XOOPS, but I'm unqualified to answer that question with any degree of certainty. I do know that you can not set a module for your home page and not allow anonymous users to not see.

I hope this helps some. If I seem to be missing the point, let us know so that we can bettter understand what you are trying to achieve.

5
thernes
Re:Different start modules for member/anonymous
  • 2004/10/26 6:44

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


That answers my question just fine :) Thanks.

Login

Who's Online

403 user(s) are online (297 user(s) are browsing Support Forums)


Members: 0


Guests: 403


more...

Donat-O-Meter

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

Latest GitHub Commits