Advertisement:

Author Topic: [PLUGIN] Advanced Ad Management V. 1.1  (Read 71543 times)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
[PLUGIN] Advanced Ad Management V. 1.1
« on: January 16, 2012, 07:35:30 am »
Hi all,

Jesse and I have been working on a new plugin. Many of you may have been following our progress over on this topic http://forums.osclass.org/development/repost-an-expired-ad/ We now have a plugin that we feel is ready for beta testing.

What features this plugin has:

  • Adds functionality for users to republish their ads
  • Email notification of when an ad is about to expire.
  • You can choose which categories you want to allow users to republish their ads and which categories you do not want them to republish their ads in.
  • Adds the functionality of Jesse's Master Expiration setting plugin
  • Email notification once the ad expires
  • Permanently delete expired ads after x amount of days.

New feature in V. 1.1
  • The ability to show either published date or if the item has been republished it will show republished date
    Refer to the help file of the plugin for instructions on how to add the this new feature.
Please note this new feature is an optional feature the plugin will work just fine if you do not want to implement this feature.

As you can see this plugin is featured packed.

If you come across any errors or bugs please report them on our github page https://github.com/Advanced-Ad-Management/Advanced-Ad-Management/issues?sort=created&direction=desc&state=open

Once you download and installed the plugin you need to got to the config page under the menu for the Advanced Ad Management plugin and finish the install. Please also read the FAQ/ help page as it explains what code you need to ad and to which file.

Please feel free to leave feedback.

Happy beta testing.

Update: 1-16-12
Fixed the republish url in the email templates. zip updated

update: 1-17-12
This time the email republish url is correct.
Added warning when changing the "Number of days until expired ads are deleted permanently?" option.

Reinstall required
zip updated

update: 1-30-12
We now feel this plugin is stable enough to be used by anyone.
Enjoy.

update: 1-31-12
Fixed issue with email templates not deleting when plugin is uninstalled.
Fixed issues with republish url.

update: 1-31-12
Fixed another issue with republishing items

Reinstall required
zip updated


update: 2-4-12
updated the plugin to version 1.1
no bug fixes just a feature enhancement read about it above.

update: 2-6-12
Added the french language. Thanks Romantica for sending me the translation.

update: 5-31-12
Fixed problems with ads not being republished.

update: 6-05-12
Ads now show up again once they are republished.

No reinstall required
zip updated 6-05-12


Please upgrade to 2.1
http://forums.osclass.org/plugins/%28plugin%29-advanced-ad-management-v-2-1/


If you would like a copy of this version please contact me.

Jay
« Last Edit: January 29, 2013, 08:06:40 am by trains58554 »

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #1 on: January 16, 2012, 08:42:13 am »

Wow Nice plugin!

Keep up the good work.

thanks to Jesse & Jay for developing this nice plugin

Bug:

Number of days until expired ads are deleted permanently? save option is missing

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #2 on: January 16, 2012, 08:49:51 am »
Hi RajaSekar,

Did you do step 1 and 2 on config page? Can you tell me can you see the content in the Item Republish Settings feildset?

The save button should show up down at the bottom of the page. If both steps 1 and 2 are done.

Jay

ingo

  • Full Member
  • ***
  • Posts: 216
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #3 on: January 16, 2012, 09:49:13 am »
Hi,

unfortunately does not work for me, re-publish option is not shown with this code
<?php if (function_exists('republish_url')) {republish_url();} ?>

with old one - <?php echo republish_url(); ?>  it works

probably my fault,  by settings to activate option from past days
« Last Edit: January 16, 2012, 10:18:02 am by ingo »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #4 on: January 16, 2012, 10:47:24 am »
Hi Ingo,

That is my fault I forgot to include the word echo I will update the help file. I have fixed the help file.

Jay
« Last Edit: January 16, 2012, 10:49:18 am by trains58554 »

ingo

  • Full Member
  • ***
  • Posts: 216
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #5 on: January 16, 2012, 11:23:34 am »
Hi Jay,

That's  greeeeat work!  :)

Question for next release -  Is it possible to order re - publish ad on the top of the list? If not, no meter it's stil greeeeat work.  ;D

Thanks guys!

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #6 on: January 16, 2012, 03:00:53 pm »
Hi RajaSekar,

Did you do step 1 and 2 on config page? Can you tell me can you see the content in the Item Republish Settings feildset?

The save button should show up down at the bottom of the page. If both steps 1 and 2 are done.

Jay

there is no content in Item Item Republish Settings fieldset

Luca

  • Hero Member
  • *****
  • Posts: 584
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #7 on: January 16, 2012, 06:13:11 pm »
It's a very good job done here! Almost everything is working excellent.

The link sent in the email leads to the modern theme...

I have a suggestion:
The first time the cron goes, mails are sent to the expired items publishers AND items are deleted (supposed the "expired ads are deleted permanently" is set).
Result: a lot of customers are getting the message, but the items are no more there.
My suggestion is to highlight this behavior in the FAQ section and eventually set the "expired ads are deleted permanently" in a later moment  :)

Compliments once again!

Luca
« Last Edit: January 16, 2012, 06:56:41 pm by rafl »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #8 on: January 16, 2012, 07:03:41 pm »
@RajaSekar,

One of the first two steps must not be done if you have no content in the Item Republish Settings fieldset. I check to make sure step 1 and 2 are done you will know when step 2 is done when the link says something like "Manage which categories you want your users to be able to republish their ads in.
24 categoreies allow users to republish ads " You will also get a category count.

@rafl

I will check that as expired ads should not be deleted until they have been expired for what ever amount you have set in the "Number of days until expired ads are deleted permanently" box.

Jay

Luca

  • Hero Member
  • *****
  • Posts: 584
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #9 on: January 16, 2012, 07:13:32 pm »
@trains58554
No, no.. It is working super. Evident is for the first run of the cron. The matter is: say you have expired items from 60 days and set to delete them after 30 days. When the cron runs the first time you have all the >60 days old items deleted and the mail sent out  ;)


trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #10 on: January 16, 2012, 07:28:50 pm »
I understand now. We never thought about that. We will look at adding an explanation in the help pages.

Thanks

Jay

Luca

  • Hero Member
  • *****
  • Posts: 584
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #11 on: January 16, 2012, 07:43:21 pm »
Great.
Anything about the link from the email leading strange?

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #12 on: January 16, 2012, 08:00:11 pm »
@rafl,

I will fix that issue and post an update real soon. The republish url in the emails should work right now.

Jay
« Last Edit: January 16, 2012, 08:21:04 pm by trains58554 »

Luca

  • Hero Member
  • *****
  • Posts: 584
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #13 on: January 17, 2012, 04:37:23 am »
Ok, there seems to be an issue with timing.

You set the expiration days for the categories (30);
you set the deletion of expired items in days (30).
A non renewed item should be automatically deleted, then, after 60 days from its publishing day.

What it seems to me its happening is that the 30 days old item is deleted 30 days after its publishing, after the settings showed above.

Please correct me.

-- It would be awesome, if by clicking the link in the emails any message (flash?..) would confirm the action done.  :)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Advanced Ad Management BETA testers wanted
« Reply #14 on: January 17, 2012, 04:46:53 am »
Hi rafl,

The way the deletion of expired items is suppose be working is after the ad is expired for 30 days or what ever number is set the item should be deleted. I will look into that function check to see that it is functioning like it should.

I will look into why our flash messages are not working.

Thanks for your feedback.

Jay