• eCommerce
  • Social and Community Suite
  • Content Management
  • RSS Extensions
  • VirtueMart Extensions
Follow us on Twitter   Join The Factory on the New Digg  
(0) | Login | Register | Lost Password?
Username: Password:  
Home
Our Products
Joomla 1.7.x  (23) & J!1.6.x
Joomla 1.5.x (28)
Joomla 1.0.x (17)
Factory Club Extensions (7)
Drupal, Elxis, MODx (6)
Windows Gadgets for J! (11)
Free Templates (4)
All Products (92)
Documentation
Tweets
Forum
Contact Us
Terms & Conditions
How to Buy Guide
Customers FAQ's
Updates & Upgrades
About Us
The Factory Demo Server for Joomla Extensions
Money Back Guarantee
Payment Methods for Joomla Extensions
Follow us on Facebook

Latest Tweets

  • Join us at the Joomladay UK!
  • The Factory Extensions Joomla Compatibility Chart
  • Love Factory 2.4 for Joomla 1.7
  • Love Factory - Memberships [VIDEO]
  • Love Factory - Custom Fields Integration [VIDEO]
  • Love Factory - Google Maps Integration [VIDEO]
  • Love Factory - Administrator Guide [VIDEO]
  • Love Factory - Memberships
  • Collection Factory for Joomla 1.6 with CB support
  • Reverse Auction Factory 1.5.9
 
   Home   Help Search Login Register  
The Factory > Forum > eCommerce Factory Suite for Joomla CMS. > Ads Factory > User cant cancel ad, mail is sent out but the ad is still there??
Pages: [1]
« previous next »
  Print  
Author Topic: User cant cancel ad, mail is sent out but the ad is still there??  (Read 1014 times)
foxmulder90
Jr. Member
**
Posts: 61


View Profile
User cant cancel ad, mail is sent out but the ad is still there??
« on: March 16, 2010, 10:51:54 pm »

Hi!

When a user tries to cancel their ad they recieve an email about the ad is closed but the ad is still on the site not removed?

I really need this to work quick!

The problem is on both 1.5.1-site and 1.5.3 =/

Thanks in advance!

J P
Logged
Factory Staff 02
The Factory Staff
Hero Member
*
Posts: 1912



View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #1 on: March 17, 2010, 10:51:43 am »

Hi,

The canceling feature unpublishes and moves to archive the ad.
It doesn't delete it.
There is no delete feature for users on front end.
You can tweak the ads cancelAdd method from the model to delete it instead of unpublish it .


Sorin
Logged

The Factory's Development Team member.
foxmulder90
Jr. Member
**
Posts: 61


View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #2 on: March 17, 2010, 01:49:08 pm »

Hi again!

I realize this but the ad doesnt even get unpublished? I just want it to be unpublished and stored in archive but it still is published.

Thanks in advance!

J P
Logged
foxmulder90
Jr. Member
**
Posts: 61


View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #3 on: March 17, 2010, 05:02:37 pm »

Hi again!

Any solution to why the user cant unpublish his/her ad? They are still published although the user pushed cancel ad, we have tried this on many sites but its not working.

Thanks in advance!

J P
Logged
Factory Staff 02
The Factory Staff
Hero Member
*
Posts: 1912



View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #4 on: March 18, 2010, 11:11:21 am »

I can not replicate any issues on canceling an ad in the current package.
Perhaps some issues are appearing on your instalation or you some other issue is actually the cause.
For inspecting this you can fix super admin credentials (super admin account and writting permissions to ads files ) and send to support.

Sorin
Logged

The Factory's Development Team member.
foxmulder90
Jr. Member
**
Posts: 61


View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #5 on: March 18, 2010, 11:31:09 am »

Thanks a lot Sorin!

I have now sent the login to you at support, hope you can fix it =)

It would be very nice if you told me what was wrong then, so I can learn if possible xD

Thanks again!

J P
Logged
Factory Staff 02
The Factory Staff
Hero Member
*
Posts: 1912



View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #6 on: March 18, 2010, 01:52:29 pm »

Hi again,

The issue was replicated and fixed locally for you and included in the 1.5.4 version too.
The bug was issued when compulsory custom fields present.

Cheers,
Sorin

Logged

The Factory's Development Team member.
foxmulder90
Jr. Member
**
Posts: 61


View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #7 on: March 18, 2010, 02:34:56 pm »

Hi again!

Thank you thank you thank you!

I have this issue on three more site =/ Two of them are Ads Factory 1.5.1 (some files upgraded) and the third site is 1.5.3.

How will I manage to fix this issue on theese three sites? =/

Would really appreciate some instructions, just general description =D

Thank you very much in advance!

 J P
Logged
Factory Staff 02
The Factory Staff
Hero Member
*
Posts: 1912



View Profile
Re: User cant cancel ad, mail is sent out but the ad is still there??
« Reply #8 on: March 18, 2010, 02:48:30 pm »

Take a look in the model adsman.php file in the cancelAdd method:
It should be :

        $add->closed_date = date("Y-m-d H:i:s", time());
        if ($add->ancStore()) {

instead of

        $add->closed_date = date("Y-m-d H:i:s", time());
        if ($add->store()) {


Also in the thefactory/fields/fields.lib.php file from administrator
in the FactoryFieldsTbl class add the method    
/**
 * Method to call ancestral store
 * @since 1.5.4
 *
 * @return bool
 */
function ancStore(){
   return parent::store();
}
   
or jus copy the above file Smiley


Sorin
Logged

The Factory's Development Team member.
Pages: [1]
  Print  
« previous next »
 
Jump to:  

Loading...
Joomla Extension - RSS Factory Manager  Joomla Extension - EBook Factory  Joomla Extension - Briefcase Factory  Joomla Extension - Auctions Factory  Joomla Module - RSS Contextual  Joomla Module - Exchange Factory (Europe / EURO)  Joomla Module - Exchange Factory (Romania/ RON)  Joomla Custom Extensions Development   Free Joomla Extensions  Joomla Extension - RSS Factory Pro (Enhanced Version)  Joomla Virtuemart Payment Plugin - Gecad (EPayment.ro)  Joomla Module - Mosimage / Image Module  Joomla Extension - Reverse Auction Factory (Lowest Bidder Auctions)  Joomla Extension - Article Factory Manager  Joomla Module - Lavalamp Menu  Joomla Module - RSS Image Extractor  Joomla Module - Exchange Factory (Europe / EURO) for Joomla 1.0.15  Joomla Module - Exchange Factory (Romania / RON) for Joomla 1.0.15  Joomla Module - Top Movies (IMDB)   Joomla Module - EBay Latest Auctions  Auction Factory Standalone PHP script