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 / Support / AdsManager Support / [SOLVED] wrong ads displaying in jomsocial sidebar

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.

[SOLVED] wrong ads displaying in jomsocial sidebar

More
11 years 4 months ago #2827 by tompap
Replied by tompap on topic wrong ads displaying in jomsocial sidebar
Bug in 2.9.6 (due I think to an update on jomsocial)

You should edit community/adsmanager/adsmanager.php

and replace

$user = CFactory::getActiveProfile();
by
$user = CFactory::getRequestUser();
More
11 years 4 months ago #2829 by sergio0187
Replied by sergio0187 on topic wrong ads displaying in jomsocial sidebar
Ok, thank you.

Since the side module with the ads is not always 'my ads', is there a way to have on my profile 'my ads' and on other user profile 'ads from [user x]' ?
More
11 years 4 months ago #2849 by tompap
Replied by tompap on topic wrong ads displaying in jomsocial sidebar
"My Ads" on a user profile page means for me "ads for this user" not your ads.

The problem is that "My Ads" text is displayed by Jomsocial as "module/plugin" title.

You should unactive it and add a code in views/list/tmpl/default.php

like
if (($this->listuser != 0)&&($this->listuser == $this->userid)) {
echo "My Ads";
} else {
echo JText::_($this->list_name);
}

This is extra job (I am just giving some little code to help you start this custom dev). If you don't manage to do it. We can do this extra job but this will be an extra job (out of support).
Time to create page: 0.115 seconds
Powered by Kunena Forum