Advertisement:

Author Topic: Restriction on number of ads  (Read 2039 times)

Swede

  • Sr. Member
  • ****
  • Posts: 388
Restriction on number of ads
« on: July 06, 2011, 06:52:42 am »
I want a feature in admin to set the maximum number of ads allowed per week/month a user can do.

As my site is going to be free it will in time be targeted with *garagecrap* by the hundreds from the same user if not this feature is implemented..

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Restriction on number of ads
« Reply #1 on: July 06, 2011, 10:42:15 am »
Hi Swede,

We'll work on that, probably I'll create an small plugin

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Restriction on number of ads
« Reply #2 on: July 08, 2011, 06:35:08 pm »
Hi

I release a beta version, please, take a look at it :

https://github.com/osclass/osclass-plugins/tree/more_edit

Click on right side of the page "Downloads" and then choose between zip or tar.gz (as you wish). Tell me what do you think about it and how to imrove it. Thanks!!

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #3 on: July 08, 2011, 07:58:14 pm »
That link goes to a file named facebook_login_release....

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Restriction on number of ads
« Reply #4 on: July 08, 2011, 07:59:45 pm »
No, no, download zip or tar.gz will download the correct source, btw,, the direct link to download is this : https://github.com/osclass/osclass-plugins/zipball/more_edit

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #5 on: July 08, 2011, 08:02:45 pm »
Oh... i just thought you put the wrong link in there so i just didnt download it...
I will try it now!

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #6 on: July 08, 2011, 08:07:01 pm »
I dont get this... i downloaded the zip file and it is named "osclass-osclass-plugins-facebook_login_releasee-100-gb32dc95"

Should i really install this??

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Restriction on number of ads
« Reply #7 on: July 08, 2011, 08:12:21 pm »
Yeah, that's the correct file, we should fix the problem with the name.

In the meantime, better use THIS zip attached to the post

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #8 on: July 08, 2011, 08:15:57 pm »
I downloaded it and will try it out in about 6 hours from now...
The truck with timber just arrived!! Have to work....

usclassifieds.org

  • Sr. Member
  • ****
  • Posts: 268
Re: Restriction on number of ads
« Reply #9 on: July 08, 2011, 11:44:39 pm »
Hey, ive uploaded the plugin on to my website and it  doesnt show up anywhere on the manage plugins list..... please help

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #10 on: July 09, 2011, 04:03:13 am »
Its installed and it looks great in the admin!
I set the number to 2 ads per week and 8 ads per month.
I created a new user.
That new user was only allowed to publish 1 ad!

I set to 3 ads per week and 8 ads per month.
The new user is still not allowed to publish more than the first ad.

« Last Edit: July 09, 2011, 04:05:23 am by Swede »

usclassifieds.org

  • Sr. Member
  • ****
  • Posts: 268
Re: Restriction on number of ads
« Reply #11 on: July 09, 2011, 05:14:25 am »
really?????? i tried it and it works perfectly.

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Restriction on number of ads
« Reply #12 on: July 09, 2011, 05:32:35 am »
I allso checked *Moderate edit (admins have to approve them, ads previouslyapproved will not be visible until new approved)*, and what happened when trying to edit an ad, i got the message that the ad has been shut down... but no mail in my mailbox to approve the edit.
« Last Edit: July 09, 2011, 05:43:06 am by Swede »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Restriction on number of ads
« Reply #13 on: July 09, 2011, 11:38:02 am »
Thanks will fix those issues