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 / Adsmanager + easy profile

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.

Adsmanager + easy profile

More
8 years 11 months ago - 8 years 11 months ago #20159 by catalinads
Replied by catalinads on topic Adsmanager + easy profile
In page : see user ads ( i mean when you click from details to see all ads of that user)
i want to display some fields and i use something like this:

$usermodel =$this->getModel( "user" );
$listuser = JRequest::getInt( 'user', -1 );
$user = $usermodel->getUser($listuser);
$id = $user->id;
if ($listuser != -1) {

<?php
$user=JsnHelper::getUser($id);
echo $user->getField('avatar',true);

Is working but is not so good :)) In fact i just want to have the user id in user ads page
Last edit: 8 years 11 months ago by catalinads.
More
8 years 11 months ago - 8 years 11 months ago #20183 by loic
Replied by loic on topic Adsmanager + easy profile
Hello,

The user id is in the $listuser variable.

Try to do something like that:
$usermodel	=$this->getModel( "user" );
$listuser = JRequest::getInt( 'user',	-1 );
$id = $listuser;
if ($listuser != -1) {
 
<?php
$user=JsnHelper::getUser($id);
echo $user->getField('avatar',true);

Best regards.
Last edit: 8 years 11 months ago by loic.
The following user(s) said Thank You: michal.n
Time to create page: 0.165 seconds
Powered by Kunena Forum