Loading


Advertisement:

Author Topic: [Plugin] Advanced Ad Management V. 2.5.1  (Read 62970 times)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
[Plugin] Advanced Ad Management V. 2.5.1
« on: January 05, 2013, 07:39:18 am »
Hi all,

This version is no longer supported and will no longer be upgraded. Watch here for version 3.0
Advanced Ad Management(AAM) V 2.5!!

Compatible with 3.1.x +

New features.
  • AAM no longer modifies the original publication date.
  • 3 new emails a conformation email to the user and admin that an item has been republished and one to remind the user that their ad is expired.
  • Admin can now republish a listing from the manage listing page.
  • Admin can choose to all moderators to republish listings or not in the settings
  • problems with mass emailing has been fixed.
  • New notifications for the user if their listing did not republish it gives them a reference number that they can send to you and that reference number corresponds to the reference number in the log which should help to diagnose why the listing did not republish.

V2.5 changes
  • republished listings now show up a the top of the list.
  • The log now has a button to manually empty the log.
  • when viewing the log data it now uses the date format you have set.
  • The amount of log data that is saved can be adjusted on the settings page.

I am sure there are more new features that I cannot think of right now.

Also the way the republishing of ads works has been changed as well. Now when you change the republishing settings the new settings only apply to newly posted listings or newly republished listings.

You will notice when you are on the config page up in the upper right side there is a little gear icon and that is where a few new settings can be changed.

Also if you are interested in translating this plugin let me know and I will add you as a translator on POeditor.com

Also note this version is only compatible with 3.0 and up.

Please note to install remove the old version first and then install this version.

Updates
1-16-13 - fixed issue with the cron running multiple times.
1-17-13 - fixed the issue with the cron not wanting to execute.
2-5-13   - fixed issue with preference not setting right.
2-11-13 - fixed spelling mistake.
4-1-13   - fixed the limit on the log.
4-23-13 - updated to version 2.5
5-04-13 - fixed the error in republishing expired listings, also corrected some strings.

To update AAM just extract the files over the old ones and then go to your admin panel and it will pop up with a message to finish the update.

Enjoy!!




Jay
« Last Edit: September 05, 2016, 12:57:45 pm by oribas »

texthiller

  • Full Member
  • ***
  • Posts: 205
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #1 on: January 05, 2013, 02:36:40 pm »
OlĂ  Trains! Thanks you!

You are the best! ;)

admymotor

  • Newbie
  • *
  • Posts: 29
  • www.admymotor.co.uk
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #2 on: January 05, 2013, 06:16:00 pm »
ive put the latest plugin in and im getting 'File permissions for oc-content/plugins are wrong. Please change them to 755'

they are set at 755, and apart from the error im noticing no other faults

Luca

  • Hero Member
  • *****
  • Posts: 585
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #3 on: January 05, 2013, 07:57:41 pm »
Hi Jay, great work!

Sorry, I'm getting confused by the following:
 
Code: [Select]
Find the following code in the item.php file of your theme folder.

   __('Published date', 'modern') . ': ' . osc_format_date( osc_item_pub_date() )

Then add the following code in the same area to show the republish date.

   aam_pub_repub_date()

I'm trying with this:

Code: [Select]
<em class="publish"><?php if ( osc_item_pub_date() != '' ) echo __('Published date''rafl22b') . ': ' osc_format_dateosc_item_pub_date() ) . aam_pub_repub_date()  ; ?></em>
with no chance.

The item I'm monitoring is a newly republished one (after the new version installed).

Thanks

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #4 on: January 06, 2013, 12:18:43 am »
Hi rafl,

What I should of said is add the code to the line following the publish date code. I will update the help file.

Also the only time you will see a change is once an ad has been republished.

Thanks

Jay
« Last Edit: January 06, 2013, 12:22:30 am by trains58554 »

Luca

  • Hero Member
  • *****
  • Posts: 585
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #5 on: January 06, 2013, 01:27:29 am »
Thank @Jay.

 ::) Mumble mumble...
Yes, the item was republished after the plugin installation.

Btw, the URLs in the mail sent out are not clickable. I searched for any errors but couldn't find, yet

Great "Republish all Expired ads" and "Ad Cleanup" options!!!

I would also like republished items to jump up... would it be possible?
« Last Edit: January 06, 2013, 01:35:15 am by rafl »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #6 on: January 06, 2013, 01:36:15 am »
It could be your email client does not auto hyper link links. I know the links are hyper linked in gmail.

Jay

Luca

  • Hero Member
  • *****
  • Posts: 585
  • CentOs 6.4 - Virtualmin - OSC 3.0 - Custom Theme
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #7 on: January 06, 2013, 01:48:51 am »
I'm sure not the mail client, as it has always worked the expected way.

Anyway, I switched to modern theme to see if the republished date appears but no, nothing...
OSClass is in ver. 3.0

I've installed the plugin multiple times and noticed it leaves mail templates in the database, if it is of your interest.

luca


[UPDATE]

Apart the html part in mails to admin, I've managed to have the plugin up and correctly running.

1) tables from previous plugin version were not deleted/updated on install: they had to be manually removed prior the install;
2) during install upload, the plugin directory gets 777'd, thus the [ 'File permissions for oc-content/plugins are wrong. Please change them to 755']  error.
3) Republished date shows up when item is republished from user' control panel. If items are republished by admin (bulk), not. The same way goes for republished item mails.

cheers.

luca
« Last Edit: January 06, 2013, 06:30:51 pm by Luca »

Alexchees

  • Jr. Member
  • **
  • Posts: 77
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #8 on: January 07, 2013, 06:29:52 pm »
Hi all!

Where do I insert this code: aam_pub_repub_date () does not work for me because there is nothing in the re-advertisement date. : (
And the account does not operate within the re-ad will not appear again in the ad subtitles.


Thanx :S

JOHNP

  • Newbie
  • *
  • Posts: 38
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #9 on: January 07, 2013, 11:39:42 pm »
Hi Trains,

Where I can find this plugin  Advanced Ad Management(AAM) V 2.1? 

Thanks,

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #10 on: January 08, 2013, 12:54:06 am »
Hi Trains,

Where I can find this plugin  Advanced Ad Management(AAM) V 2.1? 

Thanks,

I'm looking for this plugin but I cannot find.
Please can you give us link?

Thanks a lot

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #11 on: January 08, 2013, 01:00:47 am »
I found a link here https://github.com/trains58554/Advanced-Ad-Management but I haven't try yet.

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #12 on: January 08, 2013, 01:06:49 am »
Hi JOHNP and Kittin,

I will be putting the link to the zip back up soon. I had some bugs I had to look into and get fixed.

@Kittin,

The github listing for the AAM plugin has not been updated yet so that would be the old version.

Jay

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #13 on: January 08, 2013, 01:12:41 am »
Thanks Jay for information.

I'm coming back here.  :)


JOHNP

  • Newbie
  • *
  • Posts: 38
Re: [Plugin] Advanced Ad Management V. 2.1
« Reply #14 on: January 08, 2013, 01:56:36 am »
Hi Trains,

Thanks for the reply.