miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /   
 

Pre-moderation / Premoderation

 
 
Page  Page 7 of 7:  « Previous  1  2  3  4  5  6  7

Author Paul
Lead Developer
#91 | Posted: 3 Oct 2016 19:03 
marsbar:
Have I messed up this time: is it normal that a moderator can see new topic/message pending approval but the admin cannot?

Admin should see everything. Instead, forum moderator should only see topics/messages related to the forum s/he moderates. It is *not* like in the previous version. All forum moderators automatically have access to the Premoderation panel, but only could moderated allowed content (not the contents from forums they do not moderate).

If it works on your end, you did everything fine. It doesn't truly matter the order of upgrades.

Author marsbar
Associated Member
#92 | Posted: 3 Oct 2016 22:50 
Thanks, Paul. Yes, it makes perfect sense that Admin should see everything and that Moderator should see whatever he/she is permitted to see. Strangely, however, I have the opposite happening here: Moderator can tell there are things waiting for approval, but poor Admin can't!

Any solution/troubleshooting advice you can offer will be gratefully received!

Author Paul
Lead Developer
#93 | Posted: 4 Oct 2016 15:20 
marsbar:
Strangely, however, I have the opposite happening here: Moderator can tell there are things waiting for approval, but poor Admin can't!

Could you repeat the same on miniBB demo? You will find admin/moderator test logins on the front page. Then you will need to post something to the regular forum(s) from the regular user account, and then check if there happens the same as on your forum?

Also, make sure you're truly logged in as the Admin - with the login/password provided in setup_options.php.

Author marsbar
Associated Member
#94 | Posted: 5 Oct 2016 00:16 | Edited by: marsbar 
Hi, Paul.

Thanks for taking the time to reply.

Paul:
Could you repeat the same on miniBB demo?

No, I couldn't: miniBB Demo; therefore, the problem lies at my end. *grimacing*

Paul:
Also, make sure you're truly logged in as the Administrator - with the login/password provided in setup_options.php.

Yes, I am truly logged in as the Administrator on my miniBB ... now broken miniBB.

The other thing I have noticed is that while logged in as the Administrator, on the rare occasion the Pre-moderation pending items indicator would actually indicate the same details as what the Moderator would see (i.e., both Admin and Mod would see "Pre-moderation [1/1]" instead of Admin seeing one thing and Mod another)!

On those rare occasions, however, one of two things would invariably happen to the Administrator's view ...

a) if the Administrator refreshed the window, the indicator would "reset" to "Pre-moderation [0/0]" (all the while the Moderator would still see "Pre-moderation [1/1]")

OR

b) if the Administrator clicked on the link "Pre-moderation [1/1]", the next page would indicate nothing was pending approval! Subsequently, the indicator would return to "Pre-moderation [0/0]".

The other changes I made to my miniBB on the day I installed Pre-Moderation 2:
- upgraded miniBB to 3.2.2;
- installed pre-moderation 2;
- uninstalled the old pre-moderation add-on;
- installed advanced anchors add-on.

Any advice on next steps, Paul?

With thanks.

Author marsbar
Associated Member
#95 | Posted: 5 Oct 2016 00:24 
marsbar:
The other changes I made to my miniBB on the day I installed Pre-Moderation 2:
- upgraded miniBB to 3.2.2;
- installed pre-moderation 2;
- uninstalled the old pre-moderation add-on;
- installed advanced anchors add-on.

Sorry, there is one other to add to the above list:
- installed mobile 1.5

Author Paul
Lead Developer
#96 | Posted: 5 Oct 2016 19:03 | Edited by: Paul 
marsbar
Whatever thing I'd recommend to do, is to post some new topic, some new message in different forums and then remove them from the list (not accept them), making the whole queue clean. I know there could be something buggy, and I've caught this once while developing; however I could not repeat it anymore. I could not help you as well right now, because your codes could be messy, that's also possible. I could only check it seeing actual codes and debugging (by FTP) - however I could not do this now, 'cause I'm not working place and should be back only next week.

Other add-ons should not affect this add-on.

Author Paul
Lead Developer
#97 | Posted: 6 Oct 2016 12:49 
Another thing came to mind, which you could try - use miniBB Compiler to get the package with the pre-installed Premoderation add-on (at first, log in to your Customer area for being able to check this add-on on the Compiler screen). Then try to install this package in the standalone database from scratch and test it. If you could repeat bugs you see in your live forum, let me know. If you don't meet them, then the error hides deeply in your customized forum... Not sure where xactly without seeing the codes.

Author marsbar
Associated Member
#98 | Posted: 20 Dec 2016 10:21 
Hi, Paul.

Finally got a chance to revisit this again now that I have finished work for the year.

Done: made a heap of messages in different forums and then rejecting them all while they are still in the queue -> problem persists.

Done: reinstalled premoderation 2 -> problem persists.

Latest test and outcome:

Test user makes a new post.

New posts is sitting in the pre-mod queue awaiting approval.

Moderators can see the post.

Admin cannot see the post.

This is what happens to Admin:

a) Admin logs in to the forums' main page and finds the premod counter there reads (0/0).

b) Admin visits the Admin Panel and finds the premod counter there reads correctly (0/1).

c) Admin visits the Premod Panel by clicking on the "pre-moderation" link next to the counter reading. The link takes Admin to the Premod Panel; there the premod counter at the top reads (0/0). From the Premod Panel, the links to pending topics and posts are disabled because there is zero item pending approval.

d) Rinse and repeat steps a to c. Same result.

e) Seek professional advice.

Paul, would you be available to take a look at my miniBB installation? I can send you access details off-forum.

With thanks,
Irene

Author Paul
Lead Developer
#99 | Posted: 20 Dec 2016 11:37 
marsbar
Send me FTP details on ghappa at gmail com and I will take a look.

Author marsbar
Associated Member
#100 | Posted: 20 Dec 2016 12:23 
"Message for you, Sir!" :)

With thanks and cheers,
Irene

Author Paul
Lead Developer
#101 | Posted: 25 Dec 2016 17:49 
I have got your data and investigated the problem; the deep root of it was in the $mods definition of bb_specials.php, you have put admin's ID (1) to one of the forums definition, this caused the script to generate an extra condition, which was not necessary for admin at all. That's why you were getting those bugs. Just to repeat, admin's ID should NOT be defined in $mods.

For any case, I've also updated Premoderation code in bb_plugins.php on your server, which will prevent generating of access rights if admin is logged in. I will also update this in the official code.

Hopefully now it will be OK, please check. Awaiting your report.

Author marsbar
Associated Member
#102 | Posted: 6 Jan 2017 01:47 
Happy New Year, Paul!

Hope you had a good Christmas and got to relax during the festive season.

Paul:
I have got your data and investigated the problem; the deep root of it was in the $mods definition of bb_specials.php, you have put admin's ID (1) to one of the forums definition, this caused the script to generate an extra condition, which was not necessary for admin at all. That's why you were getting those bugs. Just to repeat, admin's ID should NOT be defined in $mods.

Thanks so much for the trouble you have taken to help resolve the problem ... caused by my misconfiguation.

Paul:
Hopefully now it will be OK, please check. Awaiting your report.

Yes, I am happy to report that Admin can now accurately see and access items in the pre-moderation queue.

With thanks and best wishes,
marsbar

Page  Page 7 of 7:  « Previous  1  2  3  4  5  6  7 
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /
 Pre-moderation / Premoderation
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
 
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP