PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Bug Reports (http://www.photopost.com/forum/reviewpost-bug-reports/)
-   -   Edit button for mods(FIXED) (http://www.photopost.com/forum/reviewpost-bug-reports/116522-edit-button-mods-fixed.html)

ace67 October 31st, 2005 07:47 PM

Edit button for mods(FIXED)
 
Still not fixed:

In RP UserGroup Editor, I have added a 6th usergroup "Moderators". I have set the permissions to yes on everything except Admin Access and Require Moderation. But when the mods go to a review to edit, there's no edit button there. Administrators (group 5) have the button visible, but not the mods. All the mods are listed in the database properly with a 1 for edit posts and also on the individual admin Edit Categories/moderator page. But the button still does not appear for the mods on the individual reviews.

Where can I look to fix mine? What PHP page controls the edit button appearing for moderators? I'll even upload a new unmodified one to see if it helps. I just don't know what page it is.

Chuck S October 31st, 2005 08:14 PM

Try this in showproduct.tmpl and showproduct1.tmpl add the code in bold

if ( $User['adminedit'] == 1 || $User['moderator'] == 1 || ($User['userid'] == $ucuserid[$x] && $ueditposts == 1) ) {

ace67 October 31st, 2005 09:07 PM

YES, IT WORKED!!!! Thank you, thank you, thank you!!!


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

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97