Some news help revcms

Vapour

CrimKing was here.
Aug 18, 2013
179
13
When i Post Article it shows as author -1 is there a fix for this image below
117s18i.png


Also The Date Is obv Not todays date is there a fix
140exac.png
 

Adrian

Posting Freak
Aug 3, 2012
724
252
App>class.template.php open in noteie.

Find this link in class.template.php.

Code:
$this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
Under that line add this code.

Code:
$this->setParams('lastSignedIn', date('M j, Y H:i:s A', $users->getInfo($_SESSION['user']['id'], 'last_online')));
 

Vapour

CrimKing was here.
Aug 18, 2013
179
13
App>class.template.php open in noteie.

Find this link in class.template.php.

Code:
$this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
Under that line add this code.

Code:
$this->setParams('lastSignedIn', date('M j, Y H:i:s A', $users->getInfo($_SESSION['user']['id'], 'last_online')));


$this->setParams('username', $users->getInfo($_SESSION['user']['id'], 'username'));
$this->setParams('rank', $users->getInfo($_SESSION['user']['id'], 'rank'));
$this->setParams('motto', $users->getInfo($_SESSION['user']['id'], 'motto'));
$this->setParams('email', $users->getInfo($_SESSION['user']['id'], 'mail'));
$this->setParams('coins', $users->getInfo($_SESSION['user']['id'] ,'credits'));
$this->setParams('activitypoints', $users->getInfo($_SESSION['user']['id'], 'activity_points'));
$this->setParams('figure', $users->getInfo($_SESSION['user']['id'], 'look'));
$this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
$this->setParams('lastSignedIn', date('M j, Y H:i:s A', $users->getInfo($_SESSION['user']['id'], 'last_online')));
if($this->params['rank'] > 3)



thats the code that is there the one u told me to add was already there

Also The Date Is obv Not todays date is there a fix
 

Users who are viewing this thread

Top