Hi,
Something very strange is happening on my ads section. Basically, sometimes the site shows 91 ads and then other times it shows 145 ads. This could be within a few hours.
The difference is between the ads that were supposed to expire and be deleted but sometimes they come back and then they go again!
Why could this be happening?
Thanks
MeMe
|
Just noticed that when a member is logged in they can see all the ads and when they are not logged in they cannot see the extra ads. This is very strange!
Has anyone had this?
Thanks
M
|
When you are logged in as admin all ads are show, without checking for expired ads. Rules → http://www.boonex.com/terms |
Thanks Alex, Is there I way I can make it permanent so ads never expire until deleted for everyone?
Thanks
M
|
You can try to increase maximal time the ad is available in ads admin settings, so user can choose it during posting.
Thanks Alex, Is there I way I can make it permanent so ads never expire until deleted for everyone?
Thanks
M
Rules → http://www.boonex.com/terms |
Thanks Alex for your help but I have done this and all it does is create a massive drop down list of days (per day) so its too long to have it there. If it was per month then it would be ok so it wouldnt be that long!
Is it possibeo to add the never expires option to the ads too?
Thanks
|
"Never Expires" option make no sense for Ads, all goods have some lifetime (sold out, out of stock, etc), so it can be increased to be bigger enough, but not set to - unlimited time.
Thanks Alex for your help but I have done this and all it does is create a massive drop down list of days (per day) so its too long to have it there. If it was per month then it would be ok so it wouldnt be that long!
Is it possibeo to add the never expires option to the ads too?
Thanks
Rules → http://www.boonex.com/terms |
Hi Alex,
Yes I agree but temporarily i need the ads to last long until the site fills up. You can imagine how long it take to promote the site and an empty site isnt a good one.
Is there a way I can change it from days to months? Ie, on the dropdown liat it will day 1 month, 2 months, 3 months etc. Instead of 1,2,3 days as this is a massive drop down?
Thanks
|
Try to change the following code:
// Life time values
$aLifeTimeValues = array();
for ($i=5; $i<=$iMaxLt; $i+=5) {
$aLifeTimeValues[] = array('key' => $i, 'value' => $i);
}
to:
// Life time values
$aLifeTimeValues = array();
for ($i=30; $i<=$iMaxLt; $i+=30) {
$aLifeTimeValues[] = array('key' => $i, 'value' => $i);
}
in modules/boonex/ads/classes/BxAdsModule.php file
Hi Alex,
Yes I agree but temporarily i need the ads to last long until the site fills up. You can imagine how long it take to promote the site and an empty site isnt a good one.
Is there a way I can change it from days to months? Ie, on the dropdown liat it will day 1 month, 2 months, 3 months etc. Instead of 1,2,3 days as this is a massive drop down?
Thanks
Rules → http://www.boonex.com/terms |
Thank you AlexT...Your a star!!!! |
For some things, expiration is a great idea, but for others it makes no sense. On our site it makes more sense for ads to run until deleted instead of having to manually re-add every 30 days. Think of it this way, here on boonex, which is easier: 1. To have the current download version of boonex dolphin available and if you need to replace it with a newer version, you can delete the old and add the new; OR 2. Have the current download version of boonex dolphin set to expire every 30 days and you have to manually re-add it at that expiration.
If nothing else, it seems like the option-for expiration should be an admin control so that site administrators can decide what works best for their site.
|
I tried the change listed and while it gives the options in a dropdown menu, it won't save with the extended dates only with 30 days as the setting. I tried changing the setting here:
$sMaxedString = _t('_bx_ads_Warn_max_live_days', 30);
to
$sMaxedString = _t('_bx_ads_Warn_max_live_days', 365);
... and no joy still. What else needs to change in order to extend the lifetime of ads?
|
You need to increase "How long can Classifieds live (days)" to the desired number of days on Ads administration page.
I tried the change listed and while it gives the options in a dropdown menu, it won't save with the extended dates only with 30 days as the setting. I tried changing the setting here:
$sMaxedString = _t('_bx_ads_Warn_max_live_days', 30);
to
$sMaxedString = _t('_bx_ads_Warn_max_live_days', 365);
... and no joy still. What else needs to change in order to extend the lifetime of ads?
Rules → http://www.boonex.com/terms |
|
Hi,
I made those changes too and now I have set up the ads to increase every 30 days which helps and I have put the default on 90 days. Most people dont bother to reduce it so it gives enough time for the site to build up.
I did this thanks to everyone on the forum.
If anyone needs help with the ads mod then msg me as I have spend a lot of time on it. There is going to be a new amazing version soon so I'm not sure if I should upgrade as this may effect all of my changes! Going to have to do a lot of testing...AGAIN!!
|