Coinbase

Author Topic: only admin can see the ads  (Read 3642 times)

0 Members and 1 Guest are viewing this topic.

Offline ijfg

  • Newbie
  • *
  • Posts: 3
    • Email
only admin can see the ads
« on: July 05, 2007, 12:12:10 pm »
my website is http://IJFG.com

1. when I tried to install the mod, it has "managepermissions.php test failed", but I still went ahead and installed the package.
2. everything looks fine, but the admin can see the ads, guest can not see ads.
3. I am using the default themes

I tried to google, some posts says that
"the permission are in Admin -> Permission and for
every group do you want to see the ads you mu check
Enable Ads,"

well, I can not see the option of "Enable Ads". I assume that I should manually edit managepermissions.php? right?
However, I don't know much the install.xml, can you let me know on how to edit the  anagepermissions.php?
(I don't know much php nor xml)

Thank you very much.

Offline ijfg

  • Newbie
  • *
  • Posts: 3
    • Email
Re: only admin can see the ads
« Reply #1 on: July 05, 2007, 12:45:22 pm »
I searched more, and have found an answer :

Install the mod. Then ftp into your accout to your Sources directory and download the ManagePermissions.php file. Once it is on your desktop open it in an editor, I use Php Designer. In that file find an answer from this board:

Code:

         'pm' => array(


And replace it with:

Code:

         'ad_manage' => array(
            'ad_manageperm' => false,
         ),
         'pm' => array(


now http://IJFG.com is showing ads

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: only admin can see the ads
« Reply #2 on: July 06, 2007, 08:23:04 am »
There ya go. Nice to see you solved it. Php Designer is a great editor. :)

Offline Chatter Box

  • Newbie
  • *
  • Posts: 1
Re: only admin can see the ads
« Reply #3 on: November 20, 2007, 05:22:28 pm »
Thank you so very very very much  ;D  I was having the same problem, and it is now fixed.

Thank You Heaps  ;)

Offline jraabe

  • Newbie
  • *
  • Posts: 2
    • Email
Re: only admin can see the ads
« Reply #4 on: December 14, 2007, 04:17:58 pm »
I was able to find this thread and hoped to solve the same problem on my forum. I can see the ads as Admin but guests and members do not.

Here is what my modified text in ManagePermissions.php looks like:


Are there errors there? Should I chmod the uploaded file again?

This modified text has NOT changed the problem and guests and members do not see ads.

http://countryplans.com/smf/index.php
John Raabe
www.countryplans.com
« Last Edit: December 14, 2007, 04:21:33 pm by jraabe »

Offline jraabe

  • Newbie
  • *
  • Posts: 2
    • Email
Re: only admin can see the ads
« Reply #5 on: December 14, 2007, 05:10:12 pm »
Well, I answered my own problem! ::)

The code above is not the issue for most of us... the trick is simpler and requires a few changes to the permission settings in the Admin panel.

Go to Admin, Permissions (2nd down from top on left). You will get a list of your member groups. Click the blue Modify button for each group and check "Enable Ads", you will not need this for Administrators.

Now logout as Admin and come back as a guest.

It worked for me!

John Raabe
www.countryplans.com

Offline aca463

  • Newbie
  • *
  • Posts: 6
    • Zonainmobiliaria
    • Email
Re: only admin can see the ads
« Reply #6 on: December 18, 2007, 08:55:13 am »
Yes, of course.
Thanks very much!!!
Cualquier solución entraña nuevos problemas.
 - http://www.villahuercal-overa.com
 - http://www.zonainmobiliaria.es

SMF Ads Support Forum

Re: only admin can see the ads
« Reply #6 on: December 18, 2007, 08:55:13 am »
.