Thanks bobbit, it's worked now i also have included the else statement so it will only visible to the registered user.
I've done that before but it's doesn't work out
yes i know how to use include, and i have looked your sample named index.php in the /sample folder.Are there something i miss because i've tried and using the file too but the same problem accured.
but if you want to make acceess directly from browser i can modify it for you.
i don't understand.You want to edit my file?
I don't know what is wrong here becouse it's always displaying this
The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first.
I have edited the viewtopic and added the php code above the header of my site...it's really weird becouse other stuff like showing you're logged as works but this thing not. Help is really appreciated.
I have a question here, how can i put this option on the frontpage. The same concept like this code by
echo 'Not logged in';
echo 'Logged in as: '.$cur_user['username'].'<br>Last visit: '.format_time($cur_user['last_visit']);
OK 3 ANSWERS!
1. Never happened to me! aRE you using free servers? PunBB is fast to load!
2. I think you can edit function.php...or ???
3. edit main.tpl...
Who cares about the timezone?
Wow! a forum:)
i use Firefox 1.0PR to surf and IE for my web development...since most of the visitor to my website use IE...the pain is i must make my site look great on all type of browser sigh...