Osclass forums
Development => Plugins => Topic started by: trains58554 on January 16, 2012, 07:35:30 am
-
Hi all,
Jesse and I have been working on a new plugin. Many of you may have been following our progress over on this topic http://forums.osclass.org/development/repost-an-expired-ad/ We now have a plugin that we feel is ready for beta testing.
What features this plugin has:
- Adds functionality for users to republish their ads
- Email notification of when an ad is about to expire.
- You can choose which categories you want to allow users to republish their ads and which categories you do not want them to republish their ads in.
- Adds the functionality of Jesse's Master Expiration setting plugin
- Email notification once the ad expires
- Permanently delete expired ads after x amount of days.
New feature in V. 1.1
- The ability to show either published date or if the item has been republished it will show republished date
Refer to the help file of the plugin for instructions on how to add the this new feature.
Please note this new feature is an optional feature the plugin will work just fine if you do not want to implement this feature.
As you can see this plugin is featured packed.
If you come across any errors or bugs please report them on our github page https://github.com/Advanced-Ad-Management/Advanced-Ad-Management/issues?sort=created&direction=desc&state=open
Once you download and installed the plugin you need to got to the config page under the menu for the Advanced Ad Management plugin and finish the install. Please also read the FAQ/ help page as it explains what code you need to ad and to which file.
Please feel free to leave feedback.
Happy beta testing.
Update: 1-16-12
Fixed the republish url in the email templates. zip updated
update: 1-17-12
This time the email republish url is correct.
Added warning when changing the "Number of days until expired ads are deleted permanently?" option.
Reinstall required
zip updated
update: 1-30-12
We now feel this plugin is stable enough to be used by anyone.
Enjoy.
update: 1-31-12
Fixed issue with email templates not deleting when plugin is uninstalled.
Fixed issues with republish url.
update: 1-31-12
Fixed another issue with republishing items
Reinstall required
zip updated
update: 2-4-12
updated the plugin to version 1.1
no bug fixes just a feature enhancement read about it above.
update: 2-6-12
Added the french language. Thanks Romantica for sending me the translation.
update: 5-31-12
Fixed problems with ads not being republished.
update: 6-05-12
Ads now show up again once they are republished.
No reinstall required
zip updated 6-05-12
Please upgrade to 2.1
http://forums.osclass.org/plugins/%28plugin%29-advanced-ad-management-v-2-1/
If you would like a copy of this version please contact me.
Jay
-
Wow Nice plugin!
Keep up the good work.
thanks to Jesse & Jay for developing this nice plugin
Bug:
Number of days until expired ads are deleted permanently? save option is missing
-
Hi RajaSekar,
Did you do step 1 and 2 on config page? Can you tell me can you see the content in the Item Republish Settings feildset?
The save button should show up down at the bottom of the page. If both steps 1 and 2 are done.
Jay
-
Hi,
unfortunately does not work for me, re-publish option is not shown with this code
<?php if (function_exists('republish_url')) {republish_url();} ?>
with old one - <?php echo republish_url(); ?> it works
probably my fault, by settings to activate option from past days
-
Hi Ingo,
That is my fault I forgot to include the word echo I will update the help file. I have fixed the help file.
Jay
-
Hi Jay,
That's greeeeat work! :)
Question for next release - Is it possible to order re - publish ad on the top of the list? If not, no meter it's stil greeeeat work. ;D
Thanks guys!
-
Hi RajaSekar,
Did you do step 1 and 2 on config page? Can you tell me can you see the content in the Item Republish Settings feildset?
The save button should show up down at the bottom of the page. If both steps 1 and 2 are done.
Jay
there is no content in Item Item Republish Settings fieldset
-
It's a very good job done here! Almost everything is working excellent.
The link sent in the email leads to the modern theme...
I have a suggestion:
The first time the cron goes, mails are sent to the expired items publishers AND items are deleted (supposed the "expired ads are deleted permanently" is set).
Result: a lot of customers are getting the message, but the items are no more there.
My suggestion is to highlight this behavior in the FAQ section and eventually set the "expired ads are deleted permanently" in a later moment :)
Compliments once again!
Luca
-
@RajaSekar,
One of the first two steps must not be done if you have no content in the Item Republish Settings fieldset. I check to make sure step 1 and 2 are done you will know when step 2 is done when the link says something like "Manage which categories you want your users to be able to republish their ads in.
24 categoreies allow users to republish ads " You will also get a category count.
@rafl
I will check that as expired ads should not be deleted until they have been expired for what ever amount you have set in the "Number of days until expired ads are deleted permanently" box.
Jay
-
@trains58554
No, no.. It is working super. Evident is for the first run of the cron. The matter is: say you have expired items from 60 days and set to delete them after 30 days. When the cron runs the first time you have all the >60 days old items deleted and the mail sent out ;)
-
I understand now. We never thought about that. We will look at adding an explanation in the help pages.
Thanks
Jay
-
Great.
Anything about the link from the email leading strange?
-
@rafl,
I will fix that issue and post an update real soon. The republish url in the emails should work right now.
Jay
-
Ok, there seems to be an issue with timing.
You set the expiration days for the categories (30);
you set the deletion of expired items in days (30).
A non renewed item should be automatically deleted, then, after 60 days from its publishing day.
What it seems to me its happening is that the 30 days old item is deleted 30 days after its publishing, after the settings showed above.
Please correct me.
-- It would be awesome, if by clicking the link in the emails any message (flash?..) would confirm the action done. :)
-
Hi rafl,
The way the deletion of expired items is suppose be working is after the ad is expired for 30 days or what ever number is set the item should be deleted. I will look into that function check to see that it is functioning like it should.
I will look into why our flash messages are not working.
Thanks for your feedback.
Jay
-
Hi all,
We have fixed a few errors and updated the zip.
Jay
-
Please, may you tell about the error fixed, please?
Is it ok to override the files or does the new plugin require an ex-novo install?
Luca
-
Hi rafl,
I fixed the problems with the email republish url it now points to the right place so the flash messages work.
I believe I have the cron issues worked out so now an ad is only deleted once it has been expired for x amount of days.
At this url you can see all the changes I maid https://github.com/trains58554/Advanced-Ad-Management/commit/245f16b1acba41f048111510b72d65cb55a68394
You will have to reinstall the plugin as I made a few database changes.
Jay
-
An important change to note there is the preference adManageed_deleteDays (this is the setting for "Number of days until expired ads are deleted permanently?") has been set from 30 to 0, which means NO ads will be deleted initially (unless you set it otherwise).
Great work Jay!
-
Ah yes I forgot to mention that impotent feature change we made. Thanks for noting that Jesse.
Jay
-
Everything is workin stunning, here, as expected. Permalinks enabled
One of the best plugins, thank you :)
Luca
-
Hello, my compliments great job you did, I just translate it in french? I occupy myself! thank you and congratulations to both. ;D
-
@rafl,
Thank you for the feedback. It is good to know that everything is working as expected.
@romantica,
Do you mind sharing your French translation?
Jay
-
ok so if you put your plugin in admin.osclass.org!
thank you
-
Hi Jay,
That's greeeeat work! :)
Question for next release - Is it possible to order re - publish ad on the top of the list? If not, no meter it's stil greeeeat work. ;D
Thanks guys!
I am not sure how to go about doing that. I will make a note of this and Jesse and I will look at adding this feature maybe.
Jay
-
@ trains58554
do with Conejo to add the plugin!
thank
-
There is still, maybe, an issue with timing or a misunderstanding..
Can you please confirm that the function for definitely delete an expired ad is: ("days of validity" + "grace period")?
Thanks
-
Hi rafl,
That is how it is suppose to be working. I will do some more testing on this and make sure it is working.
Jay
-
Hola Jay
Voy a probar el plugin. Hice la traducción al español.
Espero que sirva mi aporte
Saludos
Chofi
-
Hi chofi,
Thank you for translating it.
Can you upload your translation file as a zip.
Thanks
Jay
-
Hi Jay
Only removed .txt
Chofi
-
Hi chofi,
I sent the plugin to Juan and he is going to add it to admin.osclass.org so if you have access there could you submit it there?
Thanks
Jay
-
Great to hear the plugin is making it to the "main" plugin page! :)
We've been suffering here in Seattle with some crazy weather. I've been out of power for 2 days now, finally came back on. The temperature inside has dropped to 50*F, so it's nice to finally start warming up! I'll eventually be able to get back to work on OSClass! ;D
-
I am having the same problem as user RajaSekar.
See attachment for a screen cap. I have clicked the Step 1 link to finish the install, but it's not working.
-
Hi casting989,
You need to do step 1 and then the button will appear.
Jay
-
Thanks Jay for your response. I have clicked the link labelled "Click here to finish the install" several times but it does not appear to be working...
-
Republish button not seen
-
Hi aduganda,
Did you add the code in the user-items.php file? If you did the link will only show up if the item is expired.
Jay
-
Hi Jay (namely, Jesse & JChapman), I only wish to report that after a week on production tests everything is working as expected.
Really good work once again.
This plugin is very important to fidelize customers, gain returning visits and raise popularity among users and search engines.
It is very well done and I would like to recommend it to everybody.
:)
Luca
-
Hi rafl,
Thank you for your feedback. It is always nice to hear that everything is working the way we intended it to work.
Thanks
Jay
-
Jay, in reference to my previous issue, would you know what the problem would be?
-
Hi casting989,
Try unistalling the plugin and reinstalling it that may fix it.
Jay
-
Jay that has not resolved the issue :( :(
-
@casting989
What OSClass version is running in your site?
I had similar issue with 2.3.1
-
I am using OSClass 2.2.3
-
added the plugin and seems to run ok. Will see over the coming weeks
A nice evolution, not sure if possible would be
first ad placement free
re publish will be paid
now it is or free or paid, no way to use booth
marketing solution ::) get the ad free for x days and if you want to publish it again then you need to pay x$
I would see it this way in the settings
first posting free : x days (x to choose)
re publish : amount x $ and period of y days (and each time they want to public again, they have to repay ...except if you set unlimited, they only pay once and the ad stays at eternal)
just an idea
-
Jay that has not resolved the issue :( :(
I would try downloading the zip from the first post. I am wondering if you do not have an otder version of this plugin maybe?
@bidouilleur
Thanks for the ideas we will look them over and you may see them in the next version.
Jay
-
Jay,
I have since started from scratch and the plugin works... More work to recreate it, but in the long end it resolved the issue :) Thanks for your help!
-
Hi all,
Jesse and I have been working on a new plugin. Many of you may have been following our progress over on this topic http://forums.osclass.org/development/repost-an-expired-ad/ We now have a plugin that we feel is ready for beta testing.
What features this plugin has:
- Adds functionality for users to republish their ads
- Email notification of when an ad is about to expire.
- You can choose which categories you want to allow users to republish their ads and which categories you do not want them to republish their ads in.
- Adds the functionality of Jesse's Master Expiration setting plugin
- Email notification once the ad expires
- Permanently delete expired ads after x amount of days.
As you can see this plugin is featured packed.
If you come across any errors or bugs please report them on our github page https://github.com/Advanced-Ad-Management/Advanced-Ad-Management/issues?sort=created&direction=desc&state=open
Once you download and installed the plugin you need to got to the config page under the menu for the Advanced Ad Management plugin and finish the install. Please also read the FAQ/ help page as it explains what code you need to ad and to which file.
Please feel free to leave feedback.
Happy beta testing.
Update: 1-16-12
Fixed the republish url in the email templates. zip updated
update: 1-17-12
This time the email republish url is correct.
Added warning when changing the "Number of days until expired ads are deleted permanently?" option.
Reinstall required
zip updated
update: 1-30-12
We now feel this plugin is stable enough to be used by anyone.
Enjoy.
Jay
My republish url is not working when i click it in the email. Probably you should update the zip ?
-
Hi zepht,
Can you post here the url it gives you in the email?
Thanks
Jay
-
Hello Trains, my url looks like this :
http://my-site-name, followed by "oc-content/plugins/advanced_ad_management/item_republish.php?id=60&repub=republish&rSecret=ebm475&secret=BCujXwFL"
I have reinstalled the plugin but still not works. Can you please help me ?
-
Hi,
I have problem with emails in this plugin,
I've already tested two versions before and have all emails twice saved in admin panel.
At the moment is plugin not instaled but the emails are still there, if I install plugin emails are sent twice.
How to delete it, and how to have in future only one email "expired notification"
Thanks
-
@zepht
The republish url is fixed in the new version attached in the first post.
@Ingo
I have fixed the issue with email templates not deleting. You will have to download the new version from the first post. To get rid of the extra email templates you may have to edit your database.
Jay
-
Sorry, but the latest version is giving "secret key is incorrect"...
-
Hi rafl,
I have found the problem and fixed it. You can download the latest version in the first post.
Thanks
Jay
-
Ok, it seems it is working
-
Hi rafl,
I have found the problem and fixed it. You can download the latest version in the first post.
Thanks
Jay
I use the bcute theme, and when I click the republish url submited in the email notifier, the link lands me to the first page and nothing change. In the adress bar, the republish url from the email is there. I have uninstalled the previous versions and installed the last version of the plugin from the first page of this topic. It is the same thing as it was before for me with all the versions of the plugin, just like i use the same version allways. It suposed to show me a flash message, but it don't happened like this. Can you help me ?
-
my republish url looks like this : oc-content/plugins/advanced_ad_management/item_republish.php?id=65&repub=republish&rSecret=fAexH8CF&secret=fZ3qz9Nf, of course with all the http and domain name in front of it. I had a look in php my Admin and found the secret key for item number 65 to be fAexH8CF, but i can't found the last key in the url ? perhaps is the new key assigned ?
-
Hi zepht,
The rSecret key can be found in the t_item_adManage_limit table. The only way the rSecret key gets changed is when the item has been republished either in the user account area or by the link in the email. That is very strange that it does not show you any flash messages as if the rSecret key is wrong it will flash a message saying so. The url for the most part looks ok but the secret and rSecret keys names are reversed is that an exact copy from your email? I will look into this.
Jay
-
@ trains,
yes, the url published earlier by me is the exactly found in republish email sent by plugin to notice an ad is about to expire. is there a problem with the OSclass version ?
-
Hi zepht,
Can you try something for me? Can you login to you oclass as the user who posted the ad you are trying to republish and then try clicking on the link in the email?
Thanks
Jay
-
I have tried this before I ask for help. Of course, nothing happend ! I see the main page, and the republish url exactly as it is in republish email !
-
Thankyou trains58554!
;)
-
Hi zepht,
Can you check your error log or enable the osclass debug functions. http://wiki.osclass.org/Debug_PHP_errors Then try clicking on the email link. After that check the error log and let me know if it gives you any errors.
Jay
-
Only a suggestion:
could renewed items show "Re-published [date]" instead of "Published [date]"?
::)
-
We will look into adding that feature in the next version.
Thanks for the suggestions.
Jay
-
Hi All,
We have just updated the plugin the new zip can be downloaded from the first post.
Only a suggestion:
could renewed items show "Re-published [date]" instead of "Published [date]"?
::)
We added your suggestion to the new version.
Jay
-
Hi zepht,
Can you check your error log or enable the osclass debug functions. http://wiki.osclass.org/Debug_PHP_errors Then try clicking on the email link. After that check the error log and let me know if it gives you any errors.
Jay
With osclass debug enabled, the email with notice of expire soon is not send by the plugin. I will disable debug and reinstall the plugin with the last version. I hope will work this time. Do I have to clean the secret keys in the database ?
-
Do I have to clean values in MyphpAdmin for osc_t_item_resource ? the keys are stored here from what I have seen ...
-
Thank you for the update :)
-
Hi zepht,
You do not have to change the secret keys just uninstall the plugin, upload the new files, and install the plugin again.
Jay
-
Hello trains,
my item-post.php had now some fields disabled for posting. The county is set as Default-Country, and the Region is set with <input> tag as default-region. User is not allowed to select this values. He can select only Location field above this values. maybe this could be a problem for the plugin ? I've set this values like this because my classifieds site is just for a region of my country.
-
This is my setted code in item-post.php :
<div class="row">
<label for="countryId"><?php _e('Country', 'bcute'); ?></label>
<?php ItemForm::country_text(osc_get_countries(), osc_user()) ; ?>
</div>
<div class="row">
<label for="regionId"><?php _e('Judet', 'bcute'); ?></label>
<form><input type="text" value="Bucuresti" readonly="readonly" style=" background-color:#EBEBE4; color:#545454; " /></form>
</div>
<div class="row">
<label for="city"><?php _e('Zona', 'bcute'); ?><font color="#990066">*</font></label>
<?php ItemForm::city_select(osc_get_cities(), osc_user()) ; ?>
-
Thank you for the update :)
Hi rafl,
what version of osclass are you using ?
for me the plugin doesn't work !
-
I am up to date to the last version.
Did you tried to switch the theme to modern to see if the plugin works there?
The plugin is working good, so probably there is something in your installation.
Hope you will have success with that ;)
-
Hi zepht,
Have you got any new emails from the plugin? If so can you copy over the url that the email is giving you? I am very sorry that this plugin is giving you problems but I will try to get it working for you.
Jay
-
Hi trains,
I have installed again the osclass version 2.3.5, modified the params.php for an error, and now i'm using modern theme with no modifications at all. I hope it will work ! I will find out tomorow. I'll let u know.
-
Hi zepht,
Have you got any new emails from the plugin? If so can you copy over the url that the email is giving you? I am very sorry that this plugin is giving you problems but I will try to get it working for you.
Jay
Hello,
I apreciate you would help me. I have now the 2.3.5 version installed, modern theme and the last version from the post of the ad management plugin. My url looks like this "oc-content/plugins/advanced_ad_management/item_republish.php?id=3&repub=republish&rSecret=prohZMW8&secret=RmCmc8D5", of course with all the http in front of it. When I click it, the url lands me to the first page of my site. with no changes, no messages at all. In the browser adress bar the url posted above is there. I don't know what should i do ! maybe it is a cron setted and I have to wait a time, is about the plugin... I really don't know.
-
I am up to date to the last version.
Did you tried to switch the theme to modern to see if the plugin works there?
The plugin is working good, so probably there is something in your installation.
Hope you will have success with that ;)
Hi, rafl
I have downloaded the last version 2.3.5, but is was an error with search variables and I nad to set params.php for the search to work correctly. It is possible an error from this action ?
-
Hi zepht,
How recent is that email that you got that url out of? Is it from the latest install of the plugin?
Can you pm me your url?
Jay
-
hello Jay can you tell me when you have incorporated into the French language advanced_ad_management?
thank you
-
really very beautiful work, just want to know few of things about this plugin, 1. i installed this on my test site its working perfect but one thing i did no change in post-item.php file even. 2. i change prefix of my data base "oc_ " to some thing else that not on my test site but on my original site, could be any problem with this plug-in with that change?
i am using twitter 1.2 with 2.3.5 so on test site no problem its working excellent
-
Hi dr_chill76,
The only problem I see with changing the prefix is on your other database you will not have the tables for this plugin other wise it would work just fine.
Jay
-
Hi trains58554,
Please can you explain me a bit more what do u mean by "other database", 2nd, can i now put this plugin with my live site. i really need this plugin
-
When you said you changed the prefix of your database did you change all the tables names or just the prefix in osclass? From my understanding I took it as you just changed the prefix in osclass so that your osclass would not look at the tables installed for the plugin.
You can put this up on your live site as we feel it is stable.
Jay
-
@romantica,
I just updated the zip to include the latest French translation you sent me.
Jay
-
Thank trains58554
-
Hi Jay:
How do I get the plugin to work in Spanish. The truaduccion already in the language folder
Regards
Chofi
-
Hi chofi,
If the translation is already in the folder then it should show spanish when you sites language is set to spanish.
Jay
-
Jay
No, does not work. The site and cpanel are both in spanish.
-
hi jay I transfered the plugin on my site but the French language does not appear ? an idea?
thank you
-
Did you put the translation in the right folder? For spanish it should be inside of a folder named es_ES
Jay
-
Jay
Everything was done. Just as you said
Not to do with this
-
Can you upload the folder hear?
Jay
-
Hi chofi,
I am not sure why the the translations are not working. I will have to find out more on how the translations and all that work as I have never really checked out that part since the only language I know is English and a few Spanish words.
Jay
-
Jay
Okay. When you have news, send me a PM
Chofi
-
Thanks for your quick reply, i have around 3000 ads, some are old of few month and most of new, is it possible in this plugin that republishing email only go to that ads that are from last 2 month old or can i specify the date that after this date all ads can be republished, because sending email to very old ads look not good. As i am much interested to simply republish email go to ads after 1-1-12.
or any other solution for my this problem?
thanks in advance for your help
-
Hi Jay problem with language it should be working with MYSQL, not know ..
thank you
-
Hi dr_chill76,
This plugin currently does not have that feature but I think it is a great feature. I believe I am understanding what you are saying. You want to set a date that is 2 months old that way any ads that where posted after that date are elible to be republished anything older then that date will just stay there and the user will not get an email.
Jay
-
Hi Jay,
thanks for considering this feature, over all this is very nice plugin and work very good. Is there any other way to handle my this problem except i simply delete all old ads?
-
@ trains58554
hello how to for your plugin in French?
thank you
-
@Jay
I am just arguing, here, for languages to work has maybe to be something like
'message string','advanced_ad_management'
instead of
'message string','adManage'
I didn't tried, though, as I've directly translated the strings on index.php and item_republish.php
:)
-
The plugin is not working with osc 2.3.5 downloaded ... must be a mistake somewhere ! The email is coming, the republish url is there, but when I click it nothing happeneds ! Also, in user items dashboard the republish link isn't there ! I really don't know what to do to make the plugin work for me !
-
@ralf
hello I can not find this line in either index.php or in item_republish.php, you have this file located?
thank you
-
@romantica
the
'message string','adManage'
means
'whatever the message to show here','adManage'
:)
you will find (example)
'Sorry, we don\'t have any items with that ID or the secret key is incorrect.','adManage'
so that you would change to
'Désolé, nous n\'avons pas tous les éléments avec cet ID ou la clé secrète est incorrect.','adManage'
;)
That is the way I proceeded but if you want languages working the right way, I won't recommend it.
I'm doing this way because I am running one language only ;)
luca
-
Hi Rafl,
I have double checked and the translation strings should be 'message string','adManage' I wonder if maybe I did not set up my English poedit files right. I will take a look and see.
Jay
-
Hi Ralf
hello ralf I have corrected the line but the problem is still there, I have not posted the French language!
thank you
-
@Jay
:) I didn't checked the po's (I should have, but I don't)
@romantica
please, be patient: Jay is the one that will surely solve ;)
-
Hi, I have been trying to get this plugin to work for me but when I receive the URL in my email it gives me an error page. I have read through all of the posts but nothing seems to work for me. How can I fix this? What do I need to do? Thanks in advance.
-
http://www.jasielskie.org.pl/index.php?page=custom&file=advanced_ad_republish/item_republish.php?id=512&action=item_republish&rSecret=mi16k5
Warning: include(/home/pjanas/domains/jasielskie.org.pl/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php) [function.include]: failed to open stream: No such file or directory in /home/pjanas/domains/jasielskie.org.pl/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
Warning: include() [function.include]: Failed opening '/home/pjanas/domains/jasielskie.org.pl/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/pjanas/domains/jasielskie.org.pl/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
-
Hi Jay
Question: In the attached image, there should be another button to save settings
Regards
Chofi
-
Hi everybody, I was wondering if there is a fix to the email URL error yet? I am still getting an error every time I try to click on the URL sent in the email notice message. Thanks
-
@Marcel,
Sorry I did not back to you sooner I had a cold this week so I did not check in all that often. What is the error it is giving you? Also do you get any errors in your error log from the plugin?
@przemo,
Check your folder and file permissions it looks a thought the script cannot read the file.
@chofi,
There should be a save button there did you click on the link in step 1 and does it say done there? I would check that and see.
Jay
-
Hi Trains,
Well the I don't know how to look at the error log for the plugin, but this is the link that it sends me in the email:
http://europeslist.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=29&repub=republish&rSecret=2YO7aQGD&secret=9SyGFc1u
When I click on the link it opens a page that says "500 Internal Server Error". I have tried the newest plugin but it does not work, I still get the same error. What should I do to fix this?
Thanks
-
Hi Trains,
Well I found my error log and this is the error that it is giving me:
PHP Fatal error: Call to undefined function aam_pub_repub_date() in /home/marcel40/public_html/oc-content/themes/modern/item.php on line 77
Thanks again in advance.
-
Hi Marcel,
I would check the file and folder permissions of the plugin. The folder should be at 755 and files at 644.
Jay
-
Hi Jay,
I have checked all of the permissions of the files and folders and they are set correctly. Is there anything else that I may need to look at? Thanks.
-
@Marcel
Can you try to switch your Permalinks on? (General settings> Permalinks)
Your problem seems to me related with .htaccess. Can you post its content here, please?
-
Hi Rafl,
I have switched on the permalinks and this is what it tells me:
Warning! Rewrite module wasn't found on the server. This means you don't have it enabled or you're running PHP as CGI (or fastCGI). In the case you don't have mod_rewrite you could still use friendly urls if AcceptPathInfo option is on in your Apache configuration (we can't know if it's enabled or not, but it usually is). "Index.php" will appear as a part of your URL (ie. http://www.example.com/index.php/nice/url).
File .htaccess already exists. Please check that the .htaccess file has the following content.
Content of .htaccess file should look like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
What do I need to do to fix this? Thanks in advance.
-
About the warning, it shows even if you have the mod_rewrite on "or you're running PHP as CGI (or fastCGI)". You should be certain you do have it.
You didn't posted your .htaccess content but what OSClass is suggesting to you to put in it. The actual content will be shown in the box on the right.
I accessed your site, but it seems that permalinks are not enabled.
Also, if you don't have mod_rewrite module on (or cannot modify the apache configuration) please turn Permalinks off and then rename you .htaccess to something different (i.e. htaccess.ttt)
-
Hi Rafl,
I really don't understand what you are telling me to do. I have checked my .htaccess file and when I open it, it is empty. It does not have anything in there. Can you let me know exactly what I should do and also give me a little explanation on how to do it? I'm sorry but I'm pretty new at this and I don't understand some things. Thanks
-
@ Jay
hi you have this problem for the plugin in French?
thank you
-
@Marcel
if your .htaccess file is really empty and the URL triggered by your query (http://europeslist.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=29&repub=republish&rSecret=2YO7aQGD&secret=9SyGFc1u) drives to a 500 error, this is surely due to a server misconfiguration.
-
Hi Rafl,
Ok well I looked at my .htaccess file again right now and yes, it says that it is empty, 0 bytes. What do I need to do to fix this? I really don't know.
Thanks again.
-
Hi Rafl,
Ok I have figured out the problem and it is now fixed. Thank you very much for your help.
-
Hi Marcel,
what did you have to do to get it working?
Jay
-
Hello!
I checked the authorization (set it to 777) but my problem still occurs.
http://www.jasielskie.org.pl/index.php?page=custom&file=advanced_ad_republish/item_republish.php?id=512&action=item_republish&rSecret=mi16k5
-
Me too have these errors:
[warn] mod_fcgid: stderr: PHP Warning: include(/home/site2/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/site2/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
[warn] mod_fcgid: stderr: PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/site2/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php' for inclusion (include_path='/home/site2/public_html/oc-includes/htmlpurifier:.:/usr/share/pear:/usr/share/php') in /home/site2/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
:(
-
Hi Jay
still no solution for language? thank you
-
@przemo @rafl
I am looking into this. It is strange why you are getting those errors.
@romantica
I have yet to find a solution for the languages I will find a fix I hope soon.
Jay
-
@ Jay
ok thank
-
@Jay
It's really strange because in rafl.ro I'm not getting any errors, compared files looks ok and a comparison with server configuration apparently doesn't show any problem...
If I weren't missing something, probably I could have been able to help here :(
-
@rafl,
Are both or your servers running the same operating system? Or is one linux and the other windows?
Jay
-
Both are Apache VPS.
Today I've checked the 2 php.ini and the setting are matching...
I don't know anymore where to farther check :( but I'll keep investigating.
-
No more errors here, after setting folders and files permissions to 0755 into oc-includes/osclass (and below)
That's strange, as my two installs are running as FCGId (run as virtual server owner).
Ok, that's fine so far.
-
That is strange that the permissions of those folders would be wrong. I am glad you got it working.
Thanks for helping get to the bottom of this issue.
Jay
-
hi
I'm confused, in cpanel, in configuration of buttons to keep I have. Because there are 2 within fielset in admin.php
-
@przemo
It looks like rafl has found the problem why you got the errors in his post just above here he explains what he did to fix the errors.
@zepht
It maybe that you have the same problem. I would try checking the permissions as Rafl did in above post.
Jay
-
@chofi,
Can you explain more I do not quite understand.
Thanks
Jay
-
We step 1 and step 2
Enter the expiry of the notice in days (0 = no expiration, max = 999 days): Save Changes button.
-------------------------------------------------- --------------------------------------------
Number of days until the expired ads are removed permanently?:
There should be another button to save?
-
Hi chofi,
I have attached two images of how the settings of the plugin should look. If steps 1 and 2 are not done then the save button at the bottom of the page will not show up.
Jay
-
@ Jay
My plugin is working now, I have asked Ramon to install me OSClass and copy the plugin to server. I have installed it and it works now. I think is an issue with OSC version.
-
Hi zepht,
I am glad to hear that the plugin is working for you.
Thanks
Jay
-
This is mine
-
Hi chofi,
What happens when you click to do step one? When step one is complete it will say done.
Jay
-
Jay,
when I do step 1, how many ads out there. But then I have no options, only "number of days before they expire and nothing else.
Look at my image is different from yours.
I understand?
Maybe I made a mistake in translating directly into the file.
-
Hi chofi,
The reason your image is different then mine is that your first step is not done. When clicking on the link does it do anything or does it come back just the same?
Jay
-
Jay
I uninstalled and installed and now works. I do not know what happened.
Sorry for the inconvenience.
You see, I have everything in Spanish, because I translated it directly xxx.php , xxx.po I could not do.
thanks
Chofi
-
I am glad it is working for you now. I am looking into the translation issue and hopeful will have a solution for it soon.
Jay
-
Hi Jay
I tried the plugin, but when you send e-mail to the advertiser, the message is not complete. "Hi xxx!
Your ad has expired. You can renew your ad by clicking the link "and nothing more. Addition, the link connects to my home page.
Where is the error? .
Question: warning message for expired and notice to expire is same?
-
Hi thanks for this nice plugin. I have a small suggestion/request if you don't mind, is it possible to add a button for non-expired item by which a user can push his ad to top? I mean clicking on that button will reset publish date and his ad will be shown in latest item. It will increase user engagement for sure. I think it same task as your plugin do by republishing expired ad. :D
-
Hello!
Do you know something about my mistake?
Warning: include(/home/pjanas/domains/jasielskie.org.pl/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php) [function.include]: failed to open stream: No such file or directory in /home/pjanas/domains/jasielskie.org.pl/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
Warning: include() [function.include]: Failed opening '/home/pjanas/domains/jasielskie.org.pl/public_html/oc-content/plugins/advanced_ad_republish/item_republish.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/pjanas/domains/jasielskie.org.pl/public_html/oc-includes/osclass/helpers/hTheme.php on line 46
-
Hi przemo,
Check the permissions of the folders oc-includes/osclass and down more like the helpers and other folders make sure they are set at 755.
Jay
-
The plugin works perfect. The only thing that when you send the email, not binding on the customer's ad, links to the home page of the site.
Helpers folder is 755
Osclass 2.3.5
Theme modern
I have installed the latest update of the plugin
Some idea of the error?
If I function all right, I say it is one of the best plugins made.
-
send the email, not binding on the customer's ad
I don't catch the sense, sorry
-
@rafl
The plugin sends an email and it gives you a link.
Where does it link you, To the ad or to the site main page?
-
It is redirecting me to my updated ad
-
my redirects is
http://ydetodo.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=78&repub=republish&rSecret=0eyvrd&secret=KAMQiz6b (http://ydetodo.com/oc-content/plugins/advanced_ad_management/item_republish.php?id=78&repub=republish&rSecret=0eyvrd&secret=KAMQiz6b)
not understand
-
Does the ad get renewed? (matter of @trains58554)
-
Does the link must take you to the expired ad, doesn't it?
-
Hi chofi,
Are you getting any errors?
Jay
-
The plugin sends the email correctlly saying that the ad has expired. The message it sends is not complete. The link to where it has to be sent is to the site main page, I think I should send him to http://mysite.com/user/dashboard
for the user to republish your ad.
In my site does not have to be registered to post.
-
Hi chofi,
I am wondering if there is an error in your error log because the email is incomplete. It should work with sites that do not require users to login in to post but I did not test it that way.
Jay
-
I have suggestion for this plugin. In the list of Ads you can see "PREMIUM or SPONSORED" sign. Would be possible to create tooltip? When you move over this sign, you see tooltip, how many times was this republished, when expires Premium.
thx M.
-
Hi Jay
This is the error log. [25-Feb-2012 21:29:42] osc_sendMail() cannot send email! Message body empty
The email arrives in my mailbox.
My question is in the message body that says "Your Ad has expired. You can renew your ad by clicking the link", where you must take this link?.
Verbatim what the message says.
Hello xx!
Your ad has expired. You can renew your ad by clicking the link http://mi-sitio/ ... . To the contrary your ad to be (here the message ends)
Chofi
-
Hi Jay,
i am testing this Plugin for a while its working good with Twitter theme, but one thing i am unable to understand where to put all the modification you suggested in help, bcoz in twitter theme there are no such a code in user-item.php etc. please can you help me i want to put this plugin on my working site. or can you please tell me which file(s) i have to modify in twitter theme 1.2.2. I am using osclass 2.3.5.
-
Hi Jay
This is the error log. [25-Feb-2012 21:29:42] osc_sendMail() cannot send email! Message body empty
The email arrives in my mailbox.
My question is in the message body that says "Your Ad has expired. You can renew your ad by clicking the link", where you must take this link?.
Verbatim what the message says.
Hello xx!
Your ad has expired. You can renew your ad by clicking the link http://mi-sitio/ ... . To the contrary your ad to be (here the message ends)
Chofi
Hi Chofi,
That is the only error it gives you? I will look though the mail code again and see I am not sure why it would just give you the email shortened like that.
Jay
-
Hi Jay
I've tested that, when an ad expires or before that happens and it works correctly.As a reminder it works. When it sends you the link to republish, it should work with only one click but instead of that it sends you to the siute main page.
I believe the email should send two links, and it only sends one. The links should be: 1- link that sends you to republish or edit only with one click. 2- in case the person is not interested on the ad, they should be able to delete that with one click. Can this be done?
The image that shows the republish ad link item.php; what is it used? Because it doesn't take you anywhere but only to the main page. I would like to know what's it purpose.
Chofi
-
Hi chofi,
I can add the option of having a delete link as well. On which email would you like the link to be available in? Or do you think both emails should have it?
As for the link that should be added to the user-items.php file. It is used to give the user a way to republish their ad in the user item list.
Jay
-
I think it should be on both emails.
I don't understand why, when the email is sent, it doesn't take me directly to republish.. or that link doesn't exist?
And did you get what I wrote in the fisrt point of my post?
Thanks for your reply
-
When you click on the link it should take you to the item page and show a flash message stating that the item has been republished. After you click on a link does it give you any errors in your error log?
I think I understand it works when the plugin sends the about to expire email but the expired email is not working right?
Jay
-
Well, I've tried with ads expired on the item page and display a flash message that says "the article has been republished", nothing appears. As I mentioned before that link leads me to the main page of my site.
I'll try to publications to expire, to see how it works.
Chofi
-
is it possible to show deactivate item in user items management ?
-
@Hi Jay,
@ Hi ralf
can you tell me or put his modifications to run your plugin?
thank you
Yes, You need to edit the user-items.php file and add the following line.
<?php if (function_exists('republish_url')) {echo republish_url();} ?>
Find the following code and add the above code between the tags but before the </p> tag.
<p class="options">
Find the following code in the item.php file of your theme folder.
__('Published date', 'modern') . ': ' . osc_format_date( osc_item_pub_date() )
Replace the above code with the following code.
aam_pub_repub_date()
-
Hi Jay
I found using a program called Xenu this.
http://misitio.com/oc-content/plugins/advanced_ad_management/item_republish.php?repub=republish&id=107&rSecret=VyAc9Oci
error code: 500 (server error), linked from page(s):
Perhaps that is the problem, and not the plugin
The same thing happened with Jesse plugin, print ad
Chofi
-
Hi,
I had this plugin working fine for a bit, but now it stopped working again. I did not change anything, so I don't know what's wrong. I checked my error log and these are the messages that I am getting:
[Tue Mar 06 15:15:34 2012] [error] [client 188.78.65.24] File does not exist: /home/myname/public_html/500.shtml, referer: http://us.mc1621.mail.yahoo.com/mc/welcome?.gx=1&.tm=1331075730&.rand=4ko5f9rd47s23
[Tue Mar 06 15:15:34 2012] [error] [client 188.78.65.24] SoftException in Application.cpp:601: Directory "/home/myname/public_html/oc-content/plugins" is writeable by group, referer: http://us.mc1621.mail.yahoo.com/mc/welcome?.gx=1&.tm=1331075730&.rand=4ko5f9rd47s23
What can be the problem here? Thanks
-
1. when click the link in email its simply republish the ad, is it possible its open in Edit if customer want to change some thing they change and submit the ad for republish.
2. Is it possible login user can republish there items.
-
hello anyone telling me or have to put the lines of code in my message?
thank you
-
@dr_chill76,
I don't understand your first suggestion. But your second suggestion, I am sure that it is possible that the user can republish their items. Is there anything else that it can be? Thanks
-
Hi Marcel,
Thanks for your reply, my first suggestion is when we click the link in email (reminder email that our ad is gona expire) for republish its simply republish the ad, its good if the republish link open that ad in edit mode so if user want to change any thing in old ad for example wana change some picture or may contents so he can that press publish button and system republish that ad. because some time publisher want to change may some contents of ad so its easy for him.
-
Hi Dr_Chill,
Yes I would like to be able to do that also but when I try to open the link sent from the advanced ad management the link sends me to an error page. The link does not open correctly. I am trying to figure out why this is happening but I don't know why. Is there something that maybe I did wrong? Thanks
-
it would be great that user who owns the ad will see dropdown menu on items page, so he can delete, edit or deactivate the ad directly, because searching one ad between 200 is really anoying :/ (I've received this idea from my users)
-
@Hi Trains 58554
@hi ralf
I attendes always help who can not
thank you
-
Hello i need some help making Advanced Ad Management working only for premium ads . what must be changed ? Thx
-
Hi, once installed i clicked on finish installation on option. Now i read in faq
Do I need to edit any files for Advanced Ad Management plugin to work?
Yes, You need to edit the user-items.php file and add the following line.
<?php if (function_exists('republish_url')) {echo republish_url();} ?>
Find the following code and add the above code between the tags but before the </p> tag.
<p class="options">
I have to do this or the process is automatic?
-
@ viper99,
Currently this plugin does not support that option. We will look into adding it thought. Thanks for the suggestion.
@Diablos,
Currently you have to make the changes manually. I think I may have a solution to make it automatic but I have not tried it yet.
Jay
-
Hi everyone,
When I try to open the link sent from the advanced ad management the link sends me to an error page. The link does not open correctly. I am trying to figure out why this is happening but I don't know why. Is there something that maybe I did wrong?
Thanks
-
is there any further development in this plugin?
-
Hi dr_chill76,
Currently there is no new development going on with this plugin. If you have any suggestions for this plugin we would like to hear them.
Thanks
Jay
-
Hi Jay,
1. it would be nice if clicking the ad in email link open the ad in edit mode if customer wana change any thing can change other wise simply press republish button to republish the ad.
2. if an option can be added with ads automatically republish every week or any given time.
thanks for your reply
-
Wanted to verify the wording within the Paypal republish settings field of the advanced ad manager
Require users to pay new item publish fee?:
Is this meant to say require users to pay a republish fee?
This is a bit confusing since this field is referencing REpublishing.
In addition, the paypal plugin has the option to Pay per post ads
.
As is, the wording seems like it is asking if I want to charge for new item listings, when the paypal plugin asks the same question.
-
Hi Noosa,
You are right that is kind of confusing wording I used there. I will make a note and fix the wording. When I say "Require users to pay new item publish fee I am asking if you want to recharge the user the same fee they where charged to publish the item. Basically what the plugin does is if that option is set to yes it will then alert the user that they need to pay what ever you have the publish price in the paypal plugin set for before there item is displayed.
I hope this helps to make the option more clear.
Jay
-
Hi Jay,
1. it would be nice if clicking the ad in email link open the ad in edit mode if customer wana change any thing can change other wise simply press republish button to republish the ad.
2. if an option can be added with ads automatically republish every week or any given time.
thanks for your reply
Hi dr_chill76,
Sorry for the late reply. Those are great ideas I will make a note of them and add them to the next version. I like the second option a lot. You could charge users a one time fee or monthly fee to automatically republish there items for them as well.
Thanks for the suggestion.
Jay
-
Hi Noosa,
You are right that is kind of confusing wording I used there. I will make a note and fix the wording. When I say "Require users to pay new item publish fee I am asking if you want to recharge the user the same fee they where charged to publish the item. Basically what the plugin does is if that option is set to yes it will then alert the user that they need to pay what ever you have the publish price in the paypal plugin set for before there item is displayed.
I hope this helps to make the option more clear.
Jay
Thanks for clearing that up Jay. Wanted to be sure I understood before I explained to my client on how to use that feature.
-
thanks Jay, you are always kind and available for help, hoping next version soon.
-
I've been reading all threads of advanced ad management V.1.1 and still didn't find a solution for my problem. I've tried almost everything.
I use OC 2.3.7 & Advanced ad management plugin V1.1.
when a user get the mail with the link to republish it goes to main page. and the user has to login to access to his profile and dashboard but the ad is not there. no button to republish, no ad.
with that link, should it go to the ad to republish without login?
if not, why is not showing the ad even the user login?
**attached an image of plugin configuration, I guess it is not the problem because user gets the mail with the link. so it works at that point.
PD. plugin folder & osclass folder with 755 permissions and files of that folders with 644. I think this is right too.
Any idea more to check?
-
Hi rzk,
So once the user logs in the item that needs to be republished is not visible? Also can you tell me which email was sent? Was it "your ad is about to expire" or "your ad has expired" ? File and folder permissions look good.
Jay
-
First, thanks for a so quick answer.
Yes, when the user get the mail with the link --> the ad is no there anymore. Link goes to main page and once the user logs in the item that needs to be republished is not visible.
mail: (25/04/12)
<p>Hi Alexandra!</p>
<p> </p>
<p>Your ad has expired. You may renew your ad by clicking on the link <a href="http://cocobongos.es/oc-content/plugins/advanced_ad_management/item_republish.php?id=51&repub=republish&rSecret=u3wemrg6&secret=fm84CVXC" >http://cocobongos.es/oc-content/plugins/advanced_ad_management/item_republish.php?id=51&repub=republish&rSecret=u3wemrg6&secret=fm84CVXC</a>. Otherwise your ad will be permanently deleted in 1 days</p><p> </p>
<p>This is an automatic email, Please do not respond to this email.</p>
<p> </p>
<p>Thanks</p>
<p>Cocobongos | Anúncios ClaXificados. La web nº 1 de anúncios eróticos.</p>
** Number of days before item expires to send email: 4 *** user doesn't get the "ad is about to expire"
** Number of days until expired ads are deleted permanently?: 2
***another question not really important. why Im (user) getting html code at mail if "OC is the sender" ?
***and you can see the mail has duplicated links, I don't know why.
Thanks again.
PD. If you want to check login as that user just ask me about the pass by PM.
-
Hi rzk,
I will take a look at my code as it seems I have an error in it. In your email client do you have reciving html emails turned off as this is a html email. That is my thinking as to why you are seeing the html tags.
Jay
-
about html code :-[ so easy & I so silly
I will wait to the other point.
Thanks again
-
I have updated the plugin in the first post. I fixed a problem with ads not republishing.
Jay
-
@ Jay
Thanks for the plugin updates
1: I was trying to upload plugin and got the error message "There was a problem adding the plugin" please see the attachment
2: I have manually installed the plugin and try to configure the plugin and in step 1 click on the link click here to finish to install but nothing happed and link is still there please see the attachment.
-
I will take a look and see if I can see why it is not working right.
Jay
-
There is the live version?
Thank you
-
You can download the plugin from the first post of this topic.
Jay
-
Tried to install the zip file as a plugin and it says: There was a problem adding the plugin
Is there a manual way to install the files then?
Running OSClass 2.4.1
Thank you!
-
To manually install the plugin you have to extract the zip and then upload the extracted folder to oc-content/plugins One other thing you will want to check is the permissions of the oc-content/plugins folder make sure they are set at 755 and not 777.
Jay
-
Thanks a lot for help let me try this plugin too after that i'll tell you what happend
-
Thanks Trains :)
-
Thanks Jay
but i still can't see republished ads on my front side please see the pm
-
Hi Jay
Tell me, why?, Does not work the Spanish translation. ES_es folder in the folder languages.
Chofi
-
my ads disappear after 10th ad!!! Trying to install Advanced Ad Management - keeps telling me 'There was a problem adding the plugin' !!!???
-
I have a suggestion for the AAM plugin:
Would be nice if the user could activate/deactivate their listings in addition to being able to edit or delete them. User may have reasons to deactivate ads without wanting to delete them. For example, if user has a promotion that they wish to suspend temporarily yet later want to offer again...being able to deactivate the listing would save them the trouble of re-creating the original listing.
So in user item manager view might look like this:
Title of the listing
listing publish date
view item | edit | delete | deactivate | republish
The deactivate link would change from deactivate/activate depending on the publish status of the listing. So, if it were currently active the link would show "deactivate". If the listing were inactive, then the link would show "activate". The wording could be either deactivate/activate or disable/enable.
-
Hi Max,
That is a great idea I have made the changes a while back for disabling ads and submitted them to the osclass team to add to the core but it has not been yet added. I never thought of adding the functionality to the the AAM plugin I think I will.
Amost forgot here is the github issue page that details the changes I made. https://github.com/osclass/OSClass/issues/102
Thanks
Jay
-
Cool. I will look forward to that! Maybe there is a way to avoid redundant links activate vs. republish by making the link "smart" so that if a listing is expired or de-activated by user, the "re-activate" link would make it get listed again either way. I suppose the thing to consider there is whether the listing will be pushed back up to the top as a new listing or just re-activated with the existing pub/expiry date.
-
I'm trying out the solution you suggested at github.
https://github.com/osclass/OSClass/issues/102
Everything seems pretty straight forward, but I'm not sure where to find the following file:
generate_rules.php - "...One more addition to make this work with permalinks
in generate_rules.php add the following code at line 53"
Also, I'm using the next to last version of bcute theme. I noticed in the code of the user-items.php, at about line 50-53, there is following code seeming to indicate item activation. But no such link appears in the user-item view:
<?php if(osc_item_is_inactive()) {?>
<span>|</span>
<a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate', 'bcute'); ?></a>
I looked at the helpers in osclass docs and see there is a osc_item_activate_url, but I do not see any helper for deactivating item at user level. I suppose that a deactivate by admin would have to over-ride the users ability to activate.
-
Generate_rules.php used to be in the root directory but the file no longer exists. I think I will try to push out an updated version with this feature soon.
The way this code works is like so.
<?php if(osc_item_is_inactive()) {?> This line checks to see if the item is active or not if it is not active the below link will show up on the page otherwise it will not show up.
<span>|</span>
<a href="<?php echo osc_item_activate_url();?>" ><?php _e('Activate', 'bcute'); ?></a>
<?php } ?>
Jay
-
when i click on republished ad link i am having the message your ad has been republished but can see that ad on front end why?
-
With this plugin you can sett each ad to expire or all from categories?
Because I want to make like.
Example:
User John post an AD on 10.06.2012
User Tom post an AD on 17.06.2012
Can I make settings for AD to expire in 10 days?
Example:
if John post on 10.06 + 10 days = 20.06 (to expire on this date)
if Tom post on 17.06 + 10 days = 27.06 (to expire on this date)
and not ad from user John to expire on 27.06, because user Tom post ad on 17.06
-
That reminds me. A "scheduled listings" feature would be a cool future option for AAM plugin. Allow users to set start and end time/date for listings. Maybe a handy tool for business users who might want to run limited time offers or just anyone who wants to create multiple listings that they can have published at the exact/ideal time for their needs. Useful for people with limited time constraints.
-
Hi I'm trying to install the plugin in version 2.4.1 advanced_ad_management and will not let me, I put: There was a problem adding the plugin and not informing me of any error. Someone can help me, please?
-
Hi ged1234,
Is this when you are trying to upload the plugin in osclass? Or when you click the install link?
Jay
-
hi trains58554,
when I try to upload the plugin in osclass tells me there was a problem adding the plugin.
-
ged1234 you need to unzip and upload to your plug in folder on the server. Located: /oc-content/plugins
Jay, trying to located <?php if (function_exists('republish_url')) {echo republish_url();} ?>
in user-items.php and cannot find it. Any ideas?
TIA!
-
thanks.
-
Hi 360safetygear,
You will find the republish_url function in the index.php file.
Jay
-
Hi 360safetygear,
You will find the republish_url function in the index.php file.
Jay
Got it thanks brother, I was being an idiot and didn't read the instructions carefully LOL
-
first of all, thank you for this great plugin
i am using latest aam plugin with osclass 2.4.1 with bcute theme.
it works for me, but the only problem is that republished items dont show as "latest Items" on the mainpage.
so i think i have to re order &LatestItems by dt_pub_date. but i can´t find the related function for that.
i found this in hitems.php :
function osc_has_latest_items($total_latest_items = null, $category = array()) {
function osc_has_latest_items($total_latest_items = null, $category = array()) {
if ( !View::newInstance()->_exists('latestItems') ) {
$search = Search::newInstance() ;
if( !is_numeric($total_latest_items) ) {
$total_latest_items = osc_max_latest_items() ;
}
View::newInstance()->_exportVariableToView('latestItems', $search->getLatestItems($total_latest_items, $category));
}
(...........)
i think i have to add here a new ordering query, but i dont know how and where.
can somebody help me ? or have a better idea / solution?
-
One question, how to show the republish date or check whether it's republish ad or new ad? When i republish, its showing as new ad. It's funny when someone already modified the ad, so the new ad date will greater than modified ad date.
-
@eltoro,
It will take a new query to make the newly republished ads to show up at the top again. It is on my todo list for this plugin.
@searchweb,
In the help / faq page for the AAM plugin it details how to show the republished url.
How do I show Republished date once an ad has been republished?
Find the following code in the item.php file of your theme folder.
__('Published date', 'modern') . ': ' . osc_format_date( osc_item_pub_date() )
Replace the above code with the following code.
aam_pub_repub_date();
Jay
-
Thanks trains.
-
Hello,
Can u attach the advance ad managment file updated please?
I have try to install by first post but i cann't see the config menu in plugin menu.
Thanks in advance
-
Hi,
I think it would be nice if the site RSS Feed picks up republished ads too.
-
Hi there all,
I there a way to show Item link (Item prewiev) or maybe Item image in email_ad_expire ?
-
I am posting this problem here, because it was triggered when one of our users clicked the link to renew an ad from the Advanced Ad Management module. (Though this could be entirely coincidental).
The problem: on renewal all the images disappeared from the uploads folder (save four). (I have checked 'Keep originals ' in admin.) The error-log shows nothing. (No recent record at all.)
I am new to OSClass and, though I am quite thorough, I could have overlooked something.
Any help will be appreciated, please.
(You can see our 'free' classified ads site here: http://www.silverfishbooks.com/silverfish_classifieds/)
-
I'm receiving emails from my OSC installation from this plugin with subject containing this > Your ad Tuning za has expired
it's sent for item, which is 2 months deleted and is not in DB at all, I hope that emails like this are not sent to all users
-
Hello,
This application "Advanced Ad Management V. 1.1" work with OS Class V3.0?
Thanks in advance.
-
@morvy,
I am not sure how the plugin could have sent the email if the ad had been deleted for 2 months already. That is strange. I am thinking it is just a one time ordeal as I have never seen or heard of anyone else having this problem.
@keish,
It should be compatible with 3.0
Jay
-
Hello,
No, it is not compatible v3.0. I have a mesage error when importing the console admin> plugin see attachment.
Y there a solution?
In advance thank you.
-
The problem is for some reason some zips do not work right with osclass. My solution for you would be to either extract and rezip the files or extract the files to the oc-content/plugins.
Jay
-
Very nice! This plugin work good in V3.
Thanks so much.
-
OK. I have uploaded it and the systems says it is installed corectly but it does not appear in the plugin list, so I can install it. Does anyone have this problem? :(
EDIT: I use 3.0.
Unzipped, uploaded in plugins folder BUT moved the cocntent a folder up. Do not zip the plugin content from a folder next time. Open it and zip the content without pitting it in a folder. Now it works!
plugins/folder/folder/*plugin files* - wrong ???
plugins/folder/*plugin files* - working ;)
-
I'm receiving emails from my OSC installation from this plugin with subject containing this > Your ad Tuning za has expired
it's sent for item, which is 2 months deleted and is not in DB at all, I hope that emails like this are not sent to all users
I have 20 emails in inbox with the same url :/
-
Hi Jay:
I'm using a slightly modified bcute theme. When clicking on the republish link from "ad about to expire" emails, the ad gets republished ok. The ad pops back up to the top of the listings in category views, but for whatever reason in the main.php "latest items posted" view...the republished ads don't show up at the top again. Any ideas?
p.s. Do you know if there's a way for us to republish expired ads in the admin > manage items? I don't see any links, but perhaps there's a URL that would work?
Thanks for your help.
-
Hi all,
Jesse and I have been working on a new plugin. Many of you may have been following our progress over on this topic http://forums.osclass.org/development/repost-an-expired-ad/ We now have a plugin that we feel is ready for beta testing.
What features this plugin has:
- Adds functionality for users to republish their ads
- Email notification of when an ad is about to expire.
- You can choose which categories you want to allow users to republish their ads and which categories you do not want them to republish their ads in.
- Adds the functionality of Jesse's Master Expiration setting plugin
- Email notification once the ad expires
- Permanently delete expired ads after x amount of days.
New feature in V. 1.1
- The ability to show either published date or if the item has been republished it will show republished date
Refer to the help file of the plugin for instructions on how to add the this new feature.
Please note this new feature is an optional feature the plugin will work just fine if you do not want to implement this feature.
As you can see this plugin is featured packed.
If you come across any errors or bugs please report them on our github page https://github.com/Advanced-Ad-Management/Advanced-Ad-Management/issues?sort=created&direction=desc&state=open
Once you download and installed the plugin you need to got to the config page under the menu for the Advanced Ad Management plugin and finish the install. Please also read the FAQ/ help page as it explains what code you need to ad and to which file.
Please feel free to leave feedback.
Happy beta testing.
Update: 1-16-12
Fixed the republish url in the email templates. zip updated
update: 1-17-12
This time the email republish url is correct.
Added warning when changing the "Number of days until expired ads are deleted permanently?" option.
Reinstall required
zip updated
update: 1-30-12
We now feel this plugin is stable enough to be used by anyone.
Enjoy.
update: 1-31-12
Fixed issue with email templates not deleting when plugin is uninstalled.
Fixed issues with republish url.
update: 1-31-12
Fixed another issue with republishing items
Reinstall required
zip updated
update: 2-4-12
updated the plugin to version 1.1
no bug fixes just a feature enhancement read about it above.
update: 2-6-12
Added the french language. Thanks Romantica for sending me the translation.
update: 5-31-12
Fixed problems with ads not being republished.
update: 6-05-12
Ads now show up again once they are republished.
No reinstall required
zip updated 6-05-12
Jay
Hello Jay, I have upgraded my osclass version to 3.0.1
Do I have to make any changes for the plugin to work?
As I have seen, the rSecret key is not the same as it was before. Is this a problem?
The plugin cand send emails, no mather the key is ?
-
Hi I just installed the Advanced Ad Management plugin on osclass 3.0.1 I'm using paypal plus 1.0.5. I enable pay per post option paypal. but still Advanced Ad Management configuration pahe gives me Paypal republish settings: Enable Paypal Pay Per Post option to see these settings
after that i uninstallant pay pal plus plugin and install paypal plugin then it works fine. but i need paypal plus plugin to use because it has many features.
thank you ;)
-
Hi anuruddha,
Currently this plugin only works with the paypal plugin I will add support for the paypal plus plugin in the next version.
Jay
-
Hello Jay,
Can u system the bug for curency select for the paypal plus plugin?
-
Hi anuruddha,
Currently this plugin only works with the paypal plugin I will add support for the paypal plus plugin in the next version.
Jay
Thank you very much Jay. I'm eagerly waiting for the update. Thank you for creating such a valuable plugin for us.
cheers :) 8)
-
The problem is for some reason some zips do not work right with osclass. My solution for you would be to either extract and rezip the files or extract the files to the oc-content/plugins.
Jay
I'm using v3.0 and, since the zip wasn't working, I extracted the files directly. Apparently, the installation succeeds, and I'm able to configure everyting, but nothing new happens on the website. How do I know it's working? In the help file, there's only the code to add about the republish link, but shouldn't there be a way to show the number of days before expiration in each item? I'm not sure if there's something wrong, or if the plugin doesn't add anything to the website... Also, nothing was installed in the database :/
-
Hello,
I cann't see the plugin options link.
-
where can i download the latest plugin . where its compatible with 3.0.1 , im using modern theme
thanks
-
How do you extend the time? What function, and how do you remove premium?
ALso, when item will expire. what code runs and where to find it.
-
Hello, I am also interested to remove the ad from premium when the ad is expired. In fact when the ad expires but it is a premium ad, the ad stays available in the search, and only when I desactivate the premium from admin menu, it disappears. I am not using Paypal plugin, only the referrals plugin so user can get points to make ads premium when they refer my site.
Thanks in advance.
-
This plugin looks very nice and I would like to use it, but I cannot get the next step to work….
The attached shows the successfully status of step 1 & 2.
I’m getting the following error messages when trying to view index.php, help.php and admin.php:
Fatal error: Call to undefined function osc_register_plugin() in C:\xampp\htdocs\oc-content\plugins\advanced_ad_management\index.php on line 389
Fatal error: Call to undefined function _e() in C:\xampp\htdocs\oc-content\plugins\advanced_ad_management\help.php on line 28
Fatal error: Class 'Plugins' not found in C:\xampp\htdocs\oc-content\plugins\advanced_ad_management\admin.php on line 2
What do I need to do so that the plugin will work for me?
Thanks,
-
Sorry where is the link to download?
Thanks you!
-
Sorry where is the link to download?
Thanks you!
Hi download the plugin on this post
http://forums.osclass.org/plugins/(plugin)-advanced-ad-management-beta-testers-wanted/msg19886/#msg19886 (http://forums.osclass.org/plugins/(plugin)-advanced-ad-management-beta-testers-wanted/msg19886/#msg19886)
cheers
-
I have just try it, but i have this error"There was a problem adding the plugin"
Thanks you!
-
I have just try it, but i have this error"There was a problem adding the plugin"
Thanks you!
Which version of osclass you r using?
just unzip the downloaded plugin and copy it to \oc-content\plugins\ then login to admin panel and go to Manage Plugins. just search for the Advanced Ad Management and click install. That's it. hope this works.
cheers
-
I using os class 3.0.1
-
I using os class 3.0.1
Alright. that plugin work perfectly with osclass new version with default theme. R u using a different theme?
-
OK now it's work but in "manage you listings" there aren't other option, there are only: edit and delete!
I'm using usa theme!
Thanks you!!
-
OK now it's work but in "manage you listings" there aren't other option, there are only: edit and delete!
I'm using usa theme!
Thanks you!!
no probs you r welcome. now you have to customize the plugin. In manage plugin page click configure next to the Advanced Ad Management. or select configure on the plugin drop down menu. you can see the drop down menu on left side when you hover the plugin icon.
just follow the on screen instruction. it will setup the plugin.
cheers
-
OK finished now it works!
thanks you very much!
Have a nice day!! ;)
-
OK finished now it works!
thanks you very much!
Have a nice day!! ;)
cool. Its good to hear it works. you too have a nice day.
cheers
-
I dont know if anyone has noticed, but in the languages folder, the "es_ES" folder has another "es_ES" folder inside it. Not like the "fr_FR" and "en_US" who only has the "messages.po" and "messages.mo" files. Is this right ??? Maybe thats why we have trouble installing the plugin ???
-
Surprise, surprise!!! 8) That was indeed the problem for the plugin not installing in admin panel. I unzipped the plugin to my harddrive, deleted the extra "es_ES" folder in the "es_ES" folder, zipped it again and voila! installed it trough my admin panel. Hope this helps 8)
-
Hi internut,
Thanks for reporting your findings. I have removed the extra es_ES folder from the plugin. I am not sure why it was there in the first place. I will update the updated zip soon as I have a new version of this plugin that I want to do a little more checking.
Jay
-
It's a pleasure :)
-
this plugin is not showing on my site
www.offersvalley.com
-
Hi there great, but i can't install this plugin in osclass 3.0.1 this appear: There was a problem adding the plugin
Cheers
-
Hi guys
I'm rather new to OSclass, but am really liking how it is done!
Im sorry if the below question seems dumb.
I have installed and configured Advanced Ad Management.
And also added the lines to user-items.php & item.php (within my custom theme) as detailed in the help file.
However, how do i know if this is working or not?
i can not see anything new added on the user account/items pages. should there be?
(should it show an expiry date anywhere)
I have only set the OSclass site up a few days ago, and have a few test items listed, none of which are due to expire yet.
If you could tell me what i can do to test this plugin i would be very grateful
Thanks for all your hard work.
Best Regards
Jon
-
Hi jonny512379,
If the plugin installed just fine then it should be working just fine the only real way to tell if it is working is to wait until an ad expires as you will not see anything different on the users item page until an ad is expired.
Jay
-
Hi jonny512379,
If the plugin installed just fine then it should be working just fine the only real way to tell if it is working is to wait until an ad expires as you will not see anything different on the users item page until an ad is expired.
Jay
Thanks for the reply, much appreciated, as i have been uninstalling and reinstalling, thinking i must be ding something wrong :-)
Thanks for the plugins (and oslass) it works really nicely!
Best Regards
Jon
-
Just tried it's work fine now thank mate.
Please could you have a look of this plugin error:
Real state attributes
when i try to install on my oslcass real-estate theme this error appear:
Plugin couldn't be installed because of: 1050 - Table 'oc_t_item_house_attr' already exists
i tried to find a solution but couldn't
Cheers
-
If I activate "Allow OSClass to run a built-in cron automatically without setting crontab
It is recommended to have this option enabled, because some features require it."
it spams "your add expired" e-mails constantly. I have to turn that off for the spam to stop. Any help?
-
Hi iamdamnsam,
The only thing I can think of currently is turn off the option to send expired emails in the plugins settings. If you hang on for a day or so I will be releasing version 2.0 of this plugin which is built better.
@stylyroper
you are getting that error because the table t_item_house_attr already exists. The solution is to delete that table from your database and then try to install the plugin again.
Jay
-
YOU are the BEST i didn't think of that all good now. Thank you
-
All good but some options don't appear ? but are in the sql base like:
b_heating
air_condition
elevator
terrace
parking
furnished
new
etc...
and i delete the line type and Property type but they still appear in the option ?
-
where to put code and what is code for republish?
-
where to put code and what is code for republish?
Please read here: http://forums.osclass.org/development/repost-an-expired-ad/
-
Problem on bcute theme. When click on republish it take to main page and nothing hapend. What can be wrong. I listed topic but i cant find answer!
-
Hello, I am also having an issue with spam of expiration email. I have setup the ad to be published for 45 days and an expiration email to be sent 4 days before expiration. I receive a notification for expiration as expected, but then the email is sent hourly...I see you advise to turn off expiration emails until you release a new version. Any quick turn around for this issue in the meantime or do you know when you will release a new version ? thank you !
EDIT : I have changed cron_hourly to cron_daily in the plugin folder/index.php - but this does not solve the issue, even worth instead of receiving twice the email every hour, I receive them twice every hour + twice every day:-) I will deactivate notification but any help is welcome. thanks
-
I just tried everything on modern theme but always get me on main page. Everything elese is working secret key is ok, mail is ok republish link on user items is ok but when i call that link shows me first page even link is oc-content/plugins/advanced_ad_management/item_republish.php?repub=republish&id=7&rSecret=z28UVGc1#.UIPHQrQxq0w . Installed an reinstalled plugin and isnt work. Any suggestion please!!
-
Where can I find link to options? In plugin list there is only disable and uninstall
thx
-
And finaly got it set perms of plugin folder from 777 to 755 and works like charm! redirects directly to item page with massage item has been republished! ;D
-
when come the new version ??? :-\
-
The new version will be coming very soon I am planning on the end of the week.
Jay
-
Ok thk ;D
-
The Advanced Ad Management V. 1.1 uses Custom Mail server ? or GMail Sever? i set Gmail Server in general OSClass
Thanks!!
-
By the way Thanks a lot for the Plugin, its Great!!! :D
-
Well i see that @trains58554 use osc_sendMail() function , I dont know if happens with you people but in my case when the cron runs, all the mails of expired ads sends from the custom mail server, no from the GMail server as i configured in the Mail Settins of osclass.
I have a warning from my host service for massive mail :(
I`ll be grateful if someone can help me.
-
Quote
I have been running the ad again, only the last ad is not displayed: (. Still be displayed in the carousel.
What could be the problem?
When it comes to the new plugin?
Thanks
-
i see your plugin is so useful ,
each time i install you plug in it show error " There was a problem adding the plugin " and the plugin is uable to install
*my website with bcute theme
-
Dont install, only copy to plugins folder and then try to instal ::)
-
HI
Please help me what could be the problema. :(
Thanks
-
i can't upload this zip file
-
in item.php.....there is not expiration date..just publish date....the same thing in My account...dashboard...how to show the expiration date based on seetings->plugin->ad_managemnent and the date that was post the AD.thx a lot in advance!
-
Hello, this is what I have for publication + expiration date :
<?php _e('Publication date', 'twitter') ; ?>: <?php echo osc_format_date(osc_item_pub_date()) ; ?> <?php _e("Expiration Date", 'twitter') ; ?>: <?php echo osc_item_expire_date(); ?>
-
Hello, anyone know how to turn OFF "send almost expired email" ?
I have turned off email send when he is expired at it was spamming the inbox, and now I see I receive several times the email "your ad is about to expire" (received 3 times in a row) so I would like to turn that OFF as well until a new version of the plugin is released. Thanks
-
New version eta? Thanks.
-
Hello to all.
I do not want to work at all.
I installed the plugin, configured as specified in the help plugin, but I see only what I am attaching the pictures.
Can anyone help me?
Thank you.
OsClass 3.0.2 theme Modern
no one gives me a hand? I'm stuck :-[
-
hi..im just try to install this plugin, but i have a notice just like "There was a problem adding the plugin"
what i must to do?
-
Unable to install plugin, doesnt give an error must tells me unable to install, im using tuffclassified theme and latest osclass.
-
Hello to all.
I do not want to work at all.
I installed the plugin, configured as specified in the help plugin, but I see only what I am attaching the pictures.
Can anyone help me?
Thank you.
OsClass 3.0.2 theme Modern
no one gives me a hand? I'm stuck :-[
Ciao Elena.. Hai modificato i files user-items.php e item.php..? Da quello che scrivi sembra di si ma dovresti ricontrollare il Codice..Come sempre le spiegazioni sulle modifiche al Codice non sono molto chiare.. Considera che OSClass senza le funzioni di questo plugin è praticamente inutile..
Hello Elena.. Did you've modified the files user-items.php and item.php..? As You wrote it seems but is better to check the Code again.. As usual the explanation to the Code edits are not accurate.. Consider that OSClass without this plugin's functions are practically unuseful..
-
Si, ho modificato le varie funzioni dei file, leggendo tra i vari post del forum na nulla da fare, comincio a pensare che è il tema modern della versione 3.0.2 che non ne vuole sapere di questi plugin paypal ecc...
Comunque nel mio sito ho messo un plug in di donazione PayPal, chi vuole che il proprio annuncio risalga in cima o appaia nella barra scorrevole in alto, dovrà fare una donazione minima.
Per la scadenza l'ho settata dalle stesse categorie.
Grazie comunque.
-
Hello
Im use own template.
Ive installed the plugin. Do I manually need to update user-items.php, if so what code do I need to alter? I cant find any code regarding advancedadsmanager...
>:( Plz Help I really want this plugin to work.
-
Si, ho modificato le varie funzioni dei file, leggendo tra i vari post del forum na nulla da fare, comincio a pensare che è il tema modern della versione 3.0.2 che non ne vuole sapere di questi plugin paypal ecc...
Comunque nel mio sito ho messo un plug in di donazione PayPal, chi vuole che il proprio annuncio risalga in cima o appaia nella barra scorrevole in alto, dovrà fare una donazione minima.
Per la scadenza l'ho settata dalle stesse categorie.
Grazie comunque.
Uno dei limiti di OSClass (rispetto a Wordpress..) è che i comportamenti sono molto diversi a seconda del tema utilizzato.. Il lavoro di test prima di mettere online un sito funzionante è davvero lungo..
Problema: con Il Plugin Advanced Ad Management come si fa a testare le funzione di invio e-mail visto che devono passare minimo 10 giorni..?
Sto traducendo il Plugin in Italiano
------------------------
One of the greatest limits of OSClass is the different behavior of each theme.. The testing work before to publish a functional site is really a lot..
Problem: Whit the Plugin Advanced Ad Management how to test the e-mail function if the minimum elapsed time must be 10-days..?
-
Go in mysql and change the date of ads.
Please write in English.
Thanks you!
-
i installed it on my site but it does not show where it gone?
-
Italian Translation for Advanced Ad Management
Traduzione Italiana per Advanced Ad Management
-
Sorry guys,
Does this still beta version or not? I tried to install the zipped file from this post but got an error installing it.
-
Hi all!
Someone you know about this plugin works? because I do not always announce it again, if you can not put it next to the picture. : (
-
Support for plugins is really poor :-\
-
@eskamedia be pattient my friend :)
-
@eskamedia be pattient my friend :)
Still being patient, but there's not much going on here as you can see.
-
I've tried some things, the plugin seems to install fine after a few mods.
1.Unzip plugin, look in the folder
2. change these files: item_republish.php~ and item_republish.php
look for:if(OSCLASS_VERSION >= and change it to your version
if(OSCLASS_VERSION >= '3.0.2') {
then SAVE
3. upload the unzipped folder to your plugins folder,
4. Zip your folder that's still on your desktop
5. Go to your site, manage plugins> add new plugin
6. select the newly created zip file > upload, then install.
done
-
I've tried some things, the plugin seems to install fine after a few mods.
1.Unzip plugin, look in the folder
2. change these files: item_republish.php~ and item_republish.php
look for:if(OSCLASS_VERSION >= and change it to your version
if(OSCLASS_VERSION >= '3.0.2') {
then SAVE
3. upload the unzipped folder to your plugins folder,
4. Zip your folder that's still on your desktop
5. Go to your site, manage plugins> add new plugin
6. select the newly created zip file > upload, then install.
done
nice trick..how about mobile theme??can you solve that blank screeb on 3.0.2?
-
I followed the steps for the
if(OSCLASS_VERSION >= '3.0.2') {
mod, but I can't get this to install on 3.0.2. Any idea why?
-
Hello Trains
Keep up the good work..
sorry for my English ...i am Dutch
I am a very newbie but i have a question:
Is there a possebilety to intergrate a button into the ad (visible for everyone) to repost the ad to the top of the list.
When you click this you will be directed to the paysection and after you paid .. the post is reposted to the top of the listings
Here is an example how is should work.
(WARNING) It´s an Spanish adult site....,
Its just for you guys to see how its working.
http://www.loquovip.com/page/2/ (Scroll the page down to see the ads with the ¨subir top´button.)
When you click this ..you come directly to the pay section.
After you pay your ad is back on the top of the list...
My Site: www.citarelax.com
-
This plugin should be in the plugin Market place and possibly core.
-
Is there anyway to have it republish to the the top of the latest items as well. Like a bump feature.
-
The Latest Ads feature built into OSClass does not offer a way to change the sort order of the listings without code changes to the core files. Specifically, the helper function osc_has_latest_items() handles this feature. I believe ads are all sorted based on the order they were added to the database... by their database ID number. So simply changing any other parameter of that item (such as extending the items expiration date when its renewed) has no effect on sorting.
It would be possible to write a new "latest ads" function that could give the the user the ability to sort the ads however they wanted, including the ability to show newly renewed ads at the top.
-
Thats a thought! I just dont see the need to re publish an item if it doesnt really do anything. I would assume the point of re publishing would be to place it back up front again. If it doesnt do that the only thing this entire app allows you to do is have it say republished on X date.
A "renew ad" would be a better option. Where it just re populates the text and you add the pics back in, something to that effect.
-
Firstly, with regards to "why" a re-publish/renew feature is needed.... that is very simple. This plugin adds the ability to control the length of time ads are displayed. After the "expiration" date, ads can be automatically "deleted" from the database. The "renew" feature allows a user to extend the expiration date. Without all of this, OSClass has no built-in way to remove ads... they'd just stick around in the database forever. Not good.
Next...
By default on the search pages, ads are sorted by the order they're added to the database (essentially by the items ID number). No matter what changes you make to the ad (like changing the published date or expiration date) that has NO effect on how the items appear. It's just how OSClass is built. However, the user can click the link "Sort by: Newly listed", which will then show ads based on their published date, newest-to-oldest. It doesn't look at the expiration date.
Here is one idea so that newly "renewed" ads would show at the top of listings:
- When an ad is renewed, the original published date is changed in the database too. That would put those ads back at the top when ads are sorted by "Newly listed".
Jay is gone for weekend, but perhaps he can comment more about this upon his return. I've not worked on this plugin for quite a while now.
-
My apologies, I was being a bit of a smart ass my last post lol. I know the reasons why it is the way it is. It just we be nice to have the ability to bump "renew" the listing back tot he top of the latest items listing. A lot of my members just browse the new items list vs. going to the categories. Like you said though a sql mod would indeed allow that to work. I will dig a bit as well.
Priority #1 to the system would be a way to PM or message a user and alert them "popup" with a notification of message. To date all emails go to Junk unless set to safe after the first email. Most of my members have missed all notifications. - This is for another day and another pluggin lol
-
No worries! I know what you meant. Jay and I have discussed this exact issue (bumping renewed ads to the top) over the past several days, so the intentions to get this done are certainly there. There's just some technical hurdles to overcome, as you know. :-)
Jesse
-
I'm thinking creating a new table that will give you a renewal date and have a function if renewal date exists use new date.. This way you dont lose your original date which would break the original function.
Something like that lol
-
Yes, something like that could certainly work. :)
-
How to install this on 3.0.2 ?
-
Assuming you've downloaded the plugin zip file.....
1) Log-in to /oc-admin
2) Click on "Plugins" in the left menu, then "Manage plugins"
3) Next, click the big green "+" (plus sign) in the top-right corner of your screen.
4) Browse your computer for the zip folder. Click "Upload".
5) Lastly, click "Install".
Once it's installed, you can access the plugin options from the main menu on the left. You need to click the "Show more" button at the bottom to see it.
-
Jesse, I have 3.0.2 and this zip file will not install. I get the following error.
There was a problem adding the plugin.
I have installed quite a few other plugins and don't get this error. Why won't it install on 3.0.2 ?
-
Hello,
Same situation here, osclass 3.0.2 and when I try to add it I get, There was a problem adding the
plugin
Thanks
Dan
-
Hello, I still have the issue that the daily cron spam the user for almost expired and expired email. When an add is almost expired or has expired, the user get multiple times the same email in a row. For now I have removed the cron job so no more notification is sent when ad is almost expired or expired, which is not convenient. Any one else having this problem or managed to solve this ? Thanks.
EDIT : after investigations, seems that the cron job runs 4 times in a row, hence duplicates if email have to be sent, any idea why ? thanks
-
Perhaps Jay may have some information regarding those errors? I honestly don't know. I know he has a new version coming out soon that installs just fine (I tested it myself last week).
-
Here is one idea so that newly "renewed" ads would show at the top of listings:
- When an ad is renewed, the original published date is changed in the database too. That would put those ads back at the top when ads are sorted by "Newly listed".
The above idea is no longer valid as the new version of the AAM plugin does not ever modify the publication date. It does however store the republish date. I am currently working on a new version that is almost ready and I am looking at ways of sending ads back to the top of the list.
@jimwinny,
This problem has been addressed in the new version that should be available soon.
@Dan_Westlake,
I am not sure why the old version does not install on 3.0.2 but the new version will be here soon.
Jay
-
Thanks Jay !
-
Managed to manually install on v3.0.2 but have a problem in the admin area on the left hand side. What is causing this?
-
pm to user not working i tested from two difrrent account
-
Does not installed with 3.0.2, but a message on github.
-
Jesse,
Do you have any idea how to fix the style problem I posted above.
The advanced ad messes up the styling of the admin left column menu below plugins.
-
Uhm, I installed this plugin and then I've uninstalled it and now osclass doesn't send emails anymore, neither me ( as the administrator ), neither the user who adds ads. Has anyone stumbled upon this issue? How can I fix it?
-
Sorry for double posting, but it seems to work now. The server sent the emails a bit later and I was a bit paranoid.
-
Can anyone advise how to fix why the left column in admin is messed up when this plugin is installed? Photos are in my post above.
-
Hi all,
Please upgrade to version 2.1 http://forums.osclass.org/plugins/%28plugin%29-advanced-ad-management-v-2-1/
This version fixes the menu problem.
This topic will now be locked as this version is deprecated.
Thanks
Jay