Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
0 + 9 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: userpage
by iHackCode on 2009/6/8 4:38:24

Quote:

JAVesey wrote:
Has this been shared with the Instant Zero guys?


nope. don't know how.
Re: userpage
by Anonymous on 2009/6/2 22:09:36

Has this been shared with the Instant Zero guys?
Re: userpage
by gray on 2009/6/2 19:32:01

thank you Bandit-x, its working :)

now its seems cooler than before
Re: userpage
by iHackCode on 2009/6/1 16:22:48

edit the toArray function in userpage\class\userpage.php

so it looks like this
le="color: #000000"><?php function toArray($format = 's') { $ret = array(); foreach ($this->vars as $k => $v) { $ret[$k] = $this->getVar($k, $format); } $ret['up_url_rewrited'] = $this->getURL(); $ret['up_href_title'] = $this->getHrefTitle(); $ret['up_created_formated'] = formatTimestamp($this->getVar('up_created'), userpage_utils::getModuleOption('dateformat')); $ret['user_name'] = $this->uname(); //## ADDED ## $user_handler =& xoops_gethandler('user'); $thisUser = $user_handler->get($this->getVar('up_uid')); $ret['user_avatar'] = '<img src="'.XOOPS_URL.'/uploads/'.$thisUser->getVar('user_avatar').'" alt="'.$ret['user_name'].'"/>'; //## ADDED ## return $ret; }


then you can use <{$page.user_avatar}> in that template.
Re: userpage
by gray on 2009/5/14 17:26:19

any idea_?

Who's Online

253 user(s) are online (201 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits