Yeah! I've solve the problem! I've change the <pub_body> back to <body<pun_body>> and everything just perfect now! thx for yr guys' help!
1 2004-02-29 14:30
Re: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
2 2004-02-29 14:04
Re: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
tried, and this time the strange code shows above the image! hahaha....how can I delete it??
3 2004-02-29 14:01
Re: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
ooo...u mean to move the img after <pun_body>! i got it, let me try~ thx!
4 2004-02-29 13:55
Re: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
mmm...img stuff after <pun_body>?? do u mean the blank line just after <pun_body>??
5 2004-02-29 13:51
Re: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
yes, the modified main.tpl is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<pun_head>
<style type="text/css">
<!--
body {
background-color: #FF6600; margin-left:0; margin-top:0;
}
-->
</style></head>
<img src="../../../date/images/index.gif">
<pun_body>
<table class="punmain" cellspacing="1" cellpadding="4">
<tr class="punhead">
<td class="punhead">
<span class="puntitle"><pun_title></span><br>
<pun_desc>
</td>
</tr>
<tr>
<td class="puncon1">
<pun_navlinks><br><br>
<pun_status>
</td>
</tr>
</table>
<pun_announcement>
<pun_main>
<pun_footer>
</body>
</html>
Anything wrong??
6 2004-02-29 11:02
Re: Wrong time when not login (7 replies, posted in PunBB 1.2 troubleshooting)
a little hack?? wooo.......then forget it la....hehe....
thanks for yr reply anyway!
7 2004-02-29 11:00
Topic: a wrong message after modified main.tpl (8 replies, posted in PunBB 1.2 troubleshooting)
hi there, I hv tried to insert my website logo (a gif image) in the main.tpl. I insert the html code into the main.tpl by using dreamweaver MX. After I do it the image have been inserted. But when I click to the "registration" page or "post topic" page, there is a strage code appears just below my logo. The strange code is "onLoad="document.getElementById('post').req_subject.focus()". I hv no idea what it is and how to delete it. Any anyone help me? Thanks a lot!!
8 2004-02-25 16:58
Re: Wrong time when not login (7 replies, posted in PunBB 1.2 troubleshooting)
well, the case is: the server is located in US, and I am in Hong Kong. When I view the board without login, the time show on it is US time. When I login, the time show is Hong Kong Time (I've changed the timezone in my admin panel). Since most of my website users come from Hong Kong, I hope they can see a correct time even they hvn't login. Can it be done? Thanks!!!
9 2004-02-25 06:48
Topic: Wrong time when not login (7 replies, posted in PunBB 1.2 troubleshooting)
I've installed the script and everything works well except one: the time is wrong when a user hvn't login! I've changed the timezone of the server in the admin panel. When I login as a registered user, the time showed is correct. But when I logout, the time change to wrong again. Can it be fixed?? Thanks!!