PDA

View Full Version : PM (no subject)


Keyser S?ze
05-05-2003, 04:01 PM
i think i requested this a long while back, try it again but i dont see it in the search so ill try it again :)


this would be nice, its like email if u dont put a title into a PM it just says (no subject) in the title, instead of giving a error msg saying "u must have a title"



anyone?

assassingod
05-05-2003, 04:44 PM
You could do this by template modifications. Open up the priv_sendprivmsg template, find:


Please complete the recipient, subject and message fields.


replace with


Please complete the recipient and message fields.


then find:


<td bgcolor="#DFDFDF"><normalfont><input type="text" class="bginput" name="title" value="$subject" size="40" maxlength="85" tabindex="2"></normalfont></td>


replace with


<td bgcolor="#DFDFDF"><normalfont><input type="text" class="bginput" name="title" value="(no subject)$subject" size="40" maxlength="85" tabindex="2"></normalfont></td>


Untested, but should work

Keyser S?ze
05-05-2003, 04:50 PM
that should work but it will make the title blank, id rather have the title accually say (no subject)

if there isnt one

assassingod
05-05-2003, 04:54 PM
Well what it does is when sending a PM, it will add (no subject) to the title. It saves time from hacking vB files.

Keyser S?ze
05-06-2003, 12:17 AM
didnt work :(

it works but it always puts a (no subject) there

what i am really looking for, is IF a person doesnt put in a subject, after or when they hit the send button, a (no subject) is placed there, so you would have to edit the php files