Jump to content

Fester

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Ghent, Belgium

Fester's Achievements

Newbie

Newbie (2/6)

1

Reputation

1

Community Answers

  1. Ok I've found the issue! Cause of my issue: I batch assigned the registered_user role to a bunch of users on my website. But in doing so I also assigned the registered_user role to the default guest user. This of course caused anyone who was not logged in to have the registered_user role and made them able to view pages they weren't supposed to. Sorry for overlooking this issue before posting here and thanks again for your help everyone!
  2. Thanks for your time guys I apologize if my initial post was a bit brief. In response to Teppo's questions: I have two modules that might be interfering with the access of the page, the first one being FrontendUser and the second one is Persistent Login for users. I'm running six modules in total, I previously mentioned two and the other four are FormHelper, Email New user, Force Password Change and Upgrades. I understand your thoroughness but I'm encountering this issue on multiple pages that are using different templates As far as I know there's no server side caching going on, I've tested this on multiple devices and private browsing windows too so I don't think it's a client caching thing either. And @Ryan Could you give an example of what could be overriding the access control? I can't think of anything besides modules and custom PHP code to change the users access (of which there is none in my site). Again thank you so much for taking your time to help me out with this issue! I'm going to see if I'm able to reproduce the issue on a clean install of processwire and report back with my findings.
  3. That's not exactly what I'm looking for, I want to make the page visible to any user that's logged in. Some users on my website don't have access to the CMS.
  4. I'm trying to hide some of the pages on my website from users that are not logged in. I'm trying to achieve this by changing the settings of the page's template like so: This hides the page from my navigation which is good, but it doesn't block the user from surfing to the page directly which I think should be happening if I interpret the settings correctly? When I first encountered this issue I was running PW 2.6 but I've since updated to 2.6.8 alas to no avail. I hope someone will be able to help me out and I will be happy to provide more information about this issue if need be. I'm currently working around this issue by adding a $user->isLoggedin() include to my pages but this isn't as clean as setting the permissions directly from the CMS imo.
  5. Hi pwFoo, I'm messing around with your module and it's great! But now I'm trying to add custom fields to the user registration form and I can't seem to get it working. My code is this: <?php $fu = $modules->get('FrontendUser'); $myField = $fields->get(139); echo $fu->register(array('username', 'email', 'password', $myField), $pages->get("template=home")->httpUrl); ?> I'm 100% certain that the $myField variable is not empty too. Is this a bug or am I doing something wrong?
  6. Ah thanks Soma! Just wanted to confirm that there's no way to do this before I manually coded my own RSS feed.
  7. Hi Is there any way to add fields to the feed for each item? I might have missed something really obvious but I can't figure this out. Loving processwire so far!
×
×
  • Create New...