PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 4th, 2006, 02:07 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
Allow mods to edit user list?

How can I add the link to the "edit users" category to the moderators menu of allowed tasks? It's in the admionistrators menu but I want to allow the mods to do it, too.
ace67 is offline   Reply With Quote
Old January 4th, 2006, 09:21 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
well two things in adm-user.php you would move the line in bold outside the conditional clause say below it

Code:
Content visible to verified customers only.
In adm-user.php this add in bold

if ( $User['adminedit'] != 1 || $User['moderator'] != 1 ) {
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2006, 10:50 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
I assume you meant the first edit to be in adm-misc.php since it isn't found in adm-users.php. So I moved that highlighted line out of the if statement in adm-misc. Then I changed the line in admin-users to add the $User['moderator'] != 1 statement.

I get the link to edit users and to bulk move in the moderators list now. But when they click on edit users, they get "You are not a valid administrator! " whereas the bulk move seems to work (although haven't carried it all the way through) but it doesn't get the "not an admisnistrator" message.

Any ideas?

Last edited by ace67; January 4th, 2006 at 10:58 PM.
ace67 is offline   Reply With Quote
Old January 5th, 2006, 07:32 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Yes my idea is that whatever moderator you have that says this is not a moderator.

That statement would be pretty explicit here

essentially this is the same thing

if ( $User['adminedit'] == 0 && $User['moderator'] == 0 ) {


did you edit adm-user.php and add the text in bold?

if ( $User['adminedit'] != 1 || $User['moderator'] != 1 ) {

cause if you did as long as the usergroup the user is in has moderator access they should be able to get past that error message cause $User['moderator'] would equal 1
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 5th, 2006, 10:22 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
In adm-users.php, changed line 18 from

if ( $User['adminedit'] != 1 ) {

to:

if ( $User['adminedit'] != 1 || $User['moderator'] != 1 ) {


In adm-misc.php, moved

$adminmenu .= "$userhtml<a href=\"{$Globals['maindir']}/adm-misc.php?admact=move\" target=\"mainFrame\">Bulk Move</a><br />";

from line 1448 to line 1450. Line 1449 is the close bracket for the if conditional.

Usergroup "Moderator" has "Mod Access" set to yes, "Admin Access" set to no.

Bulk Move works. Edit Users does not.
ace67 is offline   Reply With Quote
Old January 5th, 2006, 11:08 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
If your mod hits edit users and gets that message it can only mean one thing that I see. That moderators access is set to NO. Try making this line

if ( $User['adminedit'] != 1 ) {

to say this

if ( $User['adminedit'] == 0 && $User['moderator'] == 0 ) {
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 5th, 2006 at 11:13 AM.
Chuck S is offline   Reply With Quote
Old January 7th, 2006, 03:51 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
Made that last change and now it works for the moderators. Thank you, Chuck.
ace67 is offline   Reply With Quote
Old January 7th, 2006, 05:41 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Not a problem buddy
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 13th, 2006, 12:01 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Can I use this hack also in PP 5.31?

What else do I need to do in PP 5.31, if I want to give moderators more privileges

a) to ban users
b) delete users
c) access to e-mail address etc. of users

For security reasons, there should be ideally different "levels" of moderators. I.e. new modertaors shall have no acces to e-mail adresses etc., in case it turns out, they do a bad job and can then (if you fight with them) misuse the e-mail adresses.

Last edited by snoopy5; July 13th, 2006 at 12:17 PM.
snoopy5 is offline   Reply With Quote
Old July 13th, 2006, 03:14 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
This edit should still be valid
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 15th, 2006, 02:27 PM   #11 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
this would be a good feature for a the new PP version. In pp 5.5. it is not yet available..
snoopy5 is offline   Reply With Quote
Old November 15th, 2006, 03:13 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Please add any suggestions for Photopost in the proper forum. This is not a suggestions forum nor is this thread under Photopost Pro
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 15th, 2006, 04:05 PM   #13 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Quote:
Originally Posted by Chuck S View Post
Please add any suggestions for Photopost in the proper forum. This is not a suggestions forum nor is this thread under Photopost Pro


But you said in July, this could also be used for PP 5.31, or do I miss here something?
snoopy5 is offline   Reply With Quote
Old January 29th, 2007, 05:45 AM   #14 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
HI

would this hack still work in PP 5.62?
snoopy5 is offline   Reply With Quote
Old January 29th, 2007, 06:46 AM   #15 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
update: I tried this code in PP 5.62. But I get an error, as soon as I try to get into the ACP by clicking on "Administrator". Both as a moderator and as as an admin:

------------

Parse error: parse error, unexpected '<' in /homepages/xxx/fotos/adm-misc.php on line 982

-----------

How can I make this work?
snoopy5 is offline   Reply With Quote
Old January 29th, 2007, 10:36 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
This is not a photopost thread so wrong program and code
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 29th, 2007, 10:40 AM   #17 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
uuuppss, sorry...
snoopy5 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit button for mods(FIXED) ace67 ReviewPost Bug Reports 2 October 31st, 2005 10:07 PM
User submissions, edit timeout? Arnie ReviewPost Suggestions 7 September 1st, 2005 03:42 PM
No Edit when user made into guest 7thgencivic.com Installs and Upgrade - vBulletin 3.0.X 1 August 27th, 2005 02:21 PM
[Suggestion] Mass Edit/Move/Delete option for the User ConqSoft vBGallery Suggestions 1 June 11th, 2005 07:54 PM


All times are GMT -5. The time now is 06:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0