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 / [RESOLVED] Profile picture

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.

[RESOLVED] Profile picture

More
11 years 10 months ago #8729 by tompap
Replied by tompap on topic Profile picture
Hello and happy new year,

In List or Result page you should have

$cbUser =& CBuser::getInstance($content->userid);


in details

$cbUser =& CBuser::getInstance($this->content->userid);
More
11 years 10 months ago #8966 by fabioweb
Replied by fabioweb on topic [RESOLVED] Profile picture
Thank you!
Last request and then i hope to don't disturb you again with this topic..

Can i do the same thing in mod_adsmanager_adsmap?

Thank you
More
11 years 10 months ago #8981 by tompap
Replied by tompap on topic [RESOLVED] Profile picture
Yes you will add to edit the file and do similar thing.
More
11 years 9 months ago #9037 by fabioweb
Replied by fabioweb on topic [RESOLVED] Profile picture
Ok!
this is what i do in default.php but google map desappear :ohmy:
 
 
 	<div id="user">   
		 <?php
 
					global $_CB_framework, $mainframe;
 
					if ( defined( 'JPATH_ADMINISTRATOR' ) ) {
					 if ( ! file_exists( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' ) ) {
					 echo 'CB not installed!';
					 return;
					 }
 
					 include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
					} else {
					 if ( ! file_exists( $mainframe->getCfg( 'absolute_path' ) . '/administrator/components/com_comprofiler/plugin.foundation.php' ) ) {
					 echo 'CB not installed!';
					 return;
					 }
 
					 include_once( $mainframe->getCfg( 'absolute_path' ) . '/administrator/components/com_comprofiler/plugin.foundation.php' );
					}
 
					$cbUser =& CBuser::getInstance($content->userid);
 
 
					$avatar = $cbUser->getField( 'avatar', null, 'html', 'none', 'list' );
 
					?>      
         </div>
 <?php if($mapDisplayImage){   ?>
 ?>  
                    content += "<div class='imagediv'><a href='"+markers[i].link+"'><img src='"+markers[i].image+"' /></a><?php echo $avatar; ?></div>";
<?php } ?>
More
11 years 9 months ago #9042 by loic
Replied by loic on topic [RESOLVED] Profile picture
Hello,

the variable $mapDisplayImage is false or you have another error ?

if the variable is false, then we need to know why.

Best regards.
More
11 years 9 months ago - 11 years 9 months ago #9479 by fabioweb
Replied by fabioweb on topic [RESOLVED] Profile picture
Hello,
if i print the variable $mapDisplayImage it return "1".

Original Code (mod_adsmanager_adsmap/tmpl/default.php LINE:56
 <?php if($mapDisplayImage){ ?>  
                    content += "<div class='imagediv'><a href='"+markers[i].link+"'><img src='"+markers[i].image+"' /></a></div>";
<?php } ?>

My code for displayng avatar (Not working)
 <?php if($mapDisplayImage){ ?>  
                    content += "<div class='imagediv'><a href='"+markers[i].link+"'><?php echo $avatar; ?></a></div>";
<?php } ?>

Thank you
Last edit: 11 years 9 months ago by fabioweb.
Time to create page: 3.027 seconds
Powered by Kunena Forum