1 (edited by Shinryu 2004-06-17 18:14)

Topic: A couple questions...

I'm not sure if this should go here.  If not, my bad.  Anyway, I'm wanting to modify a couple parts of the layout, and can't get it to work for me.  I want to change:

Logged in as Shinryu.
Last visit: Today 06:15:58

to

Hola, Shinryu!  You aren't banned yet.  Hooray!

I've tried hacking out the last visit part to no avail, and can't get the "You  aren't banned yet" part to work at all.  Nothing will load but a white screen.  It may be due to the apostrophe, but I can't prove it.  Help?

Edit: While I have your attention, is there any way to add custom smilies that are hosted on a server other than the one PunBB is on?

Re: A couple questions...

Open up header.php and replace

$tpl_temp = $lang_common['Logged in as'].' <b>'.pun_htmlspecialchars($cur_user['username']).'</b>.<br>'.$lang_common['Last visit'].': '.format_time($cur_user['last_visit']);

with

$tpl_temp = 'Hola, '.pun_htmlspecialchars($cur_user['username']).'! You aren\'t banned yet. Hooray!';

That should do it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."