1
brywilli
PM message lost when subject left blank
  • 2005/3/31 5:57

  • brywilli

  • Just popping in

  • Posts: 3

  • Since: 2005/3/16


I am using XOOPS 2.0.9.3. Whenever a user tries to send a Private Message without a subject, an error appears - stating that a subject is required. However, when the user clicks the 'Go Back' link to make the correction, the entire message is gone and cannot be retrieved and must be typed over again. Forgetting to include a subject is a simple mistake many users make and can be very frustrating to have to re-type everything.

I'm sure this will be fixed in future versions, but is there any temporary workaround I could use in the meantime (like making every message default with 'no subject' on the subject line)? Your attention to this problem is very appreciated!

2
Mithrandir
Re: PM message lost when subject left blank

pmlite.php line 118 (or around there):
echo "<td class='even'><input type='text' name='subject' size='30' maxlength='100' /></td>";


change to
echo "<td class='even'><input type='text' name='subject' value='No Subject' size='30' maxlength='100' /></td>";

3
brywilli
Re: PM message lost when subject left blank
  • 2005/4/1 20:00

  • brywilli

  • Just popping in

  • Posts: 3

  • Since: 2005/3/16


Thanks, this helps!

Login

Who's Online

238 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits