ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Guest redirect setting

May 17, 2010 2:44pm

Subscribe [5]
  • #1 / May 17, 2010 2:44pm

    TrevorScott

    19 posts

    Major bad! I set a setting, some where, that redirected a guest account to a splash page. I now need to remove it ASAP. Now I can’t find that setting. How do I set a group landing page?

  • #2 / May 17, 2010 3:36pm

    Ingmar

    29245 posts

    What version and build are you using? Do you’ve got a link?

  • #3 / May 17, 2010 4:06pm

    TrevorScott

    19 posts

    Build:  20100121
    http://goshopstar.com

    I would be more than happy to IM you the user/pass.

  • #4 / May 17, 2010 4:28pm

    Ingmar

    29245 posts

    Page is blank for me, is that on purpose? That said, check permissions for your main template as well as for the “Guest” member group.

  • #5 / May 17, 2010 4:45pm

    TrevorScott

    19 posts

    What we did is - any person that is not logged in - aka guest - is redirected to a specific page. The site is online, but guests specifically are redirected. Essentially the site is online but redirecting non logged in users.

    Originally this was located in the template system as “splash/index”. I deleted this template thinking EE would default back to the normal homepage, but it isn’t. I tried to rebuild the template, but it is the blank page. I’ve looked through the entire settings system. I’ve even scanned the database looking for a setting. I didn’t use {logged_out} for the redirect either.

  • #6 / May 17, 2010 4:58pm

    Ingmar

    29245 posts

    What we did is - any person that is not logged in - aka guest - is redirected to a specific page.

    Yes, but how? Are you simply denying access to the main template for the “Guest” group? There is a couple of possible approaches.

  • #7 / May 17, 2010 5:08pm

    TrevorScott

    19 posts

    That is what I am trying to figure out is how we did it. I just downloaded the entire database via phpMyAdmin and did a straight-up search for the text “splash”. Nothing. If the template system is stored in the DB, then I would think that it would be somewhere.

  • #8 / May 17, 2010 5:18pm

    Ingmar

    29245 posts

    As I’ve said, the most obvious way would be to restrict access to your templates(s) to logged-in members, and redirect others to a different template. You might want to check template permissions.

  • #9 / May 17, 2010 5:49pm

    TrevorScott

    19 posts

    Thank you so much. I was dropped into this project at the very tail end with never having worked with ExpressionEngine. This is all still new to me. Template permissions. That was it.

  • #10 / May 17, 2010 5:51pm

    TrevorScott

    19 posts

    I’ve added a few lines of php code to the index. If the user is not within the accepted IP range, they are sent to a splash page.

  • #11 / May 17, 2010 5:55pm

    Ingmar

    29245 posts

    So, just to make sure, does the solve your issue? You’re good?

  • #12 / May 17, 2010 5:59pm

    TrevorScott

    19 posts

    Spoke too soon. Now I don’t get anything, not even a website - even after I revert the index page back to an archived version. If I log into the back-end, go to the homepage, it is there. If I log-out and restart my browser, the site is not there. What happens if you go to http://goshopstar.com ? Is there an error page or a blank page?

  • #13 / May 17, 2010 6:20pm

    TrevorScott

    19 posts

    It is a template permissions thing. I just changed our template index permission to deny guests and redirect them to another page. I’m now not sure what to change to let guests back into the site. As far as I know, the default index theme page is the only page that restricts guests.

  • #14 / May 17, 2010 9:50pm

    Brandon Jones

    5500 posts

    Right now I’m getting a blank page on that link. If you want guests to be able to view the homepage, you’ll need to allow the Guests group to view the index template group.

    You might also find the redirect variable useful in your templates. Does that help?

  • #15 / May 18, 2010 12:38am

    TrevorScott

    19 posts

    I just set every template to allow guest access. Actually every group was set to be able to access the site. I am so baffled. Is there a database table that I can look at that may give me an idea of what I am looking at? If I could look at the flags in DB format, that would be great.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases