2014-06-05, 07:31 AM
(2014-06-05, 12:06 AM)Julz Wrote: Alright, I tested a little further and I got it to work. I uploaded the older file again and I put the following:how it use in my forum
/** * Style usernames on forums list * * @param array &$forum Reference to forum data */ public function buildForumbits(&$forum) { if ($forum['lastposteruid'] != 0) { $this->cache['users'][$forum['lastposteruid']] = $forum['lastposter']; $forum['lastposter'] = "#STYLE_USERNAMES_UID{$forum['lastposteruid']}#"; } else { $forum['lastposter'] = "{$forum['lastposter']}"; } }
Thanks for your help though! I appreciate it a lot! (: