Osclass forums

Development => Plugins => Topic started by: trains58554 on January 05, 2013, 07:39:18 am

Title: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 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.

V2.5 changes

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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on January 05, 2013, 02:36:40 pm
Olà Trains! Thanks you!

You are the best! ;)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: admymotor 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca 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?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: JOHNP on January 07, 2013, 11:39:42 pm
Hi Trains,

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

Thanks,
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 08, 2013, 01:00:47 am
I found a link here https://github.com/trains58554/Advanced-Ad-Management (https://github.com/trains58554/Advanced-Ad-Management) but I haven't try yet.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 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
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 08, 2013, 01:12:41 am
Thanks Jay for information.

I'm coming back here.  :)

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: JOHNP on January 08, 2013, 01:56:36 am
Hi Trains,

Thanks for the reply.

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 08, 2013, 07:40:41 am
Hi All,

AAM is available for download again. Please download the latest zip in the first post.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Travelfrog on January 08, 2013, 02:05:27 pm
Jay,

What am I supposed to see here for master expire settings. It says click here to show the settings, but there is nothing to click, just text.

Master Expire Settings
 Click here to show the settings.


Republish all Expired ads.
 Click here to show the settings.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 08, 2013, 02:09:20 pm
@Travelfrog
 ;) Just click
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Travelfrog on January 08, 2013, 02:13:16 pm
Luca thanks,

So, it is a clickable link. However, it appears as black text and the mouse hover does not display that it is actually a clickable link.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 08, 2013, 02:45:11 pm
HI

I still do not jelenki the ad link back to the user menu :o
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 08, 2013, 02:58:08 pm
@Alexchees

Mine is as follow:

Code: [Select]
<p class="options">
<strong><a href="<?php echo osc_item_edit_url(); ?>"><?php _e('Edit''Modern'); ?></a></strong>
<span>|</span>
<a class="delete" onclick="javascript:return confirm('<?php _e('This action can not be undone. Are you sure you want to continue?''Modern'); ?>')" href="<?php echo osc_item_delete_url();?>" ><?php _e('Delete''Modern'); ?></a>
                                            <?php if(osc_item_is_inactive()) {?>
                                            <span>|</span>
                                            <a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate''Modern'); ?></a>
                                            <?php ?>
<?php if (function_exists('republish_url')) {echo republish_url();} ?>
                                        </p>

Please note, you should change 'Modern' with your theme name

Hope this helps
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: egneje on January 08, 2013, 03:06:51 pm
Ciao Luca, io vorrei tradurre il plugin real estate in italiano..tu sapresti dirmi come fare?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Travelfrog on January 08, 2013, 03:30:10 pm
Why has a warning been added for the plugin folder to be set at 755?

I set to 755 and then couldn't install any new plugins. Now I get a constant warning.

For plugins to be installed, it needs to be 777?

What needs to be changed?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 08, 2013, 05:58:54 pm
For plugins to be installed, it needs to be 777?

What needs to be changed?

This is happening to me also. Anyway, reverting back the plugins folder to 755 everything is working ok again...
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 08, 2013, 06:14:23 pm
Why has a warning been added for the plugin folder to be set at 755?

I set to 755 and then couldn't install any new plugins. Now I get a constant warning.

For plugins to be installed, it needs to be 777?

What needs to be changed?

Hi,

The reason why I added the check to make sure the plugins folder was set to 755 is because on a lot of servers if the permissions of the plugins folder are set higher then 755 it will though a soft exception which will not allows the AAM plugin to republish ads.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 08, 2013, 10:01:16 pm
Hi all
So now it appears again in the ad text, the problem was that the old ads is not supposed to hold only after installing the AAM ads: D
Now is working well so far: D
Big thanx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 09, 2013, 12:13:52 am
Hello,

Thanks for the plugin. I installed it fine. And just did a text for almost expired email. I get the almost expired emails 3 times again. Seems the Cron is running 3 times.

2228   01-08-2013 22:05:43   0   Cron complete.
2427   01-08-2013 22:05:45   0   Cron complete.
2448   01-08-2013 22:05:46   0   Cron complete.

Where the daily cron was set to be 01-08-2013 22:05:09. Any one else having that problem ? Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 09, 2013, 12:18:41 am
Hi jimwinny,

I am not sure why the cron is running 3 times. I will do some checking into this.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 09, 2013, 02:00:17 am
Hi Jay,

Thanks for your help. FYI I did a second test and got the same email 6 times. Then did a third test and got the same email 4 times. This is indeed very strange. The log is limited to the last 249 records I presume this is on purpose but then I can't share much on this error that could help you. 
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 09, 2013, 02:09:05 am
Yep I limit the log to 250 rows and then after that they get moved to a file in the oc-content/uploads folder named AAM.log

Can you tell me which version of Osclass your are using?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 09, 2013, 02:10:27 am
I am using 3.0. Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 09, 2013, 02:11:01 am
@jimwinny
I'm just arguing, here. Can you please share how many email templates AAM did create? (Settings > Email Templates: email_ad_expire, email_ad_expired, aam_listing_republished_admin, aam_listing_republished)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 09, 2013, 02:12:29 am
Hello,

I only have the 4 templates you mentionned.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on January 09, 2013, 11:28:48 am
This plugin has a problem has sent over 1300 emails in loop. Please verify it. Thanks.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 09, 2013, 07:03:02 pm
@texthiller,

Do you have a bunch of expired listings?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on January 09, 2013, 09:27:17 pm

Not many. But the plugin has posted for the same ad about 120 emails.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 09, 2013, 10:23:21 pm
Hi all.

A problem is to remove the ad when it expires on the page it works fine. However, when I enter the user menu to re-announce it does not advertise it. If I enter the admin page I re-published from the surface. It also appears on the page is a list of users but also the re-advertisement of the buttons are not.

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 11, 2013, 08:26:33 am
HI

Ad expires when I get an e-mail with a link which you can click if you want to advertise on it. I click it and I get the following error message:

Sorry, an error occurred trying to republish your listing.

Please contact the admin. Reference # 43379

Reference # 43379 = No secret key was provided.

In this case, what is wrong?

Thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 11, 2013, 09:09:37 pm
@Alexchees,

Did you by any chance republish the ad from the user dashboard? If you did the email link will not work and will give the that error.

@Tom,

When you click the republish button does it take you to the item page and show a flash message stating that the item has been republished?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 11, 2013, 09:59:18 pm
Hi Jay,

Any luck with the issue of the spamming email ? Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 11, 2013, 10:07:30 pm
Hi Trains

I removed the AAM. I deleted the folder as well. And re-installed email alert menu & new email template created email_ad_expire, email_ad_expired, aam_listing_republished, aam_listing_republished_admin, but there is already the third How to delete the previous installation, there was a template? I tried to remove the database table t_pages but receive the following error message:
error

SQL query:

DELETE FROM `` XXXXX_XXXXX. Oc_t_pages `WHERE` `` oc_t_pages. Pk_i_id `` = 39

MySQL said: Documentation
# 1451 - Can not delete or update a parent row: a foreign key constraint fails (`XXXXX_XXXX / oc_t_pages_description`, CONSTRAINT `oc_t_pages_description_ibfk_1` FOREIGN KEY (`fk_i_pages_id`) REFERENCES `oc_t_pages` (`` pk_i_id))
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 11, 2013, 10:18:17 pm
@jimwinny,

I think I have that issue taken care of. I have a few more things I want to check and then I will upload the plugin with fixes.

@Alexchees,

First you have to remove the email from t_pages_description then you can delete the row from t_page.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 12, 2013, 03:04:28 am
@Tom,

I think I understand a little better. You are looking for the ad to be at the top of the list once the item is republished? If yes then that is a feature I am still working on to implement as currently I have not thought of a way to do it yet.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 12, 2013, 07:52:17 pm
Hi Tom,

Can you look at the log for the AAM plugin and see if there is anything stating that an ad did not get republished. This is very strange but I will get it fixed so it works for you and others.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 12, 2013, 08:59:11 pm
Hy Jay,
I tried to replicate tomshaft' issue, but here is everything doing as expected. Sorry

- published a test item;
- changed published and expiration days in db;
- searched via admin panel with its ID nr and republished;
- got listed

luca
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 13, 2013, 12:05:59 am
I didn't change dates in db.

 :) I just listed what I did in order to try to replicate your situation, LOL, as I hadn't any expired items ready to play with
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 14, 2013, 09:06:37 am
Hi Jay,

Is the version of the plugin in your frst post already containing the fix for multiple email sent ? I saw you last edited on 01/11 so yesterday I downloaded the plugin again and replaced files on my server. I had 4 ads to almost expire during the day and I well received 4 emails (1 for each) so no multiple email sent this time. Just want to confirm because it was corrected or if it is a coincidence...thanks.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 15, 2013, 08:44:18 am
@Tom,

I will keep trying to figure out why this is happening to you.

@jimwinny,

I have not updated the zip yet. I think I was editing some of the text. It must of just been a coincidence. I plan to release the update soon.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: 360safetygear on January 15, 2013, 09:34:21 am
Hi Trains!
Long time no see.
Just a heads up, your admin panel does not show in my plug in menu, anything I need to do?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 15, 2013, 12:54:41 pm
Hi

I deleted all the e-mail template from the database
and then re-installed the AAM
- Double the database templates included in the entries.
- An expired ad republished just do not know the admin interface.
plugin folder permissions 755
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 15, 2013, 06:18:05 pm
@360safetygear,

Yes it has been a while. :)

This plugin has its own parent menu so it should show up after the tools menu.

@Alexchees

If you have more then one language you will get more email templates one for each language.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: 360safetygear on January 15, 2013, 09:52:03 pm
Trains.
"Paypal republish settings
Enable Paypal Pay Per Post option to see these settings"

I have enabled PayPal per post, but no settings appear in your control panel. What am I doing wrong LOL
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 15, 2013, 11:06:49 pm
They used to be working. I will check it out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: 360safetygear on January 15, 2013, 11:20:23 pm
You da man, thanks Trains!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 16, 2013, 04:12:57 pm
Hi Trains!

I still do not work with re-advertisement.
The expiration of the ad (IEM ID # 673), was removed from the list when I enter the user account, and I re-published the following warning message. :
Sorry, an error occurred trying to republish your listing.
Please contact the admin. Reference # 46421
The log: 46421 01-16-2013 14:01:26 673 No secret key was provided.
Log sent by email but I never received it.
This is why I do not know what it means republished?
Admin interface but with the re-advertisement.


The debug.log file I found this :
[16-Jan-2013 14:01:26] PHP Notice:  Undefined index: r_secret in /home/hbinfohu/public_html/oc-content/plugins/advanced_ad_management/item_republish.php on line 21
[16-Jan-2013 14:01:26] PHP Notice:  Undefined index: r_secret in /home/hbinfohu/public_html/oc-content/plugins/advanced_ad_management/item_republish.php on line 21
[16-Jan-2013 14:01:26] PHP Notice:  Undefined index: r_secret in /home/hbinfohu/public_html/oc-content/plugins/advanced_ad_management/item_republish.php on line 78

So do not run a secret key?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 17, 2013, 05:45:43 am
Hi all,

Try the latest version in the first post. I could not find the exact error as to why the cron was running more than once but I added a check so the cron for the AAM plugin only runs once. So the issues with the cron running multiple times should be fixed.

@Alexchees,

Try the latest version I updated the logging a little more to help give a little more info so I should be able to help you more.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 17, 2013, 10:39:31 pm
Hi Trains

I installed the new version.
/ oc-content/debug.log
[17-Jan-2013 19:50:04] PHP Notice: Undefined index: repub_date in / home / hbinfohu / public_html / oc-content / plugins / advanced_ad_management / index.php on line 164
[17-Jan-2013 20:03:23] PHP Notice: Undefined index: repub_date in / home / hbinfohu / public_html / oc-content / plugins / advanced_ad_management / index.php on line 164
[17-Jan-2013 20:15:49] PHP Notice: Undefined index: repub_date in / home / hbinfohu / public_html / oc-content / plugins / advanced_ad_management / index.php on line 164
[17-Jan-2013 20:22:51] PHP Notice: Undefined index: repub_date in / home / hbinfohu / public_html / oc-content / plugins / advanced_ad_management / index.php on line 164


/ plugins / advanced_ad_management / index.php line 164:
   if ($ rePubTime ['repub_date']! ='') {


/ plugins / advanced_ad_management / AAM.log empty

Plugin Folder Permissions 755

: (
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 17, 2013, 11:14:11 pm
Hi Alexchees,

The errors in oc-content/debug.log file are nothing to serious. To fix it you can add an @ sysmbol like so

  if (@$rePubTime ['repub_date']! ='') {

To see the error log for the AAM plugin go under the plugin menu and click on log and that should give you some more info.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 17, 2013, 11:31:20 pm
Hi Jay, thanks for the plugin,

I see you have added a check of the last cron, which is a preference, but I only see instruction to uninstall but nowhere instruction to install it, am I right ? :

//added in v2.2 01-10-13
      osc_delete_preference('aam_cron_last_run', 'plugin-item_advanced_ad_management');

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 17, 2013, 11:51:47 pm
I did not add the preference to install function but it is added at the time when the cron runs.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 18, 2013, 12:14:07 am
Thanks Jay, I did a test and when the cron runs, nothing happens, no logs.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 18, 2013, 12:20:24 am
Can you check in the database in the table t_preference if the row aam_cron_last_run has a value. If it does you could try converting the timestamp at this site http://www.onlineconversion.com/unix_time.htm and see if it is set for today. If it is then the cron will not run.

If you want to run some tests with the cron you can remove the value and then the cron will run one time and then if you try again it will block it from running again unless the last time the cron ran was yesterday.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 18, 2013, 12:23:38 am
Hi Jay,

That the issue, I think, there is no row aam_cron_last_run in table t_preference.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 18, 2013, 01:31:52 am
Yea I was doing some more testing and it seems not to working now I am looking into it.

jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 18, 2013, 05:08:19 am
@jimwinny,

I got the issue sorted out. I was not comparing my dates right so it always returned false. I have tested it multiple times and it is working now.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 18, 2013, 11:51:11 am
Hi Trains

Plugin menü / log :

46712    01-18-2013 09:44:48     0    User Ended item republish with an error. :(
46711    01-18-2013 09:44:48     674    No secret key was provided. www.hbinfo.hu/oc-content/plugins/advanced_ad_management/item_republish.php?repub=republish&id=674&rSecret=


If you are not quite done as a secret key

 :'(

THANX
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 18, 2013, 08:12:12 pm
Hi Alexchees,

Are you sure you did all the steps in the settings page for the AAM plugin?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 18, 2013, 09:08:46 pm
Hi Trains
I think so
AAM setup menu plugin
-1. Step clickk (ready)
-2. Step select Categoria


- save

- Translation of email templates


Tried to erase it completely and re-install the plugin. : (

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 18, 2013, 10:51:53 pm
Hi Jay,

I tested the new version. The cron would not run at all. I had to manually create the entry in the preference table and enter a timestamp of yesterday in order to initiate a first cron. Then I ran the cron and got logs that it was done ok. When I try to run a second time the cron, I get logs that the cron already run for today, which is also ok.

However 2 things :
-> In preference, the timestamp is no updated for today (should it be ?)
-> in the logs I still get 3 times the messages that cron has already run :

ID 769 - 01-18-2013 20:43:00 - Cron has already been exicuted for the day.
ID 770 - 01-18-2013 20:43:01 - Cron has already been exicuted for the day.
ID 771 - 01-18-2013 20:43:02 - Cron has already been exicuted for the day.

So I have the impression that the cron can't run twice in a day, but it doesn't prevent the cron to start 3 times in a row.

I have been running the previous version live for the last week, and seems that it is anyway working fine, if the cron runs automatically once a day, I get only 1 email per expired ad. If I run the cron manually, this is were I get several times the email.

FYi I am also preparing a french translation I will send to you.

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 18, 2013, 11:30:37 pm
Hi jimwinny,

That is strange as the plugin should add the preference if it does not exist the first time the cron runs. I will look at that some more.

the timestamp should have been updated to today after it runs the cron.
I am thinking the problem with the cron running multiple times has to be caused by Osclass as I could not see anything in my code that would cause it to run more than once. Beings that you get the message that the cron has already ran for the day 3 times means my change is working and the cron to send ads is only ran once per day.

The cron is only suppose to run once a day but for some reason it is being triggered more than once.

As for the French translation PM me your email and I will add you as a contributor on POeditior.com and there you can import your translation there.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 20, 2013, 12:05:11 am
Hi Jay,

I raised the issue on github and it has been idenfied as an issue in the cron.

https://github.com/osclass/Osclass/issues/593

I did the suggested changes and it works now, so your 2.1 version was perfect, 2.2 is a plus !
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 20, 2013, 04:22:24 pm
Hi Jay,

I did further tests and everything is fine with the cron.
I noticed that the tag PERM_DELETED in email_ad_expired returns 0 where I set it to 90. Don't know if this is an issue with my template so will look further but I wanted to mention it. Thanks.

EDIT -> OK is it because : When changing the deletion days it only applys to newly posted listings and republished listings that are posted/republished after you save ?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 20, 2013, 04:41:48 pm
Hi Trains


Before you reinstall the oc_t_item_AdManage_limit deleted from the database table.
Now you can advertise again.
How could that be if the top of the list again preach?

Thanks Jay: D
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 20, 2013, 11:59:04 pm
Hi Jay, french translation is ready in Poedit, just tell me how I can provide it to you.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: davidag on January 25, 2013, 03:34:31 pm
Hello
I installed the latest version of the plugin (step1, step2 included)
Configured "user-items.php"

In the user control panel button does not appear

What is happening?

Osclass 3.02
Theme Spain


Thank you.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: drzeius on January 25, 2013, 04:13:31 pm
New version of the plugin installed but clicking on the republish button in admin panel, the page load a 500 internal error.

Why?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 25, 2013, 04:40:25 pm
Hey Jay,

I would like to suggest a new feature for the plugin that it seems the core is lacking of (if i'm right...):
- delete all non activated items if publication time>=x days

btw: imo, I personally see it would be better having the republished items going to the top, because if not users are used to publish a new copy of the ad leaving the old ones in place. This is going to appear as a little spamming and charging the admin with the extra work to check and delete... what about you?

luca
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 25, 2013, 07:02:27 pm
@davidag,

The button will not show up unless the listing is expired.

@drzeius,

I would check your error log as that should tell us more as to what is going on.

@Luca,

That is a great idea as far as I know this feature does not exist in the core. I totally agree that it would be better if the republished listings got moved back to the top. I am currently looking into adding this option. I just have to do some more thinking on how this can be implemented.

@tomshaft,

I agree. I think this plugin is almost there.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 25, 2013, 07:38:49 pm
I agree. I think this plugin is almost there.

Jay

Please, don't be modest  ;) this plugin is already a must have, ANYWAY!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 25, 2013, 08:54:32 pm
I think this plugin will be fully there once I get the ads so they republish to the top of the list. I do agree that this plugin is already a must have. But with a few more option it will be an even more must have.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 25, 2013, 09:36:54 pm
Good news guys.

 I have found a way to change the sort order to list republished ads back at the top.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Alexchees on January 25, 2013, 09:55:28 pm
Hi Jay !

New entry appears in the debug.log
What is happening?

[25-Jan-2013 19:49:29] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/hbinfohu/public_html/oc-includes/osclass/model/Search.php on line 182
[25-Jan-2013 19:49:29] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/hbinfohu/public_html/oc-includes/osclass/model/Search.php on line 182
[25-Jan-2013 19:49:29] PHP Fatal error:  Call to undefined function strtotim() in /home/hbinfohu/public_html/oc-content/plugins/advanced_ad_management/index.php on line 327


Thanx :(

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on January 25, 2013, 10:49:08 pm
Hi Jay,

I notice that the ad expires and an email is sent correctly, but the link in user-item.php 'republish' only appears few hours later.
As a consequence, the ad is not visible anymore on the site, it can be republished via the email but the link in the user-item.php appears the day after, which could create confusion.
Anyway to fix this is welcome. Thanks !
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 29, 2013, 08:05:07 am
@Alexchees,

I have fixed the error. Thanks for reporting it. I forgot the e for the function call strtotime()

@jimwinny,

I have made some modifications so now the link shows up in the users account at the same time the about to expire email is sent. I am working on a few more features that I have been suggested and such. So once I am done with the changes I will release the update.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on January 29, 2013, 11:03:02 am
There is small problem one table in db of aam is 125mb.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 29, 2013, 11:47:42 pm
@Tom,

I do not follow what did you discover?

jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 30, 2013, 07:07:43 am
@Tom,

I am going to add some self cleaning to the log. I also have added an option that will move the log out to a file. If you create a file called AAM.log in oc-content/uploads it will only keep 500 rows in the db and then move the rest to the file.

As for the email I would say it is more than likely not the plugin causing the delay.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 30, 2013, 05:40:10 pm
@Tom,

That is my goal is to try to cover all the bases with this new update I am working on.

As for printing MONEY I started working on a plugin once but there where too many bugs to work out and not to mention all the legal red tape involved that I figured it was not worth it.  ;D

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: kanum on January 30, 2013, 06:07:20 pm
Hi,

Is possible user choose time we what publish the ad?

For example give the option to seller/buy chosse 1 week, 2 weeks, one mouth?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 30, 2013, 06:12:13 pm
I am not sure if I am following but you are asking if it is possible for the user to select how long an item is active for? If yes that option does not exist. It should be possible maybe I will look into it.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: kanum on January 30, 2013, 08:33:32 pm
Something like have olx sites. Ability for user choose the duration of announce.

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 30, 2013, 08:45:51 pm
I offer myself as a volunteer for the Euro version testing  :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 31, 2013, 01:02:51 am
@Luca,

Pm me your email and I will send you the latest version I am testing.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 03:12:25 pm
Hi trains and hi everybody,

I post here because I think you can answer me.
I try to install correctly AAM
I've just finished to translate in french version, and I want to translate emails template too. I noticed that I have those templates 4 times?

aam_listing_republished
aam_listing_republished_admin
email_ad_expired
email_ad_expire

How can I do to keep only one of each ?

Other question: Do you recieve the emails when ads are expired or when a user is invited to republish his ad otherwise his ad bill be deleted?

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 31, 2013, 07:29:26 pm
Hello @Kittin!

Do I understand right, you have 4 identical email templates for

aam_listing_republished
aam_listing_republished_admin
email_ad_expired
email_ad_expire

?

Maybe each one of them is for its enabled language. Anyway, you could get rid of the unwanted ones in the DB:

i.e.:

oc_t_pages_description > fk_i_pages_id = "raw number" (delete)
oc_t_pages > pk_i_id = "raw number" (delete)

"raw number" being the corresponding template raw number (they have same nr., i.e. 42 in the two tables above). Please note you should delete the entry in the oc_t_pages_description first in order to be able to delete the oc_t_pages entry then.

luca
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 08:42:37 pm
Hi Luca,

I deleted oc_t_pages_description > and oc_t_pages >

The problem now it's in  panel admin to emails templates I have none ! And I lost all of my pages in my footer  :'(
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 08:48:59 pm
Hi Luca,

I deleted oc_t_pages_description > and oc_t_pages >

The problem now it's in  panel admin to emails templates I have none ! And I lost all of my pages in my footer  :'(

I don't create new page  :'( :'( :'( I think I have a big problem
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on January 31, 2013, 09:00:47 pm
Hi Kittin,

The problem is it sounds like you deleted the tables t_pages_description and t_pages

You need those tables as they store your email templates and pages that you have in the footer links. Do you have a backup of your database? If you do then you will need to open the backup file and copy the data for the two tables you deleted and import that data back in.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 31, 2013, 09:26:36 pm
I'm sorry, I should have underlined the fact that messing with the DB could lead to problems.
I anyway suppose I was clear to delete the "row" entry, not the TABLE!  >:(

As Jay said, in this case a backup restore is the only solution to have your data back in place...

luca

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 09:44:07 pm
Thanks guys for your help.

@tomshaft  I 'm not sure to understand in phpMyadmin when I click on "Import" I have to find those files struct.sql ? If it is, it's done but I cannot recovery tables.

@Luca, no problem it's just difficult for french people like me to understand english language here even if you speak very well english. And when we are not developers it s not easy  :)

I think I'm going to re-install osclass with creating a new database  :-[
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 31, 2013, 09:46:22 pm
wait, no need to reinstall everything!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 09:47:48 pm
wait, no need to reinstall everything!

Ok I'm waiting for your answer
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on January 31, 2013, 10:47:47 pm
Basically, you should recreate those 4 tables only. IMO, there is no need for a complete reinstall. I would wait for Jay's suggestions as he is more in deep knowledge and he surely will drive you safely in the right way
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on January 31, 2013, 11:32:57 pm
Luca,

it's good if I only create those 4 tables, but my problem is that I delete oc_t_pages_description  and oc_t_pages I have error when I want to create a new page (because since deleting those tables, the content of my footer has disappeared; i.e all of my pages)

I'm waiting for tomorrow if there is no solution I will reinstall ALL (osclass+new database+my template+plugins)
When I will reinstall AAM I won't touch emails template LOL

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 01, 2013, 02:03:37 am
Do you have a backup? If not make one. The best case scenario is that you have a prior backup as the restore will be much easier.

Ok once you have your backup (it will be a .sql file) then email me the .sql file as it needs a few changes before you can import the backup back in. See my pm to you for my email address.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 01, 2013, 04:31:57 pm
Hi Jay,

Congratulations for the good job with this plugin.
I have been testing it for a while, and I am unable to receive the expire emails.
I will keep trying it to check if there is anything wrong with the installation I have, but I would appreciate if you have any clue why this is not working.

Also, if you need some testing with the latest versions you have, I would be glad to help.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on February 01, 2013, 05:54:52 pm
Hi Trains,
is possible to make a records limit for log's table in db? I have a problem with disk space on host.
Thanks you!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: rthuey on February 02, 2013, 09:07:13 am
installed this plugin and after step one i get

xFile permissions for oc-content/plugins are wrong. Please change them to 755.

is this a permanent change i should leave on that folder?

i now have a persistent error message telling me File permissions for oc-content/plugins are wrong. Please change them to 755. following me on the admin pages. even though i did change them and conformed they were changed with the hosting company
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 03, 2013, 02:49:38 pm
Hi Jay,

I have been testing it for a while, and I am unable to receive the expire emails.
I will keep trying it to check if there is anything wrong with the installation I have, but I would appreciate if you have any clue why this is not working.

I think I just found out what is wrong. The Cron tasks were not being executed because I was in maintenance mode. Does that make sense?
I was checking the _t_cron table to see the last/next exec time, and it was set quite a while ago. As soon as I disabled the maintenance mode, the Hourly time changed (so I guess the cron was executed).
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 04, 2013, 05:15:13 am
After getting out of maintenance mode, I was still not getting emails from expired ads.
I read the whole thread again to find out that the row 'aam_cron_last_run' was missing in table osc_t_preference.

It seems to be working ok now.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 06, 2013, 02:14:42 am
Hi trains58554,

I installed on my site (osclass 3.0.2) plugin to use advanced management of my ads. I find great plugin thank you again for sharing.

I configured the plugin and categories in the settings. For cons, I do not e-mail to inform that the announcement is nearing the end of maturity or even when the ad is expired (I get nothing at all)

By cons, on my site I have no problem with the mail because I receive many e-mails when creating a user account with the validation request ...

I installed the latest version of the plugin if it can help you.

In advance thank you for your feedback.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 06, 2013, 02:23:22 am
Hi trains58554,

I installed on my site (osclass 3.0.2) plugin to use advanced management of my ads. I find great plugin thank you again for sharing.

I configured the plugin and categories in the settings. For cons, I do not e-mail to inform that the announcement is nearing the end of maturity or even when the ad is expired (I get nothing at all)

By cons, on my site I have no problem with the mail because I receive many e-mails when creating a user account with the validation request ...

I installed the latest version of the plugin if it can help you.

In advance thank you for your feedback.

Check if you have the 'aam_cron_last_run' in your oc_t_preference table.
I added this missing row and it now works for me.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 06, 2013, 02:42:20 am
Hi trains58554,

I installed on my site (osclass 3.0.2) plugin to use advanced management of my ads. I find great plugin thank you again for sharing.

I configured the plugin and categories in the settings. For cons, I do not e-mail to inform that the announcement is nearing the end of maturity or even when the ad is expired (I get nothing at all)

By cons, on my site I have no problem with the mail because I receive many e-mails when creating a user account with the validation request ...

I installed the latest version of the plugin if it can help you.

In advance thank you for your feedback.

Check if you have the 'aam_cron_last_run' in your osc_t_preference table.
I added this missing row and it now works for me.

Hi gilden,

I do not have exact table.

How do I add, do I need specific information for this table?

Thank you in advance for your help.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 06, 2013, 04:22:35 am
Hi gilden,

I do not have exact table.

How do I add, do I need specific information for this table?

Thank you in advance for your help.


For example, you could do this:
Code: [Select]
INSERT INTO `oc_t_preference` (`s_section`, `s_name`, `s_value`, `e_type`)
VALUES
('plugin-item_advanced_ad_management', 'aam_cron_last_run', '0', 'INTEGER');
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 06, 2013, 05:12:56 am
Hi keish,

You can also download the zip from the first post again as I updated it to fix the problem with the preference.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 06, 2013, 12:22:01 pm
Hi keish,

You can also download the zip from the first post again as I updated it to fix the problem with the preference.

Jay

Hi trains58554,

Thank you for your quick response.

Stupid question, how do I installaer new package "advanced_ad_management.zip (47.44 kB - downloaded 1 times.)"?

Do I désativer then uninstall the plugin and delete the plugin directory folders?

or

Do I just load the plugin over the one I already have? By the small cross in management and select the plugin. Zip then change the permissions on the plugin folder from 777 to 755?

I'm really sorry for my question but I would like beast surment not create other errors and it works perfectly with cron because I understand that this error came with the automatic cron-class bone.

Thank you in advance for your reply.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on February 06, 2013, 03:49:30 pm
Trains please test plugin because my user received over 250 mail in a day!
How often the plugin checks for expired listings?
Every minutes?
I think that there is bug in aam
Thanks you!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 06, 2013, 09:54:23 pm
Hi keish,

You just download the new zip and uninstall AAM then copy in the files from the zip and then just install the plugin again.

@texthiller,

Are you using the latest version?

AAM checks once per day for expired listings.

Actually there is a bug in Osc that can cause the cron to run multiple times which can cause mass email sending. In the latest version I have taken measures to insure that the cron code from AAM only runs once.

https://github.com/osclass/Osclass/issues/593

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: texthiller on February 07, 2013, 01:58:53 pm
Trains, thanks you for answer.
The problem is that one you have posted in link.
Have a nice day.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: rthuey on February 07, 2013, 03:32:21 pm
installed this plugin and after step one i get

xFile permissions for oc-content/plugins are wrong. Please change them to 755.

is this a permanent change i should leave on that folder?

i now have a persistent error message telling me File permissions for oc-content/plugins are wrong. Please change them to 755. following me on the admin pages. even though i did change them and conformed they were changed with the hosting company

the persistent error message now says to change permissions on the oc-content folder itself. so i now have permissions on oc-content and oc-content/plugins set to 755. is this normal and ok for a permanent change?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 07, 2013, 05:45:41 pm
@ rthuey,

The flash messages for setting file permissions is there by design as this plugin and others do not work correctly if the file permissions are not set right.

@texthiller,

I do not follow your latest post what is the problem?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 10, 2013, 06:32:39 pm
Hello Jay,

I installed the latest version 2.1.

I now see the log run against every day I set the categories for sending e-mail through a number of days defined but no email is sent to renew the ads ...

Am I alone in this situation?

What can I do to solve the problem??

Thank you in advance.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 11, 2013, 05:31:20 am
@keish: how many days have you defined?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 11, 2013, 12:18:35 pm
@gilden hi, I did the test with 15 days and 6 days the problem is same.

Is there a way to check why emails are not sent?

Yet I see the logs every day the manager change ads ...

Thank you in advance
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 11, 2013, 07:34:00 pm
Hi all,

Has anyone have the same problem as me?

Do you have any idea or could prevent the problem??

Thank you in advance for your help
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 11, 2013, 10:23:05 pm
Hi keish,

The AAM plugin only applies to newly published listings or newly republished listings after you make changes. So if your site had listings before you added AAM then those listings are not affected by the expiration date unless they republish there ad. I hope that makes sense if not let me know.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 12, 2013, 02:49:57 am
Hi Jay,

Thank you for your reply.
For cons, the ads have been added after installation AAM. So I do not know how to check the reason for the problem ...
Should I add something to that e-mails be sent? I correctly configure the settings in AAM. But does it do anything other than configure AAM for e-but be sent?

Thank you in advance for your help.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: luisma on February 12, 2013, 08:18:47 pm
Hello

I have installed the plugin, but when I try to change the value in "Enter Ad expiration in days (0 = no expiration, max = 999 days):" to any value other than "0" does not change and remains with the default value, zero. And I am using osclass 3.0.2
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 12, 2013, 08:42:52 pm
For the chronicle I can report that in ver. 3.0 everything is working as expected (great, have to say).
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: luisma on February 12, 2013, 09:12:16 pm
Already I found the problem. the change is made in the table according to indicated days in the dt_expiration, however is not being deploy it in settings page.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 12, 2013, 10:18:25 pm
1)i cant set Master Expire Settings...
Enter ad expiration in days (0 = no expiration, max = 999 days):

enter 90 days ...save Master Expire Settings but not save

2)...i cant find HELP.....how to configure....i know that i have to put something in item.php ....expiration date....but i can;t find....thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 13, 2013, 12:20:04 am
Hi all,

I am very interested in knowing that my back side I can confirm that the expiration date does not work in the state.

@ Luisma did you find a solution with sql table?

@ Luca did you do something to make this work in the state?

@ trains58554 From your side, do you manage to reproduce the situation encountered?

@ serjuc11111 Are you sure we should add an extra parameter in item.php for timeout?

Thank you in advance for your answers.

soon
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: luisma on February 13, 2013, 12:52:16 am
Hello keish

The problem  is really insignificant. Because the dt_expiration in oc_t_item is updated correctly. But it does not update the display in "Master Expire Settings", and remains at "0".

Tomorrow I will confirm that the functionality is working correctly when the period expires.

Thanks for your support
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 13, 2013, 12:56:36 am
@keish
I've just installed and followed this thread... Maybe issues are arising on particular environment... (?)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: rcetc on February 13, 2013, 03:49:01 am
Hi,

I am using Paypal 2.0.4 with OSclass 3.0.2  My question is, will the days in the Paypal premium setting over ride the master expire setting? I set the master to 30 days and my premium to 365 days will my premium ads expire in the set time or will they expire in the 30 day time?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 13, 2013, 10:44:15 am
if i add in item expiration date i inform de vizitors when the ad expire?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 13, 2013, 10:53:24 am
one Q about AAM.i have on my site 1000 ad,if i start using this plugin now,and i set expiration days 90,and i have a ad published 100 days ago,this ad will be delete?or this plugin works only for ad published after the plugin instalation?thx Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 13, 2013, 03:00:18 pm
hy all!
i want to show the expiration date in item.

i try with this function but not working<?php _e("Expiration Date", 'modern') ; ?>: <?php echo osc_item_expire_date(); ?>   

please look at pictures.

the problem is that i can't set Master Expire Settings

Enter ad expiration in days (0 = no expiration, max = 999 days):

i replace 0 with 90 click save....when i go back the value are still 0(no expiration)

appreciate any help!


Title: Re: [Plugin] Advanced Ad Management V. 2.1 Suggestion
Post by: serjuc11111 on February 13, 2013, 05:20:15 pm
i saw in many sites that,user have a custom filed when post a ad where they can input the expiration date(in days)!

i think will be nice to have like that in osclass..

in item.post

Ad expire in X days(input)

i post today 13 Feb 2013 and i insert X=8 => the ad will expire in 8 day(18 Feb 2013)

waiting for opinion .thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 14, 2013, 09:48:08 pm
Hi Jay,

Thank you for your reply.
For cons, the ads have been added after installation AAM. So I do not know how to check the reason for the problem ...
Should I add something to that e-mails be sent? I correctly configure the settings in AAM. But does it do anything other than configure AAM for e-but be sent?

Thank you in advance for your help.

Hi

Sorry for the late reply. I would give it some time as the only time emails are sent is when ads are about to expire or are expired.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 14, 2013, 09:49:56 pm
Already I found the problem. the change is made in the table according to indicated days in the dt_expiration, however is not being deploy it in settings page.

I will have a look at my code and see why it is not showing the correct number. At least the function is updating the expiration date I will look it over.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 14, 2013, 10:03:46 pm
1)i cant set Master Expire Settings...
Enter ad expiration in days (0 = no expiration, max = 999 days):

enter 90 days ...save Master Expire Settings but not save

2)...i cant find HELP.....how to configure....i know that i have to put something in item.php ....expiration date....but i can;t find....thx

Hi serjuc11111

It sounds to me that the master expire settings is working but it is just not remembering the number of days you set. As stated in my previous post I will take a look.

2) There is some code you can add to the item page to show the republish date. You will find that code under the help/faq paged for the AAM plugin.


Hi,

I am using Paypal 2.0.4 with OSclass 3.0.2  My question is, will the days in the Paypal premium setting over ride the master expire setting? I set the master to 30 days and my premium to 365 days will my premium ads expire in the set time or will they expire in the 30 day time?


Hi rcetc,

Yep the paypal premium setting will override the Master expire days. So your premium ad will be active for 365 days and then after that it will be expired.


if i add in item expiration date i inform de vizitors when the ad expire?

yep if you add an item expiration date AAM will send an email to the user that there ad is about to expire.


one Q about AAM.i have on my site 1000 ad,if i start using this plugin now,and i set expiration days 90,and i have a ad published 100 days ago,this ad will be delete?or this plugin works only for ad published after the plugin instalation?thx Jay

This plugin only starts working on ads added after this plugin has been installed. If you want to manage the older ads there are some tools there to help manage them as well.


hy all!
i want to show the expiration date in item.

i try with this function but not working<?php _e("Expiration Date", 'modern') ; ?>: <?php echo osc_item_expire_date(); ?>   

please look at pictures.

the problem is that i can't set Master Expire Settings

Enter ad expiration in days (0 = no expiration, max = 999 days):

i replace 0 with 90 click save....when i go back the value are still 0(no expiration)

appreciate any help!




If you go to the categories page and edit a category is the expiration days set to 90?


i saw in many sites that,user have a custom filed when post a ad where they can input the expiration date(in days)!

i think will be nice to have like that in osclass..

in item.post

Ad expire in X days(input)

i post today 13 Feb 2013 and i insert X=8 => the ad will expire in 8 day(18 Feb 2013)

waiting for opinion .thx

I think this could be possible but I am not totally sure as Osclass could be doing to checks that would override this change but then again I have not looked into this idea much. Any ways it could be a nice idea.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: baddad on February 15, 2013, 10:10:34 am
Hi Please advice?
File permissions for oc-content/plugins are wrong. Please change them to 755.
any idea? Im running ver 3.02

Thanks so much for the contribution, Im setting up a osclass commercial site and give my commitment that once the site are up and earning some revenue to contribute to your cause!!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 15, 2013, 06:07:06 pm
Hi baddad,

Just as the message says your permissions for the folder plugins are not set at 755. I would change theme to 755 as on most servers this plugin will not function right with more permissions then 755.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: nootkan on February 18, 2013, 09:47:02 pm
I am a little confused by the master ad settings message that states "are you sure as this cannot be undone".  Does this mean that if I set my ads to expire at say 14 days than I change my mind and want them to be say 30 days, I won't be able to do this? 

Also I see this:

Quote
Number of days before item expires to send email?
Note: emails will only be sent on categories with
expiration days greater then 10.

Yet the default is 4 days.  So I understand this to say that anything less than 10 days an email will not be sent.  Correct?  If so, than emails will not be sent at the default of 4 days, which begs the question, why is the default not set to 10?  Am I misunderstanding this also?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 19, 2013, 12:27:48 am
Hi nootkan,

Nope what I mean by the master ad settings is that it will change every categories expiration days so the warning is there to let you know that it will be changing the days on every category and the change can not be undone so if you have custom expiration days you probably would not want to use this option. I hope that makes more sense.

Quote
So I understand this to say that anything less than 10 days an email will not be sent.  Correct?
Nope any category that the expiration days is less than 10 then an email will not be sent.

Quote
If so, than emails will not be sent at the default of 4 days, which begs the question, why is the default not set to 10?
The way it works is say your category is set at 10 days so if the email is set to be sent 4 days before the listing expires then the email will be sent 6 days after the listing was published.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: nootkan on February 19, 2013, 10:30:09 am
Not sure what I'm missing here but I don't see any references to setting categories inside the configuration page for AAM.  Is there any documentation for this plugin and how to use it.  I have over 115 categories and I see that referenced inside the configuration but no way to configure the plugin for them. 
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: vladoniki on February 19, 2013, 11:29:09 am
Great plugin!
How can I add expiration date to be shown in ads, just next to "Published date:"?
Do I need some code and where to put it?

Many thnaks in advance! :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 19, 2013, 06:51:28 pm
Hi

If you add the following code to the item.php file of your theme it will show the expiration date.

osc_item_field('dt_expiration');

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: vladoniki on February 19, 2013, 07:47:32 pm
Hi

If you add the following code to the item.php file of your theme it will show the expiration date.

osc_item_field('dt_expiration');

Jay

Thanks, Jay!

When I paste that code in item.php i appears like this:

(http://gallery.brickmania-bg.com/var/albums/Vladoniki/razni/no%20name.png?m=1361292385)

Any suggestions?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 07:51:45 pm
try echo this...
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 07:55:22 pm
every time when i log in into my admin account should i set permission to 755..
File permissions for oc-content/plugins are wrong. Please change them to 755.

i changed this before to install AAM,log out,when i go back the permissions are 777 again!any sugestions?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: vladoniki on February 19, 2013, 07:57:01 pm
try echo this...

I am really poor in php, how to "echo" it?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 19, 2013, 08:03:44 pm
Hi vladoniki,

use this

<?php echo osc_item_field('dt_expiration'); ?>

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 08:10:39 pm
<?php echo osc_item_field('dt_expiration'); ?>
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: vladoniki on February 19, 2013, 08:11:23 pm
Hi vladoniki,

use this

<?php echo osc_item_field('dt_expiration'); ?>

Jay

<?php echo osc_item_field('dt_expiration'); ?>


Thank you! Works fine! :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 08:18:54 pm
my admin date and time format  are:
 19/02/2013
  19:16

Update:07/02/2013
(AAM)Expire date: 2013-03-11 18:59:38/how can change to 11/03/2013?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: vladoniki on February 19, 2013, 08:20:59 pm
my admin date and time format  are:
 19/02/2013
  19:16

Update:07/02/2013
(AAM)Expire date: 2013-03-11 18:59:38/how can change to 11/03/2013?thx

Same question! :) My osclass format is 19 Feb 2013, but Expire date: 2013-03-11 18:59:38.

Thanks! :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: nootkan on February 19, 2013, 08:43:06 pm
Not sure what I'm missing here but I don't see any references to setting categories inside the configuration page for AAM.  Is there any documentation for this plugin and how to use it.  I have over 115 categories and I see that referenced inside the configuration but no way to configure the plugin for them.

Okay for anyone else who may be confused by this I think I figured it out.  You actually have to set the expiration date in each category individually and not in the AAM.  I missed this as I used the default categories with the installation and never bothered to look at them afterwards. Sorry for my stupidity.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 08:51:53 pm
i look at my admin panel->email templates and i found
email_ad_expire    {WEB_TITLE} - Your ad {ITEM_TITLE} is about to expire.
email_ad_expired    {WEB_TITLE} - Your ad {ITEM_TITLE} has expired.
email_ad_expire    {WEB_TITLE} - Your ad {ITEM_TITLE} is about to expire.
email_ad_expired    {WEB_TITLE} - Your ad {ITEM_TITLE} has expired.

duplicate email for us about to expire and has expire!

how can i delete one "is about to expire" and one for"has expired"...remains only one for each:
email_ad_expire    {WEB_TITLE} - Your ad {ITEM_TITLE} is about to expire.
email_ad_expired    {WEB_TITLE} - Your ad {ITEM_TITLE} has expired.

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 19, 2013, 08:59:15 pm
@serjuc11111 & vladoniki,

Currently the date format is hard coded to that date format. I will add this as an enhancement to the next version.

@nootkan,

Yep you have to set it at the categories or you can use the master expiration settings to set all of the categories at one time.

@serjuc11111,

Do you have more than one language installed? If you do that is why you have duplicates. As there is one for each language.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 09:10:57 pm
i have manually translate this two email to romanian:

email_ad_expire    {WEB_TITLE} - Your ad {ITEM_TITLE} is about to expire.
email_ad_expired    {WEB_TITLE} - Your ad {ITEM_TITLE} has expired.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 19, 2013, 09:17:07 pm
@serjuc11111
bravo tie!  ;)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 09:40:24 pm
in  t_pages_description can't find any email templates of AAM...i got duplicate email ad expire because i translate this manually!thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 09:44:28 pm

      No AAM email templates:
                1   email_item_inquiry   1   2012-07-28 15:29:38   NULL   0
      2   email_user_validation   1   2012-07-28 15:29:38   NULL   0
       3   email_user_registration   1   2012-07-28 15:29:38   NULL   0
       4   email_send_friend   1   2012-07-28 15:29:38   NULL   0
        5   alert_email_hourly   1   2012-07-28 15:29:38   NULL   0
        6   alert_email_daily   1   2012-07-28 15:29:38   NULL   0
           7   alert_email_weekly   1   2012-07-28 15:29:38   NULL   0
        8   alert_email_instant   1   2012-07-28 15:29:38   NULL   0
       9   email_new_comment_admin   1   2012-07-28 15:29:38   NULL   0
        10   email_new_item_non_register_user   1   2012-07-28 15:29:38   NULL   0
       11   email_item_validation   1   2012-07-28 15:29:38   NULL   0
        12   email_admin_new_item   1   2012-07-28 15:29:38   NULL   0
        13   email_user_forgot_password   1   2012-07-28 15:29:38   NULL   0
       14   email_new_email   1   2012-07-28 15:29:39   NULL   0
       15   email_alert_validation   1   2012-07-28 15:29:39   NULL   0
       16   email_comment_validated   1   2012-07-28 15:29:39   NULL   0
        17   email_item_validation_non_register_user   1   2012-07-28 15:29:39   NULL   
       18   email_admin_new_user   1   2012-07-28 15:29:39   NULL   0
        19   email_contact_user   1   2012-07-28 15:29:39   NULL   0
       20   email_new_comm
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 10:14:18 pm
i have only romanian language!but ...i have edit the default email templates AAM,
Your ad is almost to expire change to:Anuntul este apoape de a expira!
And then....another 2 ad_email_expire appears to the final page of email templates!thx
p.s:in AAM->language folder i have:en,Es,Fr
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 10:27:51 pm
i reinstall a fresh copy of AAM...but still the same problem
email_ad_expire 4times
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 19, 2013, 11:27:33 pm
someone...Jay?i have only one language installed!in plugin AAM language folder i have only En.thx!how can i delete 2 emails templates!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 19, 2013, 11:46:05 pm
@serjuc11111
Please, don't panic  :) I'll pm you
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 20, 2013, 11:03:59 am
thx anyone!Solve multy email templates!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 20, 2013, 01:17:06 pm
one final Q:
if i set Master Expire Settings to 90 days and from admin panel->category->edit category->Expiration dates i set for Jobs category ...expiration dates 60 ...that means all ad from Jobs category will expire in 60 days.?..i set this but in item page of one ad from Jobs category...the expiration date remains 90 days....thx
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 20, 2013, 02:23:13 pm
Hey @Jay,

Do you have any good news for us?  :)

Quote
@Luca,

That is a great idea as far as I know this feature does not exist in the core. I totally agree that it would be better if the republished listings got moved back to the top. I am currently looking into adding this option. I just have to do some more thinking on how this can be implemented.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 20, 2013, 07:50:02 pm
Hi Luca,

Yes I do have good news I added a option to remove ads that have not been activated in xx days. I was also able to figure out how to get the republished listings to show back at the top of the list.

I am working on a few more little ideas and will be releasing the updated version soon.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Gilden on February 20, 2013, 08:22:59 pm
Hi Luca,

Yes I do have good news I added a option to remove ads that have not been activated in xx days. I was also able to figure out how to get the republished listings to show back at the top of the list.

I am working on a few more little ideas and will be releasing the updated version soon.

Jay

Those are great news! Thanks Jay :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Luca on February 20, 2013, 08:50:09 pm
@Jay!
 
:) I'm ready to uncork the champagne together :-* :P ::) 8) :o ;D :D ;)  Yeah!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 21, 2013, 02:31:46 am
Hi all,

I'm sorry for my late reply.

To address the problem that I have with AAM, I noticed that my spam blocks ads but I do not know if it is because of this that the e-mails are not sent (see attachment) ?

In addition, if it is the anti-spam blocking my e-mails there a way to solve the problem without disabling the anti-spam integrate osclass 3.0.2?

Thank you in advance for all your help and to Jay for his wonderful work!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 21, 2013, 05:48:34 am
That should not have anything to do with the emails not being sent. Maybe try checking your error log.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: keish on February 21, 2013, 12:31:55 pm
Hello Jay,

Thank you for your quick response.

So I just checked the error log file "\ mysite \ error_log" but nothing indicated above ... Is there another place where I can find error logs?

Otherwise, as you said this is no problem for sending e-mail, do you know why my AAM does not send e-mails? I read in the previous pages that the problem come from the configuration table in the MySQL database AAM?

Thank you in advance for your help.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 21, 2013, 07:48:32 pm
You could try enabling the debug feature in osclass

http://doc.osclass.org/Debug_PHP_errors

Other than that I do not have any other ideas as to why the emails are not being sent out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: scotty68 on February 22, 2013, 09:19:23 pm
I have a problem with adding the code to the user item php. the code you ask us to find doesnt excist, iv done a custom theme built off the twitter one.
Also can i just use it to expire the adds after 30 days im not fussed buy people reposting.
thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on February 22, 2013, 11:15:14 pm
Hi scotty68,

The place where I suggest would be a good placement for the code is for the modern theme. For your theme you may have to experiment where to place the code. But since you are not wanting to worry about listings being republished then you do not need to add that code.

For the most part it will work just to expire the ads you just have to change the number of days to before ad expires email days to 0 and then that should stop emails from being sent to the users.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: scotty68 on February 23, 2013, 12:30:42 pm
Thanks Jay i was hopeing it would still expire the adds, nice plugin and thanks for the quick reply.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on February 28, 2013, 11:41:18 am
can we show expiration date like:expire in 23 days....AAM master expiration 90 days....the ad was post 5 days ago....in item to show....the ad will expire in 85 days...????
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Optimus on March 04, 2013, 11:21:35 pm
Hi Jay, there is an option to send a reminder email (by default 5 days) when the item is going to be deleted.
I don't see a template for this, although I see the function, is this something which has been removed ?
Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 09, 2013, 04:58:47 pm
i got this error....thx for help!

/oc-content/plugins/advanced_ad_management/ModelAAM.php on line 172
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 09, 2013, 05:39:21 pm
another error..please take a look!thx

PHP Fatal error:  Call to a member function result() on a non-object in /home/public_html/oc-content/plugins/advanced_ad_management/ModelAAM.php on line 139
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on March 09, 2013, 07:49:27 pm
Hi serjuc11111,

I will take a look.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 09, 2013, 10:09:13 pm
thanks Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: tomshaft on March 11, 2013, 07:13:18 pm
FYI Jay,
Here is Email I'm recieving as Admin. Why do the paragraph start/stops show?

<p>Hi tom!</p> <p>Your ad has expired. You may renew your ad by clicking on the link http://www.hannarealtors.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=2&repub=republish&rSecret=9zgrVZoK&secret=2CHdNNpo (http://www.hannarealtors.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=2&repub=republish&rSecret=9zgrVZoK&secret=2CHdNNpo). Otherwise your ad will be permanently deleted in 0 days</p> <p>This is an automatic email, Please do not respond to this email.</p> <p>Thanks</p> <p>Hanna Realtors</p>

Attached is a screenshot after clicking on lick. Note the YELLOW highlited area.
This plugin sure has come a long way. Great job.
Tom
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on March 12, 2013, 04:26:03 am
Hi Tom,

I am not exactly sure but I will look into it. In the mean time you should be able to edit the email template and correct the issue.

As your your flash message problem that is because you are missing the css for the flash messages.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: tomshaft on March 12, 2013, 09:42:14 am
That was using hierarchy. Tried to show that in the screenshot. I was running through a few plugins using different themes when I seen the flash message.
Yep on the template edit. Wasn't sure about the flash message.
It was just an fyi. Don't know if it is something others are having.
 
Tom
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 12, 2013, 12:13:16 pm
this is the line: $count = count($resultAll->result());

Fatal error: Call to a member function result() on a non-object in /home/X/public_html/oc-content/plugins/advanced_ad_management/ModelAAM.php on line 172
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: mpcolleges on March 13, 2013, 08:39:08 pm
hi..i am new to this community...

i have been trying to use this plug-in...i have pasted the required code in user-items.php but the republish link is not being displayed there...

need a little help asap...

regards
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 14, 2013, 11:45:34 am
wait for an ad to expire...then u will se the republish link!

serjuc
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: tomshaft on March 14, 2013, 12:12:38 pm
hi..i am new to this community...

i have been trying to use this plug-in...i have pasted the required code in user-items.php but the republish link is not being displayed there...

need a little help asap...

regards

The "re-publish" should show in admin, manage listings, show more. Chose one of your listings, click show more. This should be there if item is expired or not. At least that is how it is on mine....

tom
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: light_bulb on March 17, 2013, 03:08:04 am
how do I configure it so when you repost an ad it deletes the expired copy?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Aficionado on March 17, 2013, 07:33:23 pm
I just added this plugin and i get :

File permissions for oc-content/plugins are wrong. Please change them to 755.

This is not correct since all other plugins installed well and since the whole directory has full rights (Plesk, Windows PHP).

Thanks

Edit: Just moved to php hosting and no problem. Apparently it was a Windows php problem.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on March 21, 2013, 04:26:16 pm
I just added this plugin and i get :

File permissions for oc-content/plugins are wrong. Please change them to 755.

This is not correct since all other plugins installed well and since the whole directory has full rights (Plesk, Windows PHP).

Thanks

Edit: Just moved to php hosting and no problem. Apparently it was a Windows php problem.

Hi,

I have the same problem.
My message is "File permissions for oc-content/plugins/advanced_ad_management/item_republish.php are wrong. Please change them to 755."
Sorry for my understanding (I'm french) I have to move this item_republish.php file? where?

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Kittin on March 21, 2013, 05:13:38 pm
AAM changes it's folder to 777. To change back to 775. Log into your server control panel or using your FTP program to change the AAM folder back to 775. You may also want to check the plugins folder. make sure it is set to 775 as well.

Tom

I did what you said to me, but it doesn't work, the alert message stays in admin
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Aficionado on March 22, 2013, 05:31:39 pm

All details about how ads expire in Osclass were posted for me in an other thread, so i had to remove this post.
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: kenbotong on March 22, 2013, 10:29:15 pm
hi jay,
This plugin does not work well,
I'm running out of database space just for ads log management,
my database reached 3GB only for this plugin.
because Ialready achieve thousands of items in the my web, then this plugin makes my database slow to access.  :'(

I want to say is:
Is it possible in the settings for cronjob once a week, or once a month?  ???
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Aficionado on March 24, 2013, 12:17:33 am
Using the Osclass 3.1.1 and the latest of this plugin, the ads-about-to-expire email notification doesn't work.

Cron has just finished and nothing.

The log reports:

Ad not about to expire.

Cron complete.




Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Aficionado on March 24, 2013, 11:58:06 pm
Trying to solve my problems with this plugin, i installed locally an instance of Osclass, using Bitnami (windows 7).

Installing this plugin, when i click to Finish installation, i get:

File permissions for oc-content/plugins are wrong. Please change them to 755.

I don't have this problem on the web hosting plan i have, just locally in my pc.

How do i fix this in Windows ?

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: light_bulb on March 25, 2013, 03:37:57 am
Is it possible to configure the plugin so it deletes the old copy of a post when reposting?
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 27, 2013, 07:37:49 pm
hy guys!still no ideea about this error in mu AAM log:
Fatal error: Call to a member function result() on a non-object in /home/DATABASE/public_html/oc-content/plugins/advanced_ad_management/ModelAAM.php on line 172
thx!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on March 27, 2013, 08:47:37 pm
@Aficionado,

I am going to look and see if I can make the plugin working without having to have the plugins folder set at 755 on windows I think the plugin should work just fine even with the error message showing but I am not sure as I do not have a windows machine to test on.

@light_bulb,

Listings are not reposted all that happens is the expiration date is extended so the first ad the user published is the still the same even after they republish the listing.

@serjuc11111,

I will look at that and be back in a bit with a fix for you.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on March 27, 2013, 08:49:44 pm
@serjuc11111,

Can you tell me what you have on line 172 of ModelAAM.php?

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 27, 2013, 09:15:08 pm
on line 172 i have:
$count = count($resultAll->result());
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: trains58554 on March 27, 2013, 09:42:04 pm
OK to fix it remove the code on line 172 and replace it with this code

if($resultAll == null) {
$count = 0;
} else {
$count = count($resultAll->result());
}


Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: serjuc11111 on March 27, 2013, 09:50:56 pm
thx Jay!That fix my error!
Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: Aficionado on March 31, 2013, 01:57:46 pm
@Jay hi,

Is that Log ever growing ? Does it auto-delete ?

Could be a problem of mysql growing in a few weeks ...

Title: Re: [Plugin] Advanced Ad Management V. 2.1
Post by: kenbotong on March 31, 2013, 06:28:00 pm
@Jay hi,

Is that Log ever growing ? Does it auto-delete ?

Could be a problem of mysql growing in a few weeks ...

your question same like me..

hi jay,
This plugin does not work well,
I'm running out of database space just for ads log management,
my database reached 3GB only for this plugin.
because Ialready achieve thousands of items in the my web, then this plugin makes my database slow to access.  :'(

I want to say is:
Is it possible in the settings for cronjob once a week, or once a month?  ???
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: trains58554 on April 02, 2013, 01:17:25 am
@kenbotong & Aficionado,

I have fixed the log limit. So now you can adjust how many rows you want to save in the database default is 250 rows. You can adjust this in the settings(the little gear icon in the upper right). If you would like to only keep a small amount in the database but would like to keep the rest of the log data you can. All you have to do is create a file named AAM.log in the oc-content/uploads/ folder.

You will find the updated zip in the first post. Just copy in the files no need to reinstall.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Mr.Mrak on April 02, 2013, 10:37:00 pm
How to make so that the user himself pointed term ads?
For example: 2 months
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 04, 2013, 04:58:38 pm
Hi @Jay

How can I please delete the over 2.000.000 log lines entries safely from the DB? Thank you. I've just overridden the 2.1 with the 2.1.3

Luca

(BTW:  ::) you promised us republished items on top...  ::) )  :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Gilden on April 04, 2013, 08:18:30 pm
I think you may just delete the rows from the table.

(BTW:  ::) you promised us republished items on top...  ::) )  :)

Can't wait for that too :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 04, 2013, 08:21:48 pm
Hi @Jay

How can I please delete the over 2.000.000 log lines entries safely from the DB? Thank you. I've just overridden the 2.1 with the 2.1.3

Luca


Maybe they will be taken care in the next cron cleanup ?

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 04, 2013, 08:30:54 pm
Quote
Maybe they will be taken care in the next cron cleanup ?

Hope so...  :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: light_bulb on April 05, 2013, 12:39:31 am
Is it possible for the listings in user-items to be sorted into 'active', 'expiring soon', and 'expired'?

Cheers
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 05, 2013, 02:40:00 pm
Quote
Maybe they will be taken care in the next cron cleanup ?

Hope so...  :)

Nope  :'( they are still there, were not purged;
AAM.log in upload dir, still empty and the DB log is still being populated with new entries...

@Jay, thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 05, 2013, 02:43:59 pm
Quote
Maybe they will be taken care in the next cron cleanup ?

Hope so...  :)

Nope  :'( they are still there, were not purged;
AAM.log in upload dir, still empty...

Maybe the plugin should have an option to MANUALLY reset the whole log.

How about that ?
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 05, 2013, 02:47:13 pm
I don't see such an option in the settings. If it is in the log page... then it seems it doesn't want to show anything, maybe because is too large (?)

[ADD]
I've dropped the table and recreated it empty :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 05, 2013, 02:53:58 pm
I don't see such an option in the settings. If it is in the log page... then it seems it doesn't want to show anything, maybe because is too large (?)

You don't see such an option ...because ... there isn't one. yet. I was asking for a new option to be added.

 ;D
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 05, 2013, 03:01:09 pm
Thank you @Aficionado

I've dropped the table and recreated it empty :)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 05, 2013, 11:05:25 pm
@kenbotong & Aficionado,

I have fixed the log limit. So now you can adjust how many rows you want to save in the database default is 250 rows. You can adjust this in the settings(the little gear icon in the upper right). If you would like to only keep a small amount in the database but would like to keep the rest of the log data you can. All you have to do is create a file named AAM.log in the oc-content/uploads/ folder.

You will find the updated zip in the first post. Just copy in the files no need to reinstall.

Jay

Hello.

It doesn't work well for me.

For a second day today, i get an totally empty log and:

No log data to report.



Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: trains58554 on April 06, 2013, 07:44:46 am
Hi Guys,

Once you updated to 2.1.3 it should have taken care of the log once a cron ran. I will take a look at my code and see why it did not purge the excess log data.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 06, 2013, 04:04:55 pm
Hi Guys,

Once you updated to 2.1.3 it should have taken care of the log once a cron ran. I will take a look at my code and see why it did not purge the excess log data.

Jay

Actually that new version seems to purge all logs. Mine is empty, nothing. nadda. Nothing to report. Can't be .....

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 06, 2013, 04:19:02 pm
For me, it seams to work - for now. I mean, it has 109 lines since the log table being recreated
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 08, 2013, 03:59:07 pm
Hey @Jay,

can you please check this, maybe related to AAM?

http://forums.osclass.org/general-help/memory-errors/msg52132/#msg52132

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 08, 2013, 08:48:36 pm
Hey @Jay,

can you please check this, maybe related to AAM?

http://forums.osclass.org/general-help/memory-errors/msg52132/#msg52132

Luca

I think it IS related, since i got no error today. I will wait an other cron to run and then i will be sure that AAM is the cause.

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: trains58554 on April 08, 2013, 11:07:56 pm
Hi Guys,

I will take a look and see what the deal is.

@Aficionado,

I am interested in hearing what your findings are once the cron has ran again.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 08, 2013, 11:16:30 pm

@Aficionado,

I am interested in hearing what your findings are once the cron has ran again.



It is strange since i have two 3.1.1 sites, with the exact 100% of code and modules. Only one has that memory problem. Maybe due to a large Location database, since it only has 30-40 ads posted. If indeed AAM is the problem, i could help in pinpoint the cause.

In any case tomorrow we will be sure (more or less ...), since 48 hours is enough.

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: gustavolp2011 on April 09, 2013, 08:08:48 am
Perdon.. pero me lei todo y se me hace una ensalada en la cabeza... no entiendo que tengo que hacer con los codigos... alguien tiene un paso a paso?? lo mas practico posible... suelo editar css y php y html pero con este plugin que a la vista esta muy interesante me mataron...no entiendo nada... jajjaja
les dejo mi correo por si me pueden escribir directo... gustavolp2011@gmail.com
MUCHAS GRACIAS
Gustavo
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 09, 2013, 12:28:15 pm

@Aficionado,

I am interested in hearing what your findings are once the cron has ran again.



Jay,

Second cron cleanup that run with AAM disabled and no errors in the logs. So i'm pretty sure AAM caused the memory errors.

Let me know if i could help,

thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Aficionado on April 09, 2013, 10:33:19 pm
This was a false alarm.

Just got a bunch of those errors again. It is not AAM.

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: kenbotong on April 11, 2013, 12:14:53 pm
hi jay,

I inform you
I got complaints from members
that their ads will end up flooded with email confirmation
until a confirmation email is sent as many as 700 email.
that makes the computer to hang  ::)
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 15, 2013, 04:54:40 pm
Hi Jay.

A) The log has now reached 42,000+ entries and AAM.log file is still empty.
B) The Republish all Expired ads command seems to not function. It was in the previous version, though.
C) No duplicated emails are sent from my system, as per the extract from the log:

Code: [Select]
39353 04-15-2013 07:25:04 6804 Delete expired ads disabled.
39352 04-15-2013 07:25:04 6804 Ad is not expired so no email sent.
39351 04-15-2013 07:25:03 6804 Ad is about to expire email sent. Successful
39350 04-15-2013 07:25:03 6803 Delete expired ads disabled.
39349 04-15-2013 07:25:03 6803 Ad is not expired so no email sent.
39348 04-15-2013 07:25:03 6803 Ad is about to expire email sent. Successful
39347 04-15-2013 07:25:03 6802 Delete expired ads disabled.
39346 04-15-2013 07:25:03 6802 Ad is not expired so no email sent.
39345 04-15-2013 07:25:03 6802 Ad is about to expire email sent. Successful

and it is confirmed by the system mail log

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: eighteens on April 15, 2013, 09:36:27 pm
thanks for this plugin help me a lot

but am still searching the function where user can delete their ads with password.
this means, user will insert their password before click publish ads and keep their password for deleting ads in future.

is there any way this plugin can achieve that function

Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: trains58554 on April 16, 2013, 05:06:59 am
I will take a look and see what is going on and get the log working correctly.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: mrreference on April 17, 2013, 01:08:58 am
Hi, I really want this plug-in but don't know if it will cause me more headaches at the moment.  I have version 3.1.1 and all is going well aprt from a few minor challenges.  Is it worth installing this @trains58554 or waiting a short while?

cheers 
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: trains58554 on April 17, 2013, 04:03:35 am
Hi mrreference,

It maybe best to wait a couple of days as I have an issue with the log that I have to fix.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: mrreference on April 17, 2013, 04:18:47 pm
Thanks Jay, would you mind posting a note when it 's ready.
cheers
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Luca on April 17, 2013, 04:44:09 pm
 ::) ::) ...Renewed items on top...  ::) ::) ... :P
Title: Re: [Plugin] Advanced Ad Management V. 2.1.3
Post by: Glass on April 22, 2013, 11:26:25 am
Hi,

It looks like premium ads do not expire - I am unsure if it has to do with the plugin.

Thanks.
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: trains58554 on April 24, 2013, 01:53:52 am
Hi all,

I have just updated AAM to version 2.5 with the biggest change being republished items now appear at the top of the list.

Also I test out the log extensively and it seems to be working. I also added a button on the settings page to empty the database just in case the log does not self purge itself.

enjoy!  :)

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Luca on April 24, 2013, 04:32:51 pm
Great job, Jay. Thank you very much!

There is still an issue, when republishing ads by bulk the site goes down about 3-4-5 minutes maybe depending on the number of ads to check/republish...
May I suggest to divide the process in several steps in order to be less heavy?

Luca

[ADD]
I am noting, now, that
 <?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
is printing the date when the ad is going to expire... not the republished  :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Aficionado on April 24, 2013, 08:52:41 pm
For me the massive repost hits the 25 processes limit Hostgator has.

Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: trains58554 on April 24, 2013, 11:31:24 pm
@ Luca & @Aficionado,

Thank you both for reporting back your findings.

I will for sure divide the repubing of expired ads into smaller chunks.

Also regarding the repub date having the expiration date I have fixed that it only applies when you use the republish expired ads section. When I get the repub of expired ads adjusted I will release an update.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Luca on April 25, 2013, 12:19:40 am
Great, Jay, I admire your work

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: constantin on April 25, 2013, 04:00:24 am
Hi,

I use the plugin on the latest osclass and the email templates have not been created. I see not one of the three in the email template pages.

Did anybody encounter a similar  problem?
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: trains58554 on April 25, 2013, 04:03:51 am
Hi constantin,

I will check it out as I just did a fresh install and like you said no email templates.

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Luca on April 25, 2013, 01:39:59 pm
@Jay,
there are additional glitches.

- Last published ads don't appear anymore on top, assumed that no ads were renewed after the last new published ad;
- New ads are carrying the republished date (indeed is shown the expiration date), instead of nothing.

Thank you

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: constantin on April 25, 2013, 02:43:14 pm
Hi Jay,

thank you for a great and much needed plugin!

Take care,

constantin
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Aficionado on April 26, 2013, 06:41:33 am

- New ads are carrying the republished date (indeed is shown the expiration date), instead of nothing.


True !!!

Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: gustavolp2011 on April 27, 2013, 05:54:54 pm
please i need new download link!!
thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Gilden on April 28, 2013, 08:13:17 pm
please i need new download link!!
thanks

Check the first post of this topic; the zip file has been updated.
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: anarosa on April 29, 2013, 12:19:49 am
Hi all,

i like translate the Email notification in for my site in other languages, but I don`t no where?

I cant find nothing in message.po


How do I edit the email templates?

To edit the email templates you have to go under the Email & Alerts menu. Then you will see the following names in the list email_ad_expire, email_ad_expired, aam_listing_republished.


Oki, Thanks for the Plugin in!!!!!!!!!!







Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: Luca on April 30, 2013, 11:28:51 am
@Jay
Please, what does it mean "Republish Ad (Debug mode enabled)" in admin panel ad list?
AAM debug is disabled.

Thank you

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: trains58554 on May 01, 2013, 01:55:37 am
@Luca,

I will take a look I think I know what happened is that I forgot to remove the note about debug mode for the non debug mode text.

I will get it straitened out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5
Post by: fog on May 04, 2013, 08:05:50 pm
Hello, I use the theme repurpose, and the file item.php has code  quite different from the modern theme. I do not know where I edit the code  correctly in the file item.php. If anyone knows how to do, please tell me.

In the file-user items.php I put the first code to be inserted before the <head> is correct?

Code: [Select]
<!DOCTYPE html>
<html dir="ltr" lang="<?php echo str_replace('_''-'osc_current_user_locale()) ; ?>">
<?php if (function_exists('republish_url')) {echo republish_url();} ?>
    <head>

I use the current version of osclass
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 05, 2013, 07:31:06 am
@fog,

Add the line down around line 47 of the user-items.php file.


Also just a note to everyone I have released 2.5.1 which corrects some errors I introduced into the republishing of expired ads. It also corrects the text that shows up in the admin page when viewing listings. I have as to yet break the republishing of expired ads function down into smaller chunks.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Gilden on May 05, 2013, 09:42:19 pm
Hi Jay,

I just tried version 2.5.1, but somehow the email templates are not inserted in the database.
Also (I'm not sure if it has anything to do with it) my Uniform.js inputs and selects stop working as soon as I enable AAM.

This is the code I have in debug.log:

Code: [Select]
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  s_meta in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 410
[05-May-2013 17:37:00] PHP Notice:  Undefined index:  b_link in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 411
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  pk_i_id in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 306
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  i_order in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 287
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  pk_i_id in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 306
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  i_order in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 287
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  pk_i_id in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 306
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  i_order in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 287
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  pk_i_id in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 306
[05-May-2013 17:37:42] PHP Notice:  Undefined index:  i_order in /home/testserver/public_html/oc-includes/osclass/model/Page.php on line 287
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: fog on May 06, 2013, 03:39:20 am
Hello @Jay, I sent you PM

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 10:42:57 am
No ad are showing after installed latest AAM!"No listings show all the page"thx what could be the problem?
osclass 3.1
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Luca on May 07, 2013, 02:45:35 pm
@Jay
Thank you.

For information only
- it is still showing "Republished date" on new items;
- "Sort newly republished listings to the top" still doesn't allow new ads to :also: be displayed on top

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: sirchunk on May 07, 2013, 03:25:21 pm
Hey Jay,

Just to let you know for some reason I can not see the email templates that your plugin uses?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 04:55:35 pm
someone....when i activate the AAM i can't see any ad....what happend?with older version everythink works fine!thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: _CONEJO on May 07, 2013, 06:33:14 pm
you are not important with this kind a post!give a better answer.do not preach to me...i posted twice because was urgent,let the admin to tell me these things,u are just an unknown.thx

Please, no double post or posting multiple times the same issue/question. I'm not sure why you think that posting it multiple times will solve the problem or make me think that it's an urgent matter. Unfortunately I don't have enough time to read & reply every topic in this forum, emails, uservoice ideas, ... and do my work on the code of Osclass, I wish, but I don't have it. So I'm sorry for that.

Anyway, remember a few things:
* Osclass is free and open source, we're a very small team, with very limited resources. We are not making any money from Osclass.
* Posting the same issue more than once will waste everyone's time, and we don't have much of it!
* Some times (in this case for example), your issue was with a plugin developed by a third party (Jay) which also give his work and time for free. Remember that he may live in other time zone, he may be sleeping or he's busy with other things
* Not sure why you think that "posting the same multiple times" makes it "urgent", but instead it annoys me. Do not do it ;)
* There's no need to  insult to anyone, less in public. If you have a problem with any other user, please try to resolve it first in private.
* We try our best, sometimes it's not enough, but it's really our best work


As a final note, serjuc11111, take this at the first warning, I will not tolerate that kind of behaviour on this forum, there will not be a second warning. Same for everyone else, calm down a little bit.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 06:37:29 pm
Sorry for double post!But he has nothing to do with moderation to give me indications!sorry again!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 07, 2013, 07:08:05 pm
@gilden,

Thank you for that snippet of errors I now know why the email templates are not being inserted. I will get that updated.

@serjuc11111,

I have not encountered that before but i will do some checking and see why none of the ads show up. In the mean time you could go into the settings page and change this option "Sort newly republished listings to the top?" to now and save then it will behave like the previous versions.

@Luca,

hmm I will take a look and see why the repub date is showing on new listings.

I think the reason you do not see any new listings on the top is from when I had the error in republishing of expired ads so now all the ads that where expired now have a re publised date of when they expired which is going to be later then any new listing. About the only solution I can think of is to manually adjust the republish dates of those listings.

@ sirchunk,

Thanks for letting me know. I have figured out what the problem was thanks to @gilden so it will be fixed in the next version.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 07:10:36 pm
thx Jay for help!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 08:11:47 pm
Jay...i don't have nothing like this:"Sort newly republished listings to the top" i have a lot  of ads,when i activate this version of AAM all pages show"No listing"...
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 07, 2013, 08:14:37 pm
You will find that option on the settings page. To get to the settings page you have to click on the gear icon in the upper right hand side when you are on one of the AAM config page.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 08:40:02 pm
Ads still not appearing
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 08:45:50 pm
now i see the ads!Thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Luca on May 07, 2013, 09:19:44 pm
@Jay


Quote
@Luca,

hmm I will take a look and see why the repub date is showing on new listings.

Thank you!

Quote
I think the reason you do not see any new listings on the top...

Couldn't the reason be because oc_t_item_adManage_limit' repub_date is the expiring date, thus being listed as the most new? If this makes any sense...?

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 09:38:06 pm
how can we display the date like this:if item was republished ->display republished date else display published date?thx

<?php if ( osc_item_pub_date() != '' ) echo __('Published:', 'modern') . ': ' . osc_format_date( osc_item_pub_date() ); ?>
<?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 09:50:07 pm
with this version ...can we change date format?

my admin date and time format  are:
 19/02/2013
  19:16

Update:07/02/2013
(AAM)Expire date: 2013-03-11 18:59:38/how can change to 11/03/2013?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 07, 2013, 09:59:13 pm
Couldn't the reason be because oc_t_item_adManage_limit' repub_date is the expiring date, thus being listed as the most new? If this makes any sense...?

That makes sense and that was what I was trying to say in my earlier post. I have fixed the aam plugin so it does not set the expiration date for the repub date. The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past. I am very sorry about the mess I caused.

I also just fixed it so the repub date does not show up on new listings.

@serjuc11111,

You could do something like this.

<?php if (function_exists('aam_pub_repub_date') && aam_pub_repub_date() != '') { ?>
<?php if ( osc_item_pub_date() != '' ) echo __('Published:', 'modern') . ': ' . osc_format_date( osc_item_pub_date() ); ?>
<?php } else{ ?>
<?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<?php } ?>


Which page is the date format not right at?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 07, 2013, 10:01:38 pm
@Jay why AAM doesn't simply follow the date and time format we have set in Osclass admin ?

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 07, 2013, 10:02:24 pm
It should be which page is it not following that date format?

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Luca on May 07, 2013, 10:09:20 pm
@Jay
Code: [Select]
I am very sorry about the mess I causedYou're very welcome.

Code: [Select]
The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past
I can't really do this for 8,000+ items, lol  :)

Luca
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 07, 2013, 10:10:40 pm
It should be which page is it not following that date format?

Jay

In the log reports for example. Not sure if in other areas also.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 07, 2013, 10:18:15 pm
@Jay
Code: [Select]
I am very sorry about the mess I causedYou're very welcome.

Code: [Select]
The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past
I can't really do this for 8,000+ items, lol  :)

Luca

Yikes I thought it was a much smaller pool of items. Let me do some thinking and maybe I can come up with a query that can correct this.

@ Aficionado,

I will correct that in the next update.

Thanks

Jay

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 10:33:01 pm
item page Jay!AAM format 2013-10-04 17:18:15
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 07, 2013, 10:37:43 pm
Couldn't the reason be because oc_t_item_adManage_limit' repub_date is the expiring date, thus being listed as the most new? If this makes any sense...?

That makes sense and that was what I was trying to say in my earlier post. I have fixed the aam plugin so it does not set the expiration date for the repub date. The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past. I am very sorry about the mess I caused.

I also just fixed it so the repub date does not show up on new listings.

@serjuc11111,

You could do something like this.

<?php if (function_exists('aam_pub_repub_date') && aam_pub_repub_date() != '') { ?>
<?php if ( osc_item_pub_date() != '' ) echo __('Published:', 'modern') . ': ' . osc_format_date( osc_item_pub_date() ); ?>
<?php } else{ ?>
<?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<?php } ?>


Which page is the date format not right at?

Jay

this code echo nothing....i have none expiration ad and none republished ad...
condition must be:if ad was republish echo republished date...else echo published date!thx Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 08, 2013, 11:30:18 am
AAM works only if u have payplugin installed?I have no price/ad...so why i need this plugin?in admin panel when i click 'republish ad" send me to main page...and there is no secret key
url looks like:
oc-content/plugins/advanced_ad_management/item_republish.php?repub=admin_repub&id=3112&rSecret=
thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 10, 2013, 11:03:53 am
if i check Sort newly republished listings to the top, old or new ads that have not been republished  not appear.im the only one with this problem?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: sirchunk on May 10, 2013, 10:58:05 pm
Hey Jay,

If I created the email templates manually will it still work? If so have you got a list of internal names handy?

Also, if I'm using the voting plugin, the ad still shows in the top ads widget.
Know of any function I can use to check if the item has expired so I can stop it from showing?

Cheers
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 14, 2013, 08:04:02 pm


That makes sense and that was what I was trying to say in my earlier post. I have fixed the aam plugin so it does not set the expiration date for the repub date. The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past. I am very sorry about the mess I caused.




2.5.1 still sets the exp date for repub date.

 :'(
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 14, 2013, 08:12:56 pm
hmm that is strange maybe I have another place where I am using the wrong date I will check it out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 14, 2013, 08:29:16 pm
hmm that is strange maybe I have another place where I am using the wrong date I will check it out.

Jay

Since it is a dates problem, i must say that i use custom dates on osclass settings (date & time forma and Language). Does that have to do with anything ?

Date & time format: Custom as "d F Y" and in Language settings as "d/m/Y"

Thanks !

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Optimus on May 15, 2013, 09:05:58 am
Hello,

When I activate the function 'put republish ad on top in search', it is working fine. However it indeed put all republished ad on top, and then display all other ads which have not yet been republished.

As a consequence, an ad republished in March is displayed before an ad published in April and not yet republished. I would expect this funtion to sort all ads based on republished or published dates if not yet republised otherwise new ads are not displayed on top.

I also noticed that ads not republihed are not even sortef on date of publication anymore

 Could you advise? Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 15, 2013, 01:28:06 pm
if i check Sort newly republished listings to the top, old or new ads that have not been republished  not appear.im the only one with this problem?thx

no solution for this?
If i check that box,no ads are showing ...thx!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Optimus on May 16, 2013, 11:36:22 pm
Couldn't the reason be because oc_t_item_adManage_limit' repub_date is the expiring date, thus being listed as the most new? If this makes any sense...?

That makes sense and that was what I was trying to say in my earlier post. I have fixed the aam plugin so it does not set the expiration date for the repub date. The only way I can think of to fix it on your site is to edit t_item_admanage_limit and adjust the repub_date to a date in the past. I am very sorry about the mess I caused.

I also just fixed it so the repub date does not show up on new listings.

@serjuc11111,

You could do something like this.

<?php if (function_exists('aam_pub_repub_date') && aam_pub_repub_date() != '') { ?>
<?php if ( osc_item_pub_date() != '' ) echo __('Published:', 'modern') . ': ' . osc_format_date( osc_item_pub_date() ); ?>
<?php } else{ ?>
<?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<?php } ?>


Which page is the date format not right at?

Jay

this code echo nothing....i have none expiration ad and none republished ad...
condition must be:if ad was republish echo republished date...else echo published date!thx Jay

Try this code instead :

Code: [Select]
<?php if (function_exists('aam_pub_repub_date') && aam_pub_repub_date() != '') { ?>
<?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<?php } else{ ?>
<?php if ( osc_item_pub_date() != '' ) echo __('Published on''twitter') . ': ' osc_format_dateosc_item_pub_date() ); ?>
<?php ?>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Optimus on May 17, 2013, 02:08:17 am
Hello,

I have been looking into the sorting of republished ad on top vs new ads.

Instead of sorting republished ad on top, and then all others afterward, I would like to sort ads based on most recent date of the 2 (comparing between dt_pub_date and repub_date). This would be the sql query :

Code: [Select]
SELECT pk_i_id,
  CASE WHEN dt_pub_date >= repub_date THEN DATE_FORMAT(dt_pub_date,'%Y-%m-%d') ELSE repub_date END AS "Mostrecentdate"
  FROM oc_t_item, oc_t_item_adManage_limit
WHERE pk_i_id=fk_i_item_id
ORDER BY Mostrecentdate DESC

Now I am stuck to have the following function updated so that the above sql selection is used for returning the order, this is the code to update :

Code: [Select]
function aam_search_conditions($params = null) {
if(@$params['sOrder'] == '' || (@$params['sOrder'] == 'dt_pub_date' && @$params['iOrderType'] == 'desc')) {
Search::newInstance()->addTable(DB_TABLE_PREFIX. 't_item_adManage_limit');
Search::newInstance()->addConditions(DB_TABLE_PREFIX. 't_item.pk_i_id =' . DB_TABLE_PREFIX. 't_item_adManage_limit.fk_i_item_id');
Search::newInstance()->order('repub_date', 'DESC', '%st_item_adManage_limit');
}
}

Any expert who could help ? thanks !
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: cbaargentina on May 24, 2013, 07:55:32 pm
Dear: Install the plugin but I do not see the option "Republish" in the user control panel. I appreciate your help. It is an excellent plugin which developed.

(sorry for my bad English)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: sergyyuu on May 24, 2013, 10:38:44 pm
I got a problem with the plugin.
I use realestate theme and i can use the search button and on the profile of the item the picture of the item is not showing anymore...

Can enyone help me please? I really need this plugin !
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 26, 2013, 06:17:41 pm
Jay:

Just FYI after uninstalling AAM from 2 of my Osclass installations, Ghost ads are gone. Zero. None.

Maybe you should check this.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: heman85 on May 27, 2013, 10:48:02 pm
Hello
If I install this plugin in version 3.1.1, and then disabuninle or uninstall the plugin, erase or delete all the ads that are already posted?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on May 28, 2013, 05:59:59 am
@Aficionado,

I will check it out and see what is going on.

@heman85,

This plugin will not delete any listings if you uninstall this plugin.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 28, 2013, 03:28:22 pm
have u fix "
Sort newly republished listings to the top?" if i check yes all my ads dissapear"No listing found in all the page"?i use latest version AAM and i have no ad expired!just installed AAM.thx for help!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on May 29, 2013, 12:14:03 am
have u fix "
Sort newly republished listings to the top?" if i check yes all my ads dissapear"No listing found in all the page"?i use latest version AAM and i have no ad expired!just installed AAM.thx for help!

nobody on this forum?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: drzeius on June 02, 2013, 02:31:13 am
Same issue for me. After updating, my ads disappear from the main page.
I suppose that it is a problem with the date's format.

I'm using the last version of Osclass and Twitter theme.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mrreference on June 03, 2013, 04:41:59 pm
I have just noticed that I am not receiving any emails (for my test listings when an ad is about to expire)  I have checked my email templates and I don't think there are any available that apply to this plugin. I'm sure they were there when I first downloaded the plugin, could the update have caused them to be removed possibly?

Any help would be appreciated.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: fog on June 03, 2013, 05:22:14 pm
I have the same problem. No template emails, i never see before this emails in the dashboard.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on June 06, 2013, 07:28:01 am
Hi Guys,

Sorry for the late reply. I have a fix for the email templates. I just have not had time to fully check that all the issues are worked out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mrreference on June 06, 2013, 11:45:47 am
Thanks Jay, you're on the the case though, appreciated  :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: fog on June 07, 2013, 07:52:18 am
Thanks Jay, we wait for your update
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Ermitage on June 11, 2013, 12:17:53 am
Hi Jay,

Please could you help me, I installed your plugin, It's working but the problem is that I receive too much email.
I tested with  3 item and the configuration of the plugin was:
Expiration in days: 11 days
Number of days before item expires to send email? (10 days)
Send a reminder email XX days before the item is deleted? (0, that means do not send reminder email)
Please find attached part of the log, as you can see I received to much email.
I hope someone can help me..... :'(
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: venuscreats on June 14, 2013, 05:13:09 am
First I'd like to thanks about this plugin.I checked this ysterday and installed it.but when it is enable.that images slideshow in the every ad will be disable.I checked that few times,that is hapening due to that.now I have disabled this plugin and really like to active and check the plugin's service.Can u please let me know what I need to do this?

Thanks in advance..


Hello,Anyone has same experience regarding this?Can anyone give me some ideas about that? Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ciao on June 14, 2013, 02:10:02 pm
The Plugin can not be installed for the following reason: Error :: importSQL ModelAAM
advanced_ad_management / struct.sql

Any fix? x.x
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on June 15, 2013, 05:57:40 am
While we all appreciate the plugin author and moderator, i don't really understand why this functionallity is not added to Osclass.

I mean expiration email notifications to the poster and the ability to REnew the Ad.

I do understand the existance of plugins for exotic functions but really do we need to have plugins for BASIC functions that each-and-every classifieds script has from day 1 ?

 ;D
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: _CONEJO on June 15, 2013, 10:28:21 am
While we all appreciate the plugin author and moderator, i don't really understand why this functionallity is not added to Osclass.

I mean expiration email notifications to the poster and the ability to REnew the Ad.

I do understand the existance of plugins for exotic functions but really do we need to have plugins for BASIC functions that each-and-every classifieds script has from day 1 ?

 ;D

What for you is a basic function, is another's exotic one.

Also, people will be afraid of Osclass if they encountered one thousand different settings, it will be very flexible, but also very complicated. Instead, if you offer them few settings and the possibility of expand it with plugins, more people will use it, because they know what they're doing.

This is slightly related : http://flyosity.com/iphone/kill-the-settings-build-opinionated-software.php

I like this picture in that article : http://dlanham.com/ui/twitterrific/settings.jpg It's really an extreme case, but very visual.


All that said, some functionality of this great plugin is going to be included in Osclass 3.2 thanks to the votes in Uservoice ( http://osclass.uservoice.com/forums/183966-general/suggestions/3463534-expiration-date-for-a-listing ). That's the way to make us include something in the core, vote for it
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on June 15, 2013, 10:37:14 am


What for you is a basic function, is another's exotic one.

Also, people will be afraid of Osclass if they encountered one thousand different settings, it will be very flexible, but also very complicated. Instead, if you offer them few settings and the possibility of expand it with plugins, more people will use it, because they know what they're doing.

All that said, some functionality of this great plugin is going to be included in Osclass 3.2 thanks to the votes in Uservoice ( http://osclass.uservoice.com/forums/183966-general/suggestions/3463534-expiration-date-for-a-listing ). That's the way to make us include something in the core, vote for it

Well i disagree. I run classified websites for 10 years for my personall business. I know them inside-out. Also i have installed several ones for customers in my country. I have seen and used every possible software available in the market, paid or free.

I do know what is a basic function and what is not. Keep contact with the Poster/Seller is a must. Notifying him that his listing will (or has been) expire is vital. Check Gumtree, or whatever other Top classifieds website you want.

Also read this thread. How people (me included) struggle to make this work. Not nice.

As for Uservoice, i have posted again that we can't possibly follow a Forum, Github AND Uservoice. Way too much.

I do understand that your point of view (of all things related to Osclass) is from the Dev side. Not the admin or user part. But no matter how good an application is, it needs users to post ads and keep them coming back for more.


Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: _CONEJO on June 15, 2013, 11:36:46 am
I was taking about this sentence

Quote from: Aficionado
i don't really understand why this functionallity is not added to Osclass.

Which is said quite often in the forum, so a person think X is useful and that is should be included in Osclass because everyone will use it.
For example, several users make a request so include sub-sub-sub-categories in Osclass, with the same reasons "every software has it", "it should be a basic feature", "I can not believe Osclass doesn't have them", (even they go all the way to "osclass is shit because it doesn't allow you sub sub categories and you are stupid" -real message)... but once we set the uservoice / vote-for-ideas ... well, it got only 21 votes, while top idea (at the time) got around 150, adding subsubsubcategories was 15-20th in the list, so at the end, it wasn't so important.

We, as a team, and I personally really appreciate all of your comments (even the bad ones), I'm glad we have users with a wide range of experience (from novices to experts) who are sharing their ideas with us. But fo us it's really hard to measure the importance of a feature, saying "this is basic , it should be included" does not help us at all. Using uservoice does, and as expiration date is the top idea (with most votes) it will be included in next version 3.2 (which will be released soon)


Anyway:

Forum -> General talk, problems, discussion,... 99% of the community should be here
Uservoice -> Vote ideas/features to be included in next versions. Go here from time to time, to spend your votes on new ideas or suggest new ones
Github -> Only for developers or if you know what you're doing. Only if you're a developer, knows a bit of PHP and are following a special issue (something that breaks your website and can not wait) or want to collaborate


Again, and to make it clear, yes, this feature will be included in 3.2 but thanks to the votes on uservoice. Please, do not complain about "this is basic, it should be included" because it really doesn't help us. If you want to suggest ideas, please please pretty please, go to uservoice, ideas get lost in the forum very easily and I'm unable to keep record of them.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on June 15, 2013, 11:52:07 am

We, as a team, and I personally really appreciate all of your comments (even the bad ones), I'm glad we have users with a wide range of experience (from novices to experts) who are sharing their ideas with us. But fo us it's really hard to measure the importance of a feature, saying "this is basic , it should be included" does not help us at all. Using uservoice does, and as expiration date is the top idea (with most votes) it will be included in next version 3.2 (which will be released soon)


All my comments are meant 100% in good heart. Be sure about that.

As for Uservoice, not sure who is requesting what. I can make 40 accounts and vote my request to the top, it wil take me a week. Or i can hire some one from India to do it for me for 10$.

Who are the people requesting things ? Are they experienced ? Are they using your software for how long ? How large are their websites ? Are they pros ?

In the Forums, it is EASY to see who-is-who. Their history.

 ;)





Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: _CONEJO on June 15, 2013, 12:09:27 pm
All my comments are meant 100% in good heart. Be sure about that.
I know, but I meant "your" as in "everyone's"

As for Uservoice, not sure who is requesting what. I can make 40 accounts and vote my request to the top, it wil take me a week. Or i can hire some one from India to do it for me for 10$.

Who are the people requesting things ? Are they experienced ? Are they using your software for how long ? How large are their websites ? Are they pros ?

Same in the forums, really easy to create several accounts. It's time-consuming so I hope it's not worthy for anyone to waste time or money on it.


In the Forums, it is EASY to see who-is-who. Their history.

But we don't have time to do it,
100 votes for an idea, are you gonna check 100 user's profiles + messages + websites + ... sorry we don't have time to.


I wish there were a solution that allows us to put the ideas in the forum, but I didn't find any yet.
We had a board, but again, people can not vote on the ideas, so a new thread was created for each idea, problem is that having many replies doesn't mean that an idea is good, they could be disagreeing with the idea. Also, new ideas are shown first (or the ones with more recent replies), there's no way to sort the thread by number of replies or to know how important/how many supporters an idea has.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: venuscreats on June 15, 2013, 12:29:15 pm
First I'd like to thanks about this plugin.I checked this ysterday and installed it.but when it is enable.that images slideshow in the every ad will be disable.I checked that few times,that is hapening due to that.now I have disabled this plugin and really like to active and check the plugin's service.Can u please let me know what I need to do this?

Thanks in advance..


Hello,Anyone has same experience regarding this?Can anyone give me some ideas about that? Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: teseo on June 15, 2013, 03:55:39 pm
Hi :)

Regarding this issue, I can understand the reasons of both parts, but I think what everyone is interested is in the improvement of Osclass, so maybe we should explore some other possibilities.

I wish there were a solution that allows us to put the ideas in the forum, but I didn't find any yet.

For quite a few years now I'm admin of a rather large forum running Invision Power Board, and it offers the possibility to add a polling to a thread. I find this feature to be rather useful there, and here I think it might be invaluable. Let's face it, people are too lazy or too busy to expect they follow the proper channels to do things.  :-\

So, what about a mod for the forum? I don't know much about SMF, but it seems there are mods out there, like this one (http://custom.simplemachines.org/mods/index.php?mod=765). (Again, I´m no expert, first thing found in Google ??? )

Best regards


Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mrreference on June 17, 2013, 11:48:44 pm
This thread seems to be moving off topic.

Jay, any news on the update of the emails or should I just uninstall and reinstall the plugin?

Quote
Hi Guys,

Sorry for the late reply. I have a fix for the email templates. I just have not had time to fully check that all the issues are worked out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on June 18, 2013, 01:32:14 am
Hi Yes I noticed my thread got a little hijacked. :)

I have not yet had the time to fix it. I am very sorry about that.

Uninstalling and reinstalling the plugin will make no change.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mrreference on June 18, 2013, 01:59:23 am
Thanks for the quick response Jay,

Do you have an estimated time you think it maybe resolved?

I promise not to pester you constantly as you do so much already for the community.

thanks again
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Hostingames on June 18, 2013, 03:23:29 pm
Safety(Salute)

Block(Surround) on Stage 2 his(her,its) want not to go has Stage 3 and 4 who can helps me has t he(it) a bug there?

Thank you

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: elena on June 20, 2013, 11:47:06 am
Hello to all.

Use osclass 3.1.2 with modern theme.

I think I set the plugin in the correct way but emails are not sent to ad expiration.

Does anyone else have the same problem?

Thank you.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on June 20, 2013, 11:53:59 am
Hello to all.

Use osclass 3.1.2 with modern theme.

I think I set the plugin in the correct way but emails are not sent to ad expiration.

Does anyone else have the same problem?

Thank you.

Yes, i do. AAM plugin is great but has several problems that needs fixing.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: elena on June 20, 2013, 12:00:42 pm
no one was able to solve this problem?

Grazie.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: soymadmax on July 02, 2013, 04:37:44 pm
Hi!

Thx a lot for this plugin, very appreciated.

Following help, I added this under <p class="options"> in moderm theme, but no link appears on user-items area.

<?php if (function_exists('republish_url')) {echo republish_url();} ?>


I currently can republish ads from admin panel, but after some hours of debug I still cant get while "republish" link is not appearing in users area.

Any clue?

Thank you, kind regards,

Juan
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Hostingames on July 02, 2013, 08:45:37 pm
hi
I have a small bug with this plugin can help me here is a picture to better comprende to this problem
thank you

item.php

Code: [Select]
<div id="main">
                <div id="type_dates">
                    <strong><?php echo osc_item_category() ; ?></strong>
                    <em class="publish"><?php if ( osc_item_pub_date() != '' ) echo __('Date de publication''france') . ': ' osc_format_dateosc_item_pub_date() ) ; ?></em>
                    <?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<em class="publish">Expire le: <?php echo osc_item_expire_date(); ?></em>
<em class="update"><?php if ( osc_item_mod_date() != '' ) echo __('Date de modification''france') . ': ' osc_format_dateosc_item_mod_date() ) ; ?></em>
                   
</div>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ciao on July 03, 2013, 12:17:35 pm
i tried to install but "Error importSQL::ModelAAM advanced_ad_management/struct.sql"

What can i do?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Hostingames on July 04, 2013, 02:05:12 am
hi

nobody has a solution to the problem thank you
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ANILE8 on July 04, 2013, 07:57:51 am
Hi!

Thx a lot for this plugin, very appreciated.

Following help, I added this under <p class="options"> in moderm theme, but no link appears on user-items area.

<?php if (function_exists('republish_url')) {echo republish_url();} ?>


I currently can republish ads from admin panel, but after some hours of debug I still cant get while "republish" link is not appearing in users area.

Any clue?

Thank you, kind regards,

Juan

Correct, this plug-In is not working for me also.

Please issue an update for AAM users.

Currently not working fully with Osclass 3.1.2.

Expiry Emails, Re-Publish Links and Templates are also non-existent for this Plug-In.

I am using AAM 2.5.1

Please fix.  :-X
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Billium on July 10, 2013, 05:53:15 am
The plugin seems to be working ok for me, however, one slight problem.  When I activate it, I loose my Logo picture, on bcute theme.  When I deactivate AAM, the logo returns.  Oh, when the logo is gone, the Title is there in text.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on July 10, 2013, 06:57:17 am
Hi Guys,

I will try to get these issues worked out and get an updated version out shortly.

Sorry for the delay in responding.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ciao on July 10, 2013, 08:34:16 pm
i tried to install but "Error importSQL::ModelAAM advanced_ad_management/struct.sql"

What can i do?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ciao on July 11, 2013, 11:38:54 am
I solved with the installation, just that when I set all the days of expired ads are gone, we have only the count in the categories, but you can not see!
is urgent! any help?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: soymadmax on July 16, 2013, 11:18:06 pm
Hi Guys,

I will try to get these issues worked out and get an updated version out shortly.

Sorry for the delay in responding.

Jay

Thanks a lot Jay, checking this daily since I´m sure I´ll love your update :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: yooads on July 16, 2013, 11:37:50 pm
Is this plugin sending an email to user, notifying him that the premium ad is about to expire?
If, not, maybe take as a suggestion for the next version.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on July 19, 2013, 11:44:46 am
I have expired ads but i can;t find them....i select from admin panel show field....blocked or unactive- activated...nothing...when i go to AAM configure i press republish all ads...."100 ads was republished",more,the LOG are always empty!Email not send...i don;t see any link in user dashboard "republish url"...thx for help!
latest version Osclass ,Plugin  configured correctly
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ugogo.info on July 19, 2013, 05:19:46 pm
Hi serjuc11111

Quote
I have expired ads but i can;t find them....i select from admin panel show field....blocked or unactive- activated...nothing...when i go to AAM configure i press republish all ads...."100 ads was republished",more,the LOG are always empty!Email not send...i don;t see any link in user dashboard "republish url"...thx for help!
latest version Osclass ,Plugin  configured correctly

Wow, I would also be interested to know the answer to this one.

Can you put some screenshots for us?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on July 21, 2013, 11:05:06 am
my admin panel show me 1200 ads....mysite.com in search page i have a count .....this show me 1060 ads....so i have some blocked/inactive ads...i check for this....i select from field:blocked -activated ..results...zero...invactive-activated zero...so...i go to AAM configure and i select Republish all Expired ads->extend expired ads=>result....140 ads was republished....the Question is,how can u see the expired ads and why i can't see the expired ads when i select to show me the blocked ads /inactive ads??
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on July 21, 2013, 11:10:36 am
can someone to upload a image with settings that really works?thx
and what that does"Do you want this to be a reoccurring event?"
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: light_bulb on July 25, 2013, 09:25:55 am
Hi all,

Is there any way that I can exclude emails being sent for specific users, or to enable auto republishing?

Cheers
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on July 25, 2013, 01:05:13 pm
no solution yet fot this plugin!still wait...
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: soymadmax on July 25, 2013, 07:41:17 pm
Still very interested on this plugin working on last osclass. I can donate some money via paypal if it helps, thank a lot.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: t1000 on July 27, 2013, 12:12:02 am
Hi, just wanted to know by which creteria the cron runs... for example, I've installed the aam on 30 june 2013 and the first run of cron was on 15 july 2013. Is this automated or possible to set? If possible to set, can someone explane how to do this? Thanks to all
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on July 27, 2013, 10:11:21 pm
Good evening everyone, I have a problem and I would like to be helped, after the expiration date to republish get this error

Warning: current() [function.current]: Passed variable is not an array or object in /htdocs/public/www/oc-content/plugins/advanced_ad_management/AAM_emails.php on line 128

Warning: current() [function.current]: Passed variable is not an array or object in /htdocs/public/www/oc-content/plugins/advanced_ad_management/AAM_emails.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/public/www/oc-content/plugins/advanced_ad_management/AAM_emails.php:128) in /htdocs/public/www/oc-content/plugins/advanced_ad_management/item_republish.php on line 62

Reference #4367
Os calass 3.0.2
thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on July 29, 2013, 04:47:23 am
I did some investigation appears to be an error of language, I am Italian and my tongue is Italian, this can lead to some problems in the plugin.
tomorrow I'll try to do the translation with poedit, then I try it.
thanks to all
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Hostingames on July 29, 2013, 04:40:53 pm
hi
I have a small bug with this plugin can help me here is a picture to better comprende to this problem
thank you

item.php

Code: [Select]
<div id="main">
                <div id="type_dates">
                    <strong><?php echo osc_item_category() ; ?></strong>
                    <em class="publish"><?php if ( osc_item_pub_date() != '' ) echo __('Date de publication''france') . ': ' osc_format_dateosc_item_pub_date() ) ; ?></em>
                    <?php if (function_exists('aam_pub_repub_date')) {echo aam_pub_repub_date(); } ?>
<em class="publish">Expire le: <?php echo osc_item_expire_date(); ?></em>
<em class="update"><?php if ( osc_item_mod_date() != '' ) echo __('Date de modification''france') . ': ' osc_format_dateosc_item_mod_date() ) ; ?></em>
                   
</div>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Gilden on July 29, 2013, 10:32:15 pm
What's the problem?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on July 30, 2013, 02:31:06 am
Hello, good to run the plugin, you have to wait for the timing of the cron?
how can I make tests to see if everything is working properly on my server? thanks to early
osclass 3.0.2
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Alexchees on August 04, 2013, 11:38:18 am
Hi all

Has been upgraded from 3.2 to OSclass not appear in the ads unless you turn off the advanced advertising system. What could be the problem? I wiped the AAM was re-installed it but it works. : (

Thanx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Alexchees on August 05, 2013, 12:38:13 pm
Hi

If you alredy on the AAM plugin will not appear in the new ads will appear when you turn it off. I deleted the plugin AAM re-installed but the same, it may be that the database has hatched Disorders delete a table? And then re-install?? But which one?


Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on August 05, 2013, 05:44:17 pm
error in log:
[05-Aug-2013 15:01:37 Europe/Rome] PHP Warning:  current() expects parameter 1 to be array, null given in /home/hiyyqfsq/public_html/oc-content/plugins/advanced_ad_management/AAM_emails.php on line 171
[05-Aug-2013 15:01:37 Europe/Rome] phpmailerException in osc_sendMail() Error: Message body empty
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Alexchees on August 06, 2013, 02:34:10 pm
Please help  :-\
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ugogo.info on August 07, 2013, 09:57:32 pm
Hi Alex

I had so much problems with this plugin, I just deleted it.  Sorry i can't help.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Alexchees on August 10, 2013, 08:32:32 am
Hi

Trains you can not help?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on August 10, 2013, 01:39:40 pm
i have make a lot of tests ,what i see:
when ads expired,that ads are hidden but i can;t see this from admin panel!
the republish url never show up in user dashboard
the log are allways empty
email not send
if admin want to republish ads,admin can do that only republishing all expired ads from AAM configuration->extend all expired ds
in admin panel:listing ->manage listing when "republish url" appears under ads,click republish url(for one item) ads are not republished,no secret key generated
no order..when u republish ads this to come first on the list

This plugin is a must,Jay will solve this!
 
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on August 12, 2013, 07:35:23 pm
The plugin works perfectly, you should be careful to php.ini
http://www.extraprezzo.it
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on August 13, 2013, 07:39:25 pm
The plugin works perfectly, you should be careful to php.ini
http://www.extraprezzo.it

can u explain more?what should be our problem about this plugin!thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: stiffe on August 15, 2013, 02:33:28 am
The plugin works perfectly, you should be careful to php.ini
http://www.extraprezzo.it (http://www.extraprezzo.it)


No, it does not! Not with osclass ver 3.1.2 (or later)
You are using 3.0.2 on your site and it works with that old version.



Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: plesk on August 31, 2013, 03:44:56 am
hello to when the new compatible version 3.2.1
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Ermitage on September 02, 2013, 01:42:36 am
Hi,
Plugin is working but the email to the user contains html tags like this
<p> </p>
<p>Hi Paul</p>
<p>Your ad is about to e........
Furthermore into the admin panel there email template twice, how  can I delete theme?
Please help me.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: unoriju on September 02, 2013, 11:59:55 am
Hi Jay,

Just wondering if you have a  resolution to the original issue -- email templates not getting installed with AAM v 2.5.1.
Thanks in advance!


Regards,
unoriju
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on September 04, 2013, 02:00:47 am
Hi unoriju,

I do not think the email templates not installing is a problem with 3.2 any more.

How ever there are some other little bugs in this plugin. For the most part it should still work.

I have decided to no longer support and update advanced ad management 2.5.1 as I am planning to rewrite the whole plugin as there is quite a lot of code that is no longer need.

Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/

Thanks

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Ermitage on September 04, 2013, 03:48:18 pm
Hi,

I resolved the problem about html tags inside the email. Problem was into the template about ad due to expire.
Anyway I don't understand why some users told me that they receive three email about ad due to expire.
Any idea?
Please let me know
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: yooads on September 10, 2013, 06:05:32 pm
I have an issue with the plugin: If I use a custom email server, the email notifying user that ad is expiring are not sent anymore.

If I set back the email server to local php sendmail, it works fine.

P.S. when will be realease the new version of AAM and where can we send comments,sugestions, bugs ?

Thanks!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: yupii1986 on September 11, 2013, 12:14:41 am
Hello, i have osclasss 3.1.2 but it's a problem . When ads has to expire , or when expire, i don;t recive notification on email!... How can i make this ?
Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ugogo.info on September 11, 2013, 08:27:18 pm
Hi Ermitage

Quote
Anyway I don't understand why some users told me that they receive three email about ad due to expire.
Any idea?
Please let me know

Did you check if they have three adverts all expiring on same day?

Did you make your own user and see if you also get three expire notices for one advert?

Can't think what else to suggest.

Cheers
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on September 16, 2013, 08:57:24 pm
we need to remove AAM 2.5.1 and wait for new plugin!is a must!hope to be done next days!
http://www.oscanyon.com/products/advanced-ad-management/
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: yooads on September 16, 2013, 09:07:44 pm
I belive osclass version v3.2 includes similar features:

Quote
Expiration date for a listing (till now you can do that only for the whole category);
Expiration notice (emails to the users reminding them about the expiration date of each listing);
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on September 17, 2013, 05:27:52 am
@yooads,

You are correct osclass3.2 has included those features and that is why I have decide to rewrite this plguin and no longer support the current version as the main feature of this plugin is now available in Osclass.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Jaimesg on September 28, 2013, 10:49:52 pm
Hi, when will the 3.0 version of this pluging be available for osclass 3.2.1?

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: xPxxRx on October 09, 2013, 04:35:07 pm
Hello! :)

I have installed the plugin, but there are no email templates like email_ad_expire or email_ad_expired in my admin panel! Just the normal ones which I have modified yet. I use Osclass 3.1.1 and the bender_black theme --> http://at.shareboxx.com/ ;)

no errors when I installed the plugin! file permissions are okay..

Can anyone help me please?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: xPxxRx on October 10, 2013, 01:11:59 pm
please, anyone can help? also mysql database import has been done successfully!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Alexchees on October 20, 2013, 05:56:07 pm
Hi

When can I download the 3.0 version? The page can not be linked: (

 :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: xPxxRx on October 20, 2013, 07:40:32 pm
Hello! :)

I have installed the plugin, but there are no email templates like email_ad_expire or email_ad_expired in my admin panel! Just the normal ones which I have modified yet. I use Osclass 3.1.1 and the bender_black theme --> http://at.shareboxx.com/ ;)

no errors when I installed the plugin! file permissions are okay..

Can anyone help me please?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mina on October 28, 2013, 12:29:45 pm

Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/

Jay

Hi Jay,

Quote
Documentation: !!Only Valid Email accounts Please, You will receive your download link via Email ONLY!!
i can`t find the link to order it.

Help please!  THANK YOU
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on October 28, 2013, 09:41:14 pm
Jay maybe will rewrite this plugins!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on November 08, 2013, 04:46:22 pm

Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/

Jay

Hi Jay,

Quote
Documentation: !!Only Valid Email accounts Please, You will receive your download link via Email ONLY!!
i can`t find the link to order it.

Help please!  THANK YOU
the plugin is not available yet!
will be soon!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on November 12, 2013, 03:26:55 pm
no news about AAM?thx
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on November 12, 2013, 06:40:05 pm
Nope sorry I have had some other projects come up that I needed to get done. I hope to get back to this update very soon.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on November 12, 2013, 09:49:44 pm
thx jay!
A lot of people wait for this plugin!is a must!

thx again!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: mina on November 12, 2013, 10:45:35 pm
thanks Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Bla Bla Annunci on November 15, 2013, 09:20:43 pm
no news on Advanced Ad Management by osclass 3.2.2.?
thanks

 :-\ :-\ :-\ :-\
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: design on November 16, 2013, 12:59:27 am
are some of your ideas from this plugin going to be worked into the core files?

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on November 16, 2013, 03:26:44 am
I think eventually a lot of the features from this plugin may become part of core. I know the email notice that the listing is about to expire has been added to core.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: boss on November 19, 2013, 09:46:34 pm
yes but not the deletion of ads?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ameenullah on November 20, 2013, 12:57:15 am
Hai jay, eagerly awaiting for your update! :) thanks in adv.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: serjuc11111 on December 04, 2013, 12:51:27 pm
i hope to pass in new year with this plugin available for download:)
i check osclass forum every day to see new updates!
there is no classified site online without option to repost expired ads!(except osclass,,yet)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: a.ramanaidu on January 24, 2014, 12:58:27 pm
hai
i have downloaded osclass version 3.3 and advanced ad management version 2.5
i need to create a website ..
when i am working i saw the problem ..that
some posting are not shown in web page but they are in database
after disabling the advanced ad management they appear in web page
same issue came once again for new posting after enabling the advance ad management
can you please suggest any modifications is required
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: design on January 24, 2014, 03:44:25 pm
he may help you, or someone else may jump in, but this plug in is no longer supported.

did you modify your setting in the admin area? is it conflicting with the core expiration function? sometimes other plugins have interfered with this one.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on January 24, 2014, 11:23:17 pm
Hi,

Yeah this current version does not support 3.3. I am working on a new version that should be out in a couple of months.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: fog on February 03, 2014, 09:51:17 pm
Jay, how we can change the option republish all expired ads, only for items with condition "IF" i_price==null, or osc_item_price () == null... in AAM Plugin?

I try in admin.php file, but with no sucess... i'm in the darkness in this last days with this code :(

All ads with null price are free ads, and we like republish this for preserve all cultural content.

We appreciate your help, please.

Regards
Carlos
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on March 07, 2014, 04:53:43 pm
Any new about the update ?

 :'(
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on March 07, 2014, 07:02:12 pm
Sorry it got a little delayed I had some other stuff come up. I will try to get back to it.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on March 07, 2014, 07:05:36 pm
Sorry it got a little delayed I had some other stuff come up. I will try to get back to it.

Jay

You are my (our) last hope for a reposting solution, since Osclass doesn't seem to care about it.

 :o
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on March 23, 2014, 01:51:46 am


I'm still using version 3.0.2 and I have no problem with this plugin. new plugin is not compatible must be adapted type cookie warning
link to my site to see


(http://extraprezzo.it/spot/email.png)http://www.extraprezzo.it (http://www.extraprezzo.it)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: normaden on March 24, 2014, 12:28:40 pm
How to connect plug-in bender theme. Osclass 3.3.2
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on March 24, 2014, 05:36:32 pm
How to connect plug-in bender theme. Osclass 3.3.2

The plugin DOESN'T work with 3.3.2
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: normaden on March 24, 2014, 05:48:25 pm
can hope?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on March 24, 2014, 05:52:42 pm
can hope?

Yes, i'm currently beta testing a new version for 3.3.2x and i would guess it will be available in a month or two.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: soymarketing on March 26, 2014, 09:51:03 am
Does the solution posted by ByteGator work for anyone on 3.3.2? http://forums.osclass.org/development/how-to-add-renew-refresh-repost-feature-to-osclass/
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: heidenmason on April 02, 2014, 05:04:27 am
Hi,

Yeah this current version does not support 3.3. I am working on a new version that should be out in a couple of months.

Jay

When your new version is beta ready I would be willing to help test it out.

Heidenmason
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ihealthshop on April 28, 2014, 09:11:08 pm
Hey guys! Would it be possible to downgrade my OSCLASS version so that the AAM plugin could work properly? How I wish I did not upgrade right away to save the hassle of incompatibilities. Can't blame Jay either since this is open source :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: trains58554 on April 29, 2014, 09:11:13 am
@ihealthshop,

I am working on an updated version and if I can find some time to get back to it I should be able to finish it up pretty soon as I think I have most of the issues worked out.

Jay
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ihealthshop on April 29, 2014, 10:44:06 am
Thanks Jay appreciate it. Im willing to pay for the plugin since I really need it on my site and I know I cant pressure anyone since this is open source and you guys are working so hard as volunteers. :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: cofst on May 10, 2014, 04:32:22 pm
Looking forward too to try this new version of AAM plugin  :D
Here to do beta testing as well!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Talantyyr on May 16, 2014, 06:27:16 pm
I'd like to use your plugin, but i'm not sure which version i should download?

In the first post you say you're plugin is outdated with a link to oscanyon, but there's no download link there? When do you expect you plugin to be finished? Can i use the old version meanwhile? I'm on osclass 3.3.2

I'd be willing to pay for plugin!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: OC-Nutzer on May 17, 2014, 04:50:47 pm
hi,

this script is only for private use and not for commercial use?
if it is so, for what should i register and download this plugin, if i cant use it for commercial?

if i add 1 adsence link for money income, the whole site is for commercial use...

terms of oscanyon: "Upon your payment of our fees or free for Digital Content, we grant you a non-exclusive, non-transferable, non-sub license-able, limited right and license to download, and to retain a permanent downloaded copy to use the Digital Content for your personal, non-commercial, and private use only subject to and in accordance with the Terms of Use. "
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 17, 2014, 04:59:28 pm
It is free but in beta stage.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: OC-Nutzer on May 17, 2014, 05:08:38 pm
It is free but in beta stage.

where can i get the free beta version for commercial use?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on May 17, 2014, 05:13:14 pm
When available it will be posted here and at the dev website.

For now, it is not available but to beta testers.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: OC-Nutzer on May 17, 2014, 05:24:12 pm
ok, this for this plugin i understand it, but wat is with the other plugins in the shop, like Site Manager, Offer Button or Ghostbuster? all of ghis are only for non-commercial use, like terms sad??
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: raess on June 13, 2014, 05:07:23 pm
Hey Jay!
Any news on this?
Does it work with latest osclass?

Thanks
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 23, 2014, 04:31:55 pm
Hi,

ive got an old AAM plugin installed, however, there is no option to repost in the user dashboard. Does anyone know how I can get that option?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 23, 2014, 11:08:25 pm
I just used <?php if (function_exists('republish_url')) {echo republish_url();} ?> in user-items next to edit item, works fine
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ZonaEu on June 24, 2014, 12:35:57 am
aide2001 , what version of osclass are you using?
And what version of the plugin?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 24, 2014, 10:47:11 am
Osclass ver 3.2
The only AAM that was in the 1st post link.2.5.1
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: ZonaEu on June 24, 2014, 01:43:31 pm
Thank you....
I will test this version then!
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 24, 2014, 02:05:33 pm
I just used <?php if (function_exists('republish_url')) {echo republish_url();} ?> in user-items next to edit item, works fine

I have my code setup as follows:

Code: [Select]
<p class="options">
                                       
                                        <strong><a href="<?php echo osc_item_edit_url(); ?>"><?php _e('Edit''modern'); ?></a></strong>
                                        <span>|</span>
                                        <a class="delete" onclick="javascript:return confirm('<?php echo osc_esc_js(__('This action can not be undone. Are you sure you want to continue?''modern')); ?>')" href="<?php echo osc_item_delete_url();?>" ><?php _e('Delete''modern'); ?></a>
                                        <?php if(osc_item_is_inactive()) {?>
                                        <span>|</span>
                                        <a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate''modern'); ?></a>
                                        <?php ?>
                                        <?php if (function_exists('republish_url')) {echo republish_url();} ?>
                                    </p>

but not able to see a republish link in the user profile :(
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 24, 2014, 03:48:16 pm
TRY
<p class="options">
                                       
                                        <strong><a href="<?php echo osc_item_edit_url(); ?>"><?php _e('Edit', 'modern'); ?></a></strong>
                                        <span>|</span>
                                        <a class="delete" onclick="javascript:return confirm('<?php echo osc_esc_js(__('This action can not be undone. Are you sure you want to continue?', 'modern')); ?>')" href="<?php echo osc_item_delete_url();?>" ><?php _e('Delete', 'modern'); ?></a><?php if (function_exists('republish_url')) {echo republish_url();} ?>
                                        <?php if(osc_item_is_inactive()) {?>
                                        <span>|</span>
                                        <a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate', 'modern'); ?></a>
                                        <?php } ?>
                                       
                                    </p>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 24, 2014, 03:56:31 pm
Nope, didn't work. sorry im a bit of a n00b

it looks like this now:

Code: [Select]
<p class="options">
                                       
                                        <strong><a href="<?php echo osc_item_edit_url(); ?>"><?php _e('Edit''modern'); ?></a></strong>
                                        <span>|</span>
                                        <a class="delete" onclick="javascript:return confirm('<?php echo osc_esc_js(__('This action can not be undone. Are you sure you want to continue?''modern')); ?>')" href="<?php echo osc_item_delete_url();?>" ><?php _e('Delete''modern'); ?></a> <?php if (function_exists('republish_url')) {echo republish_url();} ?>
                                        <?php if(osc_item_is_inactive()) {?>
                                        <span>|</span>
                                        <a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate''modern'); ?></a>
                                        <?php ?>
                                       

snapshot of user interface attached
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 25, 2014, 12:31:13 am
I take it you have set up the admin section for it to show? (configuration section) ?

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 25, 2014, 01:20:52 am
Yes, I've done so. Attached is a snapshot from the aam config
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 25, 2014, 09:45:43 am
ok, try putting
<?php if (function_exists('republish_url')) {echo republish_url();} ?>
into the item.php somewhere after if user logged in. If you let me know your theme i might know exactly where to put it.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 25, 2014, 11:27:21 am
Hi,

Its modern theme.
Somewhere here?:

Code: [Select]
<?php if(osc_is_web_user_logged_in()) { ?>
                                    <input type="hidden" name="authorName" value="<?php echo osc_esc_htmlosc_logged_user_name() ); ?>" />
                                    <input type="hidden" name="authorEmail" value="<?php echo osc_logged_user_email();?>" />
                                <?php } else { ?>
                                    <label for="authorName"><?php _e('Your name''modern'); ?>:</label> <?php CommentForm::author_input_text(); ?><br />
                                    <label for="authorEmail"><?php _e('Your e-mail''modern'); ?>:</label> <?php CommentForm::email_input_text(); ?><br />
                                <?php }; ?>
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 25, 2014, 12:54:08 pm
Well yes n No
In item.php find

<?php if(osc_is_web_user_logged_in() && osc_logged_user_id()==osc_item_user_id()) { ?>
                        <p id="edit_item_view">
                            <strong>
                                <a href="<?php echo osc_item_edit_url(); ?>" rel="nofollow"><?php _e('Edit item', 'modern'); ?></a>
                            </strong>
                        </p>
and change this to
<?php if(osc_is_web_user_logged_in() && osc_logged_user_id()==osc_item_user_id()) { ?>
                        <p id="edit_item_view">
                            <strong>
                                <a href="<?php echo osc_item_edit_url(); ?>" rel="nofollow"><?php _e('Edit item', 'modern'); ?></a>&nbsp;|&nbsp;
                            <?php if (function_exists('republish_url')) {echo republish_url();} ?></strong>
                        </p>

If the ad has expired, depending on when it did depends on when or if this shows. I.e if the ad expired yesterday it should show, but if you've put in your admin config to delete after say 5 days, no repulish url will show.
Hope this helps

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 25, 2014, 01:37:04 pm
Hi,

Thanks, in admin I changed to 'never delete' and amended the code. Unfortunately,it didnt work, perhaps its something small that Im overlooking. However, thanks for putting your time into this.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 25, 2014, 08:04:15 pm
So have you an ad about to expire or expired? does the email system work?
Whats your url?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 25, 2014, 09:26:17 pm
It's www.bartrit.com (http://www.bartrit.com)
I have many ads that are supposed to expire. I only enabled this plugin yesterday
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: aide2001 on June 26, 2014, 01:10:08 am
I really dont know then, sorry i couldnt help anymore, ive had a look at your site and all seems okay.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: bohrapar on June 26, 2014, 01:13:50 am
Thanks a lot, for taking time to try and help. I think I'm doing something stupid somewhere. I've got the path I need to follow, I'll keep fiddling with it until it works. Thanks a lot once again
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: wagnorama on June 30, 2014, 09:08:45 pm
Any predictions to launch the plugin to version 3.3.2?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Guib on July 12, 2014, 10:39:37 am
Hello there.

As much I want a solution to republish expired ads.
The Advanced Ad Management plugin works losrque I enabled but only on old ads with no expiration date.
I looked at the differences between the old and new ads and apart from the expiry date there is also a difference in the mail republication. For new missing the first key secret to del'URL level, rSecret. I am trying to understand how to make this plugin work. If someone has managed to use or advice :)

I tested by changing the code danss elements as the date and log-expiration-date, but nothing.

Thank you. Guillaume

PS: I'm on OSC 3.2 USA theme changed.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Montekhristo on August 07, 2014, 06:27:05 am

allows renew their listings every time intervals, for example

every 1 hour, every 2 hours, every 6 hours, every 1 day, every two days, one week each...

also

add function to make the ads go up in the listings?

If it is necessary to pay for the development, please tell me how much it would cost.
regards
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: frosticek on August 07, 2014, 02:44:53 pm
@montekhristo
Who would republish listing every 1 hour?  ???
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Montekhristo on August 11, 2014, 09:45:07 am
yes  ;D

You know I need? you can do "UP" for the ads go up in the listing.

any ideas?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: thunderbird on August 12, 2014, 01:33:30 am
does the paid version work with any themes
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: frosticek on August 12, 2014, 08:55:25 am
@thunderbird
There is no paid version, it is in development.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Montekhristo on August 30, 2014, 09:12:25 am
yes  ;D

You know I need? you can do "UP" for the ads go up in the listing.

any ideas?

renewed every "one hour", "6 hours",  "each day", or when you choose the listing owner,

needed to "Up the announcement at home"

Example ;

http://forums.osclass.org/plugins/pay-for-'renew-ad'-another-way-to-make-some-money/ (http://forums.osclass.org/plugins/pay-for-'renew-ad'-another-way-to-make-some-money/)

will be version 3.0?
Page not found....

Hi all,

This version is no longer supported and will no longer be upgraded. Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/ (http://www.oscanyon.com/products/advanced-ad-management/)


Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: axs on September 02, 2014, 11:25:14 pm
@Montekhristo,

Great idea dude, i also need this functionality. "Bump Up the Ad" would be a better word to explain the idea and to use in production. This can be auto or manual for admin or Premium users. Admin should have the option to set the interval at which to post ad again or renew ad with Bump UP.

Interval can be in hours so setting it to 24 will renew the ad after one day and it will be shown on home page at top automatically. Cron will do the job.

My 2 cents :)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: axs on September 03, 2014, 12:33:21 am
BTW there is plugin available to do the job, it can republish and bump up the ad from admin panel and user account settings. I am using 1.0.2 version and it is working fine at local host.

http://forums.osclass.org/plugins/(new-plugin)-renew-ads-plugin/135/ (http://forums.osclass.org/plugins/(new-plugin)-renew-ads-plugin/135/)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Dany on October 13, 2014, 10:34:28 pm
Great plugin!  ;D

I install and everything ok escept for 3 problems

1.-The date of expiration is wrong (sometimes, but I dont know why):
(http://sim1.subirimagenes.net/img/2014/10/11/141011125049356958.jpg)

2.-In the loop-single.php dont show the link to republish (the plugin said that is in the file item.php for users but I'm using the theme bender, osclass 3.4.3, so I thought it is the correct file)


3.-The link in the email to republish it send me this meassage "Sorry, an error occurred trying to republish your listing. Please contact the admin. Reference # 193"

Can you help me? Thx  :D
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on October 13, 2014, 11:13:05 pm
The plugin doesn't work well, and that version is not for Osclass 3x. It has been discontinued.

Maybe a new version will some day be available, still i'm not sure.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Dany on October 14, 2014, 01:24:43 am
Hi Aficionado

That so bad, I think this plugin has potential, maybe I can't see it but I think that problems have is minimum

anyway, as it is the only plugin that does what I want I guess I'll keep trying to make it work.

greetings  ;D
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: laborum on October 18, 2014, 12:43:06 pm
Hello @Dany

Have you fixed it?
I also noticed it insert 2 sets of 4 email templates (aam_listing_republished_admin, aam_listing_republished, email_ad_expire and email_ad_expired) - index.php.
When you uninstall the plugin it only removes one set...
I would appreciated if you could share your progress - me too, I would like to have this plugin working.
Thank you.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on October 18, 2014, 08:44:43 pm
Hello @Dany

Have you fixed it?
I also noticed it insert 2 sets of 4 email templates (aam_listing_republished_admin, aam_listing_republished, email_ad_expire and email_ad_expired) - index.php.
When you uninstall the plugin it only removes one set...
I would appreciated if you could share your progress - me too, I would like to have this plugin working.
Thank you.

Guys you are just wasting your time and put your website to risk. The plugin doesn't work with later versions of Osclass, actually never did work very well.

Until fixed or released again, just forget it and move on.

Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: laborum on October 22, 2014, 03:35:02 pm
Thank you @Aficionado
I'll look at other plugins.
Best regards.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Malefol7 on October 22, 2014, 11:51:32 pm
Ciao, io sto usando AAM 2.5.1 con osclass 3.1.2 e dopo essere stato modificato correttamente sembra funzionare tutto correttamente, testato con 1000 annunci in scadenza,
1 deve essere eliminata la mail prima della scadenza perche il codice non esegue il controllo dell invio.
2 quando un annuncio viene ripubblicato nella tabella devono essere aggiornati i limiti correttamente fk_i_id 1|0|0
3 deve essere impostato l' eliminazione automatica dell annuncio.
Se gradite maggiori info sui bug corretti nel sito extraprezzo.it , non esitate a inviarmi un messaggio privato e sarò lieto di rispondervi.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: 11a on January 14, 2015, 03:06:33 am
where is the plugin for ads management?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: waheedkhan on January 15, 2015, 12:58:56 pm
where can i find this?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aurora on April 05, 2015, 01:15:42 pm
Riprendo il post chiedendo.... dove posso scaricare il plugin??
Grazie Aurora
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on April 06, 2015, 01:41:43 am
Guys goto the Plugins here and get the Renew plugin. And that's it.

AAM doesn't see to be updated any more.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aurora on April 06, 2015, 12:42:33 pm
So, do not think about it anymore?
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: LipGrad on September 04, 2016, 10:55:40 pm
Bad know English, I write through the translator. There is an error in the plug-in version 2.1.1 index.php somewhere line: 326. In this function:
Code: [Select]
function item_advanced_ad_management_cron()you need to fix
Code: [Select]
strtotim('today') it
Code: [Select]
strtotim[b]e[/b]('today'), should be reflected in the work of the crown, and the letters will start coming in the mail, if anyone did not come.
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: steam on December 02, 2016, 05:41:11 pm
Hi,
I need new download link for Advanced Ad Management V. 2.5.1 please !!

I found link to version 1.1  :o

If someone has the latest free version, please send it to me or tell me where I can download it.

Thanks in advance  ;)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: crymatisticos on February 06, 2017, 10:06:45 pm
Hi,
I need new download link for Advanced Ad Management V. 2.5.1 please !!

I found link to version 1.1  :o

If someone has the latest free version, please send it to me or tell me where I can download it.

Thanks in advance  ;)
Title: Re: [Plugin] Advanced Ad Management V. 2.5.1
Post by: Aficionado on February 07, 2017, 12:34:35 am
AAM is discontinued and not compatible with latest versions. It should be used.