Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


profilebook resize picture
Date: 2008/06/04 18:38 By: babyfface Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 11
graphgraph
i have a problem. i wanna resize probile book's pictures... administrator default thubmnail is 120 px
but i want profilbook picture is 50px





Code:

     //start a new row for the record                 $return .= "\n\t<tr class=\"sectiontableentry$i\" style=\"margin-bottom:5px;\" >";                 $pimg "";                 $returnFavor=null;                 //check to see if the entry was submitted by a member                 if($item->posterid!=&& $item->posterid!="" && $item->posterid!=null && isset($item->username)) {                                          //make link to profile and format name according to cb config                     $pname="<a href=\"".sefRelToAbs("index.php?option=com_comprofiler&amp;task=userProfile&amp;user=".$item->posterid)."\">".htmlspecialchars(getNameFormat($item->name,$item->username,$ueConfig['name_format']))."</a>";                                          //get users avatar if they have one                     // if (isset($item->avatar)) {                     $pimg="".getFieldValue('image',$item->avatar,$item);                     // }                     //get users primary email address and display it according to CB config                     $pEmail="<br />".getFieldValue('primaryemailaddress',$item->posteremail,$item);                                          if($pbEnableGesture && $isME) {                         $returnFavor "| <a href=\"".$this->_getAbsURLwithParam(array('user'=>$item->posterid,'showform'=>1))."\">"                                      ._pb_ReturnFavor."</a>";                     }                                      } else {                     //entry was submitted by anonymous user just diplay entered data                     $pname=htmlspecialchars($item->postername);                     $pEmail="<br />".getFieldValue('emailaddress',$item->posteremail,$item);                 }                 //check to see if the location was entered to determine how to display it                 if($pbUseLocation && $item->posterlocation!=null && $item->posterlocation!="") {                     $pLocation "<br />".htmlspecialchars($item->posterlocation);                 } else $pLocation=null;                 //check to see if the web address was entered to determine how to display it                 if($pbUseWebAddress && $item->posterurl!=null && $item->posterurl!="") {                     $URL ="<br />".getFieldValue('webaddress',$item->posterurl);                 } else $URL=null;                                   //if the profile visitor is the profile owner and the ip address of the poster is not null then  show the ip address with link to lookup site                 $ip="";                 if($iAmModerator && $item->posterip!="") {                     $ips explode(",",$item->posterip);                     foreach ($ips as $poster_proxy_ip) {                         $ip .= "";                         }                 }                                  //display information about the poster                 $return .= "\n\t\t<td style=\"overflow:hidden;\" valign=\"top\">".$pimg.$height."</td>";                 $return .= "\n\t\t<td style=\"overflow:hidden;\" valign=\"top\">";

Click here to see the profile of this user The administrator has disabled public write access.

Re:profilebook resize picture
Date: 2008/06/10 10:08 By: babyfface Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 11
graphgraph
you dont know anything!!!
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login