Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

Permissions/code snippets problem... - ACP Add User MOD

Permissions/code snippets problem...

by bimjim » Tue Jul 26, 2011 7:50 pm

Hi...

I sent in a phpBB support request template here on this issue, but after some discussion it seems to be an issue of the ACP Add User MOD.
viewtopic.php?f=46&t=2135391

Here's the problem...

In order to control SPAMmers and the usual "porn stars", I perform manual registration through my own form which sends me an email. If I think the person is genuine, then I then register the applicant manually using the ACPAU module.

Because of the nature of the resource (genealogy), I then normally make two changes to the user's Control Panel - I set the email Alert to ON (they never do such things themselves) and the Permissions to "Standard".

But I have reports from people that they are unable to access the PM feature, among others, and when I go into their parameters, all that has been disabled - and nothing I do makes any difference.

I recently registered someone and took a look at their parameters BEFORE I made any changes, and they were already Standard. So now I am not making that second change any more.

While viewing a user's settings in the ACP, there are code snippets in every cell of the every table - see the first image.

And after I select that the user's permissions are "Standard", the second image shows the user's resulting permissions.

I am a part-time programmer - with Diploma - so I do have a clue, but I can't find any part of these snippets in the install files (or in the forum's files, which I backed up locally). So I think it may be generated code performing FROM-TO loops while pulling data from the database.

Any ideas? Any help available?
bimjim
Registered User
Posts: 202
Joined: Sat May 13, 2006 2:09 am
Location: Toronto, Canada

Re: Permissions/code snippets problem...

by RMcGirr83 » Tue Jul 26, 2011 8:18 pm

I'll install the mod on a 3.0.9 test forum and see what's what. Get back to you in a day or so.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Permissions/code snippets problem...

by bimjim » Tue Jul 26, 2011 9:09 pm

Tks much.
bimjim
Registered User
Posts: 202
Joined: Sat May 13, 2006 2:09 am
Location: Toronto, Canada

Re: Permissions/code snippets problem...

by RMcGirr83 » Wed Jul 27, 2011 9:52 am

Sorry I can't reproduce this. I have added some screenies.

Noname.png


Noname1.png


Try comparing your acp/adm/style/permission_mask.html file to a fresh one from a download of phpBB 3.0.9 (I use winmerge to do this).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Permissions/code snippets problem...

by bimjim » Thu Jul 28, 2011 3:50 pm

I uploaded that file, purged the cache, and checked again - the code snippets are gone, and I was able to fix the specific account of the user who had notified me.

Then I created a new user, checked the permissions - they were not Standard - and implemented Standard on those too.

So now I am sure it and the MOD works, thanks very much for your help, I do appreciate you targeting the file for me.

Have a great weekend!!

Jim
bimjim
Registered User
Posts: 202
Joined: Sat May 13, 2006 2:09 am
Location: Toronto, Canada