bigblue Posted December 12, 2014 Report Posted December 12, 2014 Is there a way to set it up so advertisers can login for statistics only? Or at least to not allow the advertiser to change the banner preferences. When I login as an advertiser/user, I can access the banner preferences > Default Weight and change the settings for banner weight and campaign weight (on this page: account-preferences-banner.php). I don't want those numbers to be changed by the advertiser. Thanks! Quote
Dave Brain Posted December 17, 2014 Report Posted December 17, 2014 Hi, To do this you need to change the scripts on this file. but keep this changes in mind while the upgrade time. Open the file '' and go to line no 25, you will see permissions added for admin, manager, advertiser and publisher users for this file. Just remove the "OA_ACCOUNT_ADVERTISER" from that line. Original : OA_Permission::enforceAccount(OA_ACCOUNT_ADMIN, OA_ACCOUNT_MANAGER, OA_ACCOUNT_ADVERTISER, OA_ACCOUNT_TRAFFICKER); After change it should be like this : OA_Permission::enforceAccount(OA_ACCOUNT_ADMIN, OA_ACCOUNT_MANAGER, OA_ACCOUNT_TRAFFICKER); When advertiser trying to access this page and they will redirected dashboard page with 'access denied permissions' error message. Quote
bigblue Posted December 19, 2014 Author Report Posted December 19, 2014 Thank you so much!! This worked perfectly. For anyone else interested, the file name to change is: account-preferences-banner.php Located in: www/admin/ Hi, To do this you need to change the scripts on this file. but keep this changes in mind while the upgrade time. Open the file '' and go to line no 25, you will see permissions added for admin, manager, advertiser and publisher users for this file. Just remove the "OA_ACCOUNT_ADVERTISER" from that line. When advertiser trying to access this page and they will redirected dashboard page with 'access denied permissions' error message. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.