Osclass forums
Development => Plugins => Topic started 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.
- AAM no longer modifies the original publication date.
- 3 new emails a conformation email to the user and admin that an item has been republished and one to remind the user that their ad is expired.
- Admin can now republish a listing from the manage listing page.
- Admin can choose to all moderators to republish listings or not in the settings
- problems with mass emailing has been fixed.
- New notifications for the user if their listing did not republish it gives them a reference number that they can send to you and that reference number corresponds to the reference number in the log which should help to diagnose why the listing did not republish.
V2.5 changes
- republished listings now show up a the top of the list.
- The log now has a button to manually empty the log.
- when viewing the log data it now uses the date format you have set.
- The amount of log data that is saved can be adjusted on the settings page.
I am sure there are more new features that I cannot think of right now.
Also the way the republishing of ads works has been changed as well. Now when you change the republishing settings the new settings only apply to newly posted listings or newly republished listings.
You will notice when you are on the config page up in the upper right side there is a little gear icon and that is where a few new settings can be changed.
Also if you are interested in translating this plugin let me know and I will add you as a translator on POeditor.com
Also note this version is only compatible with 3.0 and up.
Please note to install remove the old version first and then install this version.
Updates
1-16-13 - fixed issue with the cron running multiple times.
1-17-13 - fixed the issue with the cron not wanting to execute.
2-5-13 - fixed issue with preference not setting right.
2-11-13 - fixed spelling mistake.
4-1-13 - fixed the limit on the log.
4-23-13 - updated to version 2.5
5-04-13 - fixed the error in republishing expired listings, also corrected some strings.
To update AAM just extract the files over the old ones and then go to your admin panel and it will pop up with a message to finish the update.
Enjoy!!
Jay
-
Olà Trains! Thanks you!
You are the best! ;)
-
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
-
Hi Jay, great work!
Sorry, I'm getting confused by the following:
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:
<em class="publish"><?php if ( osc_item_pub_date() != '' ) echo __('Published date', 'rafl22b') . ': ' . osc_format_date( osc_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
-
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
-
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?
-
It could be your email client does not auto hyper link links. I know the links are hyper linked in gmail.
Jay
-
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
-
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
-
Hi Trains,
Where I can find this plugin Advanced Ad Management(AAM) V 2.1?
Thanks,
-
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
-
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.
-
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
-
Thanks Jay for information.
I'm coming back here. :)
-
Hi Trains,
Thanks for the reply.
-
Hi All,
AAM is available for download again. Please download the latest zip in the first post.
Thanks
Jay
-
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.
-
@Travelfrog
;) Just click
-
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.
-
HI
I still do not jelenki the ad link back to the user menu :o
-
@Alexchees
Mine is as follow:
<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
-
Ciao Luca, io vorrei tradurre il plugin real estate in italiano..tu sapresti dirmi come fare?
-
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?
-
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...
-
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
-
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
-
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
-
Hi jimwinny,
I am not sure why the cron is running 3 times. I will do some checking into this.
Jay
-
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.
-
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
-
I am using 3.0. Thanks
-
@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)
-
Hello,
I only have the 4 templates you mentionned.
-
This plugin has a problem has sent over 1300 emails in loop. Please verify it. Thanks.
-
@texthiller,
Do you have a bunch of expired listings?
Jay
-
Not many. But the plugin has posted for the same ad about 120 emails.
-
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.
-
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
-
@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
-
Hi Jay,
Any luck with the issue of the spamming email ? Thanks
-
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))
-
@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
-
@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
-
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
-
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
-
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
-
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.
-
@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
-
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?
-
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
-
@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
-
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
-
They used to be working. I will check it out.
Jay
-
You da man, thanks Trains!
-
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?
-
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
-
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
: (
-
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
-
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');
-
I did not add the preference to install function but it is added at the time when the cron runs.
Jay
-
Thanks Jay, I did a test and when the cron runs, nothing happens, no logs.
-
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
-
Hi Jay,
That the issue, I think, there is no row aam_cron_last_run in table t_preference.
-
Yea I was doing some more testing and it seems not to working now I am looking into it.
jay
-
@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
-
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
-
Hi Alexchees,
Are you sure you did all the steps in the settings page for the AAM plugin?
Jay
-
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. : (
-
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.
-
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
-
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 !
-
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 ?
-
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
-
Hi Jay, french translation is ready in Poedit, just tell me how I can provide it to you.
-
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.
-
New version of the plugin installed but clicking on the republish button in admin panel, the page load a 500 internal error.
Why?
-
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
-
@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
-
I agree. I think this plugin is almost there.
Jay
Please, don't be modest ;) this plugin is already a must have, ANYWAY!
-
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
-
Good news guys.
I have found a way to change the sort order to list republished ads back at the top.
Jay
-
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 :(
-
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 !
-
@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
-
There is small problem one table in db of aam is 125mb.
-
@Tom,
I do not follow what did you discover?
jay
-
@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
-
@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
-
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?
-
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
-
Something like have olx sites. Ability for user choose the duration of announce.
Thanks
-
I offer myself as a volunteer for the Euro version testing :)
-
@Luca,
Pm me your email and I will send you the latest version I am testing.
Jay
-
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
-
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
-
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 :'(
-
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
-
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
-
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
-
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 :-[
-
wait, no need to reinstall everything!
-
wait, no need to reinstall everything!
Ok I'm waiting for your answer
-
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
-
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
-
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
-
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.
-
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!
-
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
-
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).
-
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.
-
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.
-
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.
-
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.
-
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:
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');
-
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 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.
-
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!
-
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
-
Trains, thanks you for answer.
The problem is that one you have posted in link.
Have a nice day.
-
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?
-
@ 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
-
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.
-
@keish: how many days have you defined?
-
@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
-
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
-
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
-
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.
-
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
-
For the chronicle I can report that in ver. 3.0 everything is working as expected (great, have to say).
-
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.
-
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 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
-
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
-
@keish
I've just installed and followed this thread... Maybe issues are arising on particular environment... (?)
-
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?
-
if i add in item expiration date i inform de vizitors when the ad 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
-
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!
-
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
-
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
-
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
-
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
-
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!!
-
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
-
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:
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?
-
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.
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.
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
-
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.
-
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! :)
-
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
-
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?
-
try echo this...
-
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
-
try echo this...
I am really poor in php, how to "echo" it?
-
Hi vladoniki,
use this
<?php echo osc_item_field('dt_expiration'); ?>
Jay
-
<?php echo osc_item_field('dt_expiration'); ?>
-
Hi vladoniki,
use this
<?php echo osc_item_field('dt_expiration'); ?>
Jay
<?php echo osc_item_field('dt_expiration'); ?>
Thank you! Works fine! :)
-
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
-
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! :)
-
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.
-
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.
-
@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
-
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.
-
@serjuc11111
bravo tie! ;)
-
in t_pages_description can't find any email templates of AAM...i got duplicate email ad expire because i translate this manually!thx
-
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
-
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
-
i reinstall a fresh copy of AAM...but still the same problem
email_ad_expire 4times
-
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!
-
@serjuc11111
Please, don't panic :) I'll pm you
-
thx anyone!Solve multy email templates!
-
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
-
Hey @Jay,
Do you have any good news for us? :)
@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.
-
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
-
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 :)
-
@Jay!
:) I'm ready to uncork the champagne together :-* :P ::) 8) :o ;D :D ;) Yeah!
-
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!
-
That should not have anything to do with the emails not being sent. Maybe try checking your error log.
Jay
-
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.
-
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
-
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
-
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
-
Thanks Jay i was hopeing it would still expire the adds, nice plugin and thanks for the quick reply.
-
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...????
-
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
-
i got this error....thx for help!
/oc-content/plugins/advanced_ad_management/ModelAAM.php on line 172
-
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
-
Hi serjuc11111,
I will take a look.
Thanks
Jay
-
thanks Jay
-
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
-
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
-
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
-
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
-
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
-
wait for an ad to expire...then u will se the republish link!
serjuc
-
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
-
how do I configure it so when you repost an ad it deletes the expired copy?
-
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.
-
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
-
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
-
All details about how ads expire in Osclass were posted for me in an other thread, so i had to remove this post.
-
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? ???
-
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.
-
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
-
Is it possible to configure the plugin so it deletes the old copy of a post when reposting?
-
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!
-
@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
-
@serjuc11111,
Can you tell me what you have on line 172 of ModelAAM.php?
Thanks
Jay
-
on line 172 i have:
$count = count($resultAll->result());
-
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
-
thx Jay!That fix my error!
-
@Jay hi,
Is that Log ever growing ? Does it auto-delete ?
Could be a problem of mysql growing in a few weeks ...
-
@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? ???
-
@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
-
How to make so that the user himself pointed term ads?
For example: 2 months
-
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... ::) ) :)
-
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 :)
-
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 ?
-
Maybe they will be taken care in the next cron cleanup ?
Hope so... :)
-
Is it possible for the listings in user-items to be sorted into 'active', 'expiring soon', and 'expired'?
Cheers
-
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
-
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 ?
-
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 :)
-
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
-
Thank you @Aficionado
I've dropped the table and recreated it empty :)
-
@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
-
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
-
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 .....
-
For me, it seams to work - for now. I mean, it has 109 lines since the log table being recreated
-
Hey @Jay,
can you please check this, maybe related to AAM?
http://forums.osclass.org/general-help/memory-errors/msg52132/#msg52132
Luca
-
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.
-
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
-
@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.
-
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
-
@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
-
This was a false alarm.
Just got a bunch of those errors again. It is not AAM.
-
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 ::)
-
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:
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
-
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
-
I will take a look and see what is going on and get the log working correctly.
Jay
-
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
-
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
-
Thanks Jay, would you mind posting a note when it 's ready.
cheers
-
::) ::) ...Renewed items on top... ::) ::) ... :P
-
Hi,
It looks like premium ads do not expire - I am unsure if it has to do with the plugin.
Thanks.
-
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
-
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 :)
-
For me the massive repost hits the 25 processes limit Hostgator has.
-
@ 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
-
Great, Jay, I admire your work
Luca
-
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?
-
Hi constantin,
I will check it out as I just did a fresh install and like you said no email templates.
Thanks
Jay
-
@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
-
Hi Jay,
thank you for a great and much needed plugin!
Take care,
constantin
-
- New ads are carrying the republished date (indeed is shown the expiration date), instead of nothing.
True !!!
-
please i need new download link!!
thanks
-
please i need new download link!!
thanks
Check the first post of this topic; the zip file has been updated.
-
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!!!!!!!!!!
-
@Jay
Please, what does it mean "Republish Ad (Debug mode enabled)" in admin panel ad list?
AAM debug is disabled.
Thank you
Luca
-
@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
-
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?
<!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
-
@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
-
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:
[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
-
Hello @Jay, I sent you PM
Thanks
-
No ad are showing after installed latest AAM!"No listings show all the page"thx what could be the problem?
osclass 3.1
-
@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
-
Hey Jay,
Just to let you know for some reason I can not see the email templates that your plugin uses?
-
someone....when i activate the AAM i can't see any ad....what happend?with older version everythink works fine!thx
-
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.
-
Sorry for double post!But he has nothing to do with moderation to give me indications!sorry again!
-
@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
-
thx Jay for help!
-
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"...
-
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
-
Ads still not appearing
-
now i see the ads!Thx
-
@Jay
@Luca,
hmm I will take a look and see why the repub date is showing on new listings.
Thank you!
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
-
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(); } ?>
-
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
-
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
-
@Jay why AAM doesn't simply follow the date and time format we have set in Osclass admin ?
-
It should be which page is it not following that date format?
Jay
-
@Jay
I am very sorry about the mess I caused
You're very welcome.
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
-
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.
-
@Jay
I am very sorry about the mess I caused
You're very welcome.
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
-
item page Jay!AAM format 2013-10-04 17:18:15
-
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
-
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
-
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
-
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
-
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.
:'(
-
hmm that is strange maybe I have another place where I am using the wrong date I will check it out.
Jay
-
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 !
-
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
-
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!
-
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 :
<?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_date( osc_item_pub_date() ); ?>
<?php } ?>
-
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 :
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 :
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 !
-
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)
-
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 !
-
Jay:
Just FYI after uninstalling AAM from 2 of my Osclass installations, Ghost ads are gone. Zero. None.
Maybe you should check this.
-
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?
-
@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
-
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!
-
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
-
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.
-
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.
-
I have the same problem. No template emails, i never see before this emails in the dashboard.
-
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
-
Thanks Jay, you're on the the case though, appreciated :)
-
Thanks Jay, we wait for your update
-
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..... :'(
-
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
-
The Plugin can not be installed for the following reason: Error :: importSQL ModelAAM
advanced_ad_management / struct.sql
Any fix? x.x
-
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
-
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
-
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.
-
I was taking about this sentence
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.
-
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.
;)
-
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.
-
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
-
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
-
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?
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
-
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
-
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
-
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
-
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.
-
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.
-
no one was able to solve this problem?
Grazie.
-
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
-
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
<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_date( osc_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_date( osc_item_mod_date() ) ; ?></em>
</div>
-
i tried to install but "Error importSQL::ModelAAM advanced_ad_management/struct.sql"
What can i do?
-
hi
nobody has a solution to the problem thank you
-
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
-
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.
-
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
-
i tried to install but "Error importSQL::ModelAAM advanced_ad_management/struct.sql"
What can i do?
-
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?
-
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 :)
-
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.
-
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
-
Hi serjuc11111
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?
-
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??
-
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?"
-
Hi all,
Is there any way that I can exclude emails being sent for specific users, or to enable auto republishing?
Cheers
-
no solution yet fot this plugin!still wait...
-
Still very interested on this plugin working on last osclass. I can donate some money via paypal if it helps, thank a lot.
-
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
-
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
-
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
-
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
<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_date( osc_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_date( osc_item_mod_date() ) ; ?></em>
</div>
-
What's the problem?
-
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
-
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
-
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
-
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
-
Please help :-\
-
Hi Alex
I had so much problems with this plugin, I just deleted it. Sorry i can't help.
-
Hi
Trains you can not help?
-
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!
-
The plugin works perfectly, you should be careful to php.ini
http://www.extraprezzo.it
-
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
-
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.
-
hello to when the new compatible version 3.2.1
-
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.
-
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
-
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
-
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
-
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!
-
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
-
Hi Ermitage
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
-
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/
-
I belive osclass version v3.2 includes similar features:
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);
-
@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
-
Hi, when will the 3.0 version of this pluging be available for osclass 3.2.1?
Thanks
-
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?
-
please, anyone can help? also mysql database import has been done successfully!
-
Hi
When can I download the 3.0 version? The page can not be linked: (
:)
-
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?
-
Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/
Jay
Hi Jay,
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
-
Jay maybe will rewrite this plugins!
-
Watch here for version 3.0 http://www.oscanyon.com/products/advanced-ad-management/
Jay
Hi Jay,
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!
-
no news about AAM?thx
-
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
-
thx jay!
A lot of people wait for this plugin!is a must!
thx again!
-
thanks Jay
-
no news on Advanced Ad Management by osclass 3.2.2.?
thanks
:-\ :-\ :-\ :-\
-
are some of your ideas from this plugin going to be worked into the core files?
-
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
-
yes but not the deletion of ads?
-
Hai jay, eagerly awaiting for your update! :) thanks in adv.
-
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)
-
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
-
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.
-
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
-
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
-
Any new about the update ?
:'(
-
Sorry it got a little delayed I had some other stuff come up. I will try to get back to it.
Jay
-
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
-
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)
-
How to connect plug-in bender theme. Osclass 3.3.2
-
How to connect plug-in bender theme. Osclass 3.3.2
The plugin DOESN'T work with 3.3.2
-
can hope?
-
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.
-
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/
-
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
-
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 :)
-
@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
-
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. :)
-
Looking forward too to try this new version of AAM plugin :D
Here to do beta testing as well!
-
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!
-
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. "
-
It is free but in beta stage.
-
It is free but in beta stage.
where can i get the free beta version for commercial use?
-
When available it will be posted here and at the dev website.
For now, it is not available but to beta testers.
-
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??
-
Hey Jay!
Any news on this?
Does it work with latest osclass?
Thanks
-
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?
-
I just used <?php if (function_exists('republish_url')) {echo republish_url();} ?> in user-items next to edit item, works fine
-
aide2001 , what version of osclass are you using?
And what version of the plugin?
-
Osclass ver 3.2
The only AAM that was in the 1st post link.2.5.1
-
Thank you....
I will test this version then!
-
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:
<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 :(
-
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>
-
Nope, didn't work. sorry im a bit of a n00b
it looks like this now:
<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
-
I take it you have set up the admin section for it to show? (configuration section) ?
-
Yes, I've done so. Attached is a snapshot from the aam config
-
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.
-
Hi,
Its modern theme.
Somewhere here?:
<?php if(osc_is_web_user_logged_in()) { ?>
<input type="hidden" name="authorName" value="<?php echo osc_esc_html( osc_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 }; ?>
-
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> |
<?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
-
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.
-
So have you an ad about to expire or expired? does the email system work?
Whats your url?
-
It's www.bartrit.com (http://www.bartrit.com)
I have many ads that are supposed to expire. I only enabled this plugin yesterday
-
I really dont know then, sorry i couldnt help anymore, ive had a look at your site and all seems okay.
-
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
-
Any predictions to launch the plugin to version 3.3.2?
-
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.
-
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
-
@montekhristo
Who would republish listing every 1 hour? ???
-
yes ;D
You know I need? you can do "UP" for the ads go up in the listing.
any ideas?
-
does the paid version work with any themes
-
@thunderbird
There is no paid version, it is in development.
-
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/)
-
@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 :)
-
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/)
-
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
-
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.
-
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
-
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.
-
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.
-
Thank you @Aficionado
I'll look at other plugins.
Best regards.
-
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.
-
where is the plugin for ads management?
-
where can i find this?
-
Riprendo il post chiedendo.... dove posso scaricare il plugin??
Grazie Aurora
-
Guys goto the Plugins here and get the Renew plugin. And that's it.
AAM doesn't see to be updated any more.
-
So, do not think about it anymore?
-
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:
function item_advanced_ad_management_cron()
you need to fix strtotim('today')
it 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.
-
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 ;)
-
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 ;)
-
AAM is discontinued and not compatible with latest versions. It should be used.