PM send error?
Rushian 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: PM send error?
Rushian
OP
0
From: -
From: -
PM send error?
Ok, this is messed up, if I try to preview a reply to a post, I also get tossed to the polls module!!
EDIT: Ok, figured it out.
I'm using the poll mod to display the poll in site_header template, but clicking on the [vote] button wouldn't work because it wasn't inside a form. So I added a form to the template, but I guess I put it in the wrong spot becuase ANY button would now invoke the poll function.
I moved the poll form, and now everything works again.
Ok, this is messed up, if I try to preview a reply to a post, I also get tossed to the polls module!!
EDIT: Ok, figured it out.
I'm using the poll mod to display the poll in site_header template, but clicking on the [vote] button wouldn't work because it wasn't inside a form. So I added a form to the template, but I guess I put it in the wrong spot becuase ANY button would now invoke the poll function.
I moved the poll form, and now everything works again.
1 Re: PM send error?
Rushian
OP
0
From: -
From: -
PM send error?
This one I didn't even colorize (yet). Maybe it was the bbimport script again?
This one I didn't even colorize (yet). Maybe it was the bbimport script again?
<?php
global $insert;
if ($insert[pm_title]) $insert[pm_title] = "RE: ".$insert[pm_title];
$EST_TEMPLATE = <<<TEMPLATE
<!-- Template pm_send_message -->
<form name="posting" action="pmpost.php" method="post">
<table cellspacing="0" cellpadding="0" width="100%" align="center" bgcolor="#000000" border="0">
<tr>
<td>
<table border="0" cellspacing="1" cellpadding="3" width="100%">
<tr>
<td bgcolor="#164c12" colspan="2">
<font face="Arial" color="#ffffff" size="2">
<b>Send New Message</b>
</font>
</td>
</tr>
<tr>
<td bgcolor="#ffffff">
<font face="Arial" size="2">
<b>To:</b>
</font>
</td>
<td bgcolor="#ffffff">
<input name="touser" size="67" value="$insert[pm_author]">
</td>
</tr>
<tr>
<td bgcolor="#ffffff">
<font face="Arial" size="2">
<b>Subject:</b>
</font>
</td>
<td bgcolor="#ffffff">
<input name="subject" size="67" value="$insert[pm_title]">
</td>
</tr>
<tr>
<td nowrap valign="top" bgcolor="#ffffff">
<font face="Arial" size="2">
<b>Message:</b>
</font>
</td>
<td bgcolor="#ffffff">
<textarea cols="65" name="message" rows="20" wrap="virtual">$insert[pm_quote]</textarea><br />
</td>
</tr>
</table>
</td>
</tr>
<br />
</table>
<center>
<input type="submit" value="Send Message" />
</center>
</form>
<br />
TEMPLATE;
?>
1 Re: PM send error?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
PM send error?
Now that's just odd. Please post your pm_send_message template.
Now that's just odd. Please post your pm_send_message template.
Seems I can't send private messages. I checked my templates but they look ok when compared to the stock versions (I just modified the colors, and such).
Curiously, when I click on the [submit] button after typing the PM, the site returns to the polls section for some reason, and doesn't display the pm_send_done template.
Any ideas? This is ST ver 1.8..