×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Cannot delete comments under adsmanager

Cannot delete comments under adsmanager 12 years 9 months ago #15116

  • Thomassie Mangiok
  • Thomassie Mangiok's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I have not been able to delete comments under adsmanager. We finally have the plugin working with your help, could you tell me how we can allow people to edit or delete posts?

Re: Cannot delete comments under adsmanager 12 years 9 months ago #15121

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Damn, so many problems with adsmanager - it actually works on my localhost. Are you sure that the comment is not cached? So maybe it is deleted, but the cache is not empty.

Daniel

Re: Cannot delete comments under adsmanager 12 years 9 months ago #15124

  • Thomassie Mangiok
  • Thomassie Mangiok's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I am at the same page www.qanuuk.com/index.php/buy/70-furnitur...-x-38q-picture-frame

I love it so far. The delete option was already not visible before I hid parts, I wasn't sure if there was an option to edit or delete

Re: Cannot delete comments under adsmanager 12 years 9 months ago #15132

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, the edit was not working because of this function:
	public function restrictModerationByTime() {
		$now = strtotime(gmdate("M d Y H:i:s", time()-100*60));
		$date = new JDate($now);
 
		if($this->_item['date'] > $date->toFormat()) {
			return true;
		} else {
			return false;
		}
	}

I've modified it to this:
	public function restrictModerationByTime() {
		return true;
	}

Now the comment edits are not restricted by time at all.

I'm so happy that I'm dropping support for joomla 1.5... It is impossible to support 2 systems at once. I'll check what is wrong with the jdate function on joomla 2.5 and I'll fix the function and the update will be in the next release.

Regards,
Daniel
The following user(s) said Thank You: Thomassie Mangiok

Re: Cannot delete comments under adsmanager 12 years 9 months ago #15134

  • Thomassie Mangiok
  • Thomassie Mangiok's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Thank you
  • Page:
  • 1
Time to create page: 0.158 seconds