Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] Enable JComments in Adsmanager list

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] Enable JComments in Adsmanager list

  • joomir
  • joomir's Avatar Topic Author
  • Offline
  • User
  • User
  • Web design and hosting
More
9 years 6 months ago - 9 years 6 months ago #14861 by joomir
JComments plugin now enable and active for adsmanager and JComment now show on ads detail page.
I want show JComment in adsmanager list for each of ads below it. I use this code:

$comments = JPATH_BASE . '/components/com_jcomments/jcomments.php';
require($comments);
if (file_exists($comments)) {
$ahmad = null;
$ahmad = & new JComments;
echo $ahmad->showComments($content->id, 'com_adsmanager', $content->ad_headline);
}

But this code show JComments just for firest item. what is problem?
Last edit: 9 years 6 months ago by loic.
The following user(s) said Thank You: adarr
More
9 years 6 months ago #14875 by loic
Replied by loic on topic Enable JComments in Adsmanager list
Hello,

Could you tell me where you have inserted this code ?

I wish to test it before answering you.

Best regards.
The following user(s) said Thank You: adarr
  • joomir
  • joomir's Avatar Topic Author
  • Offline
  • User
  • User
  • Web design and hosting
More
9 years 6 months ago #14963 by joomir
Replied by joomir on topic Enable JComments in Adsmanager list
I use this in my adsmanager list tpm file default_expand.php
I found solution myself:
Jcomments dont allow to load multiple comment form on one page. if you want multiple comment form in list you must remove this code from your jcomments.php

if (defined('JCOMMENTS_SHOW')) {
return '';
}
The following user(s) said Thank You: adarr
More
9 years 6 months ago #14992 by loic
Replied by loic on topic Enable JComments in Adsmanager list
Great news.

I update this topic to resolved.

Best regards.
The following user(s) said Thank You: adarr
More
9 years 2 months ago #18474 by evinic
The following user(s) said Thank You: adarr
More
8 years 6 days ago #24929 by hamedfc10
Replied by hamedfc10 on topic [RESOLVED] Enable JComments in Adsmanager list
thanks for your code

تور دبی
فانتاکروم
Moderators: perry
Time to create page: 0.118 seconds
Powered by Kunena Forum