Subject:*
Name/Email:*
Message Icon:*
Message:*
url email imgsrc image php hide code quote
English Nederlands 
SAMPLE
alignleft aligncenter alignright bold italic underline linethrough   


 [more...]
Options:*
 

 

 
     
Re: News: News By Author

by skenow on 2011/3/21 4:15:58

I already have - http://sourceforge.net/apps/trac/impresscms/changeset/21141
Re: News: News By Author

by david on 2011/3/20 13:47:32

Yes - its working well in the test server

Can you commit the change?
Re: News: News By Author

by david on 2011/3/20 13:42:12

Thanks Steve - will add this to the test server :)
Re: News: News By Author

by skenow on 2011/3/20 13:35:47

I may have spotted the trouble - in kernel/user.php. try adding the $id parameter to the __construct() methods, so you get this


class XoopsUser extends icms_member_user_Object {
private $_deprecated;
public function __construct(&$id) {
parent::__construct($id);
$this->_deprecated = icms_core_Debug::setDeprecated('icms_member_user_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
}
}

class XoopsGuestUser extends XoopsUser {
private $_deprecated;
public function __construct(&$id) {
parent::__construct($id);
$this->_deprecated = icms_core_Debug::setDeprecated('icms_member_user_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
}
}

Re: News: News By Author

by david on 2011/3/20 7:30:08

I certainly think it could be connected. The only url displayed is the equivilent to: XOOPS_URL.'/uploads/'

We tried manually replacing the . $thisuser->getVar('user_avatar')); bit with a static image - and this displayed... so something about the getVar isn't working.

I tried to compare it with the routine used in Profile - but as that's IPF based - the method was rather different.