View Single Post
SniperOne
Junior Member
   
 
Rep Power: 0 SniperOne is on a distinguished road
SniperOne is offline
  #43  
Old February 13th, 2007, 02:10 AM
Quote:
Originally Posted by Michale
2. When sending a PM, you get a message:
"You must specify a username to whom to send this message."
even though there is a name in the TO: box.

this problem is also found in XD Error.

I found a fix.

Look in the forums folder of the theme. look for the file posting_body.tpl

Look for this code... at line 247

Code:
<!-- BEGIN switch_username_select --> <tr> <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td> <td class="row2"><span class="genmed"> <input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /> </span></td> </tr> <!-- END switch_username_select --> <!-- BEGIN switch_privmsg --> <tr> <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td> <td class="row2"><span class="genmed"> <input type="text" class="post" name="username2" maxlength="25" size="25" tabindex="1" value="{USERNAME}" /> &nbsp; <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onclick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> </span></td> </tr> <!-- END switch_privmsg -->

Now replace it with this (from XD Obtuse)

Code:
<!-- BEGIN switch_username_select --> <tr> <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td> <td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td> </tr> <!-- END switch_username_select --> <!-- BEGIN switch_privmsg --> <tr> <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td> <td class="row2"><span class="genmed"><input type="text" class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span></td> </tr> <!-- END switch_privmsg -->

I hope it works for you too. I am not as brilliant as Mrs.X so I can;t tell you why it was failing. But a little trouble shooting got me to this place. Perhaps Mrs.T can find favor in my help.

PS the emoticons seem to be a typo too. I will try and solve it as well.
__________________
Points: 0.00 Bank: 0.00
Donate

Last edited by SniperOne : February 13th, 2007 at 02:50 PM.
Reply With Quote