HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


User can't post

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#20289 (In Topic #4731)
Avatar

Well-settled

Odd behavior

I can't tell if this is a bug or just me. I've had 2 users tell me that they could not see the "Add topic" button. I SU'ed as fhe first one and found I could see the post under his login. After that he could see the button. The 2nd I tried the same thing, but sure enough I did not see an "Add topic" button, and he can't see the button. These users are both in the Nubies usergroup. Other Newbies are able to see the "Add topic", is there some other setting that might apply to some users in a group and not others?

:UPDATE:
I thought it might be a remnant from the vB import. I scanned through more of my users, and it seemed as though some users, about 13 of them, that were imported from vBulletin were having this trouble. At first I found no commonality between them in their settings. I checked the group_members table with the MySQL browser and found those members to have been put in a group with the group_id of 1, which is a non-existant group as far as I can tell. Once I deleted their record from that table, they were able to see the "Add post". This may have been the source of a number other permission problems I have been having lately.

After the import from vBulletin, during the cleanup process I deleted several groups that were not in use. Some groups had users, and others did not.

My current setup has everyone starting as a Newbie, which is group_id 9, and I have 280 members. I noticed that the group_members table has no one listed as group_id 9, but their profiles show "Newbies" as their primary group. When I check the Groups page and select "Newbies" no one is listed. Is this going to cause problems?

This brings up another question. Is there a way to change multiple user's profiles and other information all at once to help with the cleanup of imports?


Last edit: by jueqel
Back to the top
 
Posted
Rating:
#20304
Avatar

You were victim to an import bug where secondary usergroup membership was misimported (the group IDs imported wrongly). The f_group_members table you've been looking in is where these secondary memberships are stored, and hence it makes sense that this is where the problem is. Group #1 does in fact exist, but it's the guest group so no real member should be in it.

Primary membership is stored in a field (m_primary_group IIRC) of the f_members table.
If there are a lot of members in a group then they won't all be listed when viewing the group.

Now, how all this relates to your permission problem is a mystery to me, but I'll investigate and see if I can track it down.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#20305
Avatar

Ok, I'm working blind but I believe I have it. I think you overrode guest permissions for either the forumview page or the forum. The "best of" permission system doesn't function with overriding, and the fact that some of your members were in the guest group as a secondary membership meant that the override for it applied to them such as to erase the permissions they would otherwise have.
It's very complicated I admit, but mainly the confusion here is to this import bug (which has since been fixed). You might want to empty the f_group_members table if you don't want any secondary memberships on your site.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: