Jump to content
bigblue

Show Only Stats To Advertiser Or Not Allow Banner Preference Changes?

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...