REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private Message "No Subject"
#1
My friend (Axvis) wanted a "No Subject" for he's forum all the one's on the web we're all glitchy so he asked me to try and make him one so here it is...

Ok so first go into the admin panel then to the theme's templates then look for "Private Messaging Templates" then goto "private_send"....

Find:
PHP Code:
<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}tabindex="3" /></td
Replace with:
PHP Code:
<td class="trow1"><input type="text" class="textbox" name="subject" id="subject" onfocus="if(this.value == 'No Subject') { this.value=''; }" onblur="if(this.value == '') { this.value='No Subject'; }" size="40" maxlength="85" value="{$subject}tabindex="3" /></td
Then Find:
PHP Code:
<input type="submit" class="button" name="submit" value="{$lang->send_message}tabindex="9" accesskey="s" /> 
Replace With:
PHP Code:
<input type="submit" class="button" name="submit" OnClick="if(subject.value == '') { subject.value='No Subject'; }" value="{$lang->send_message}tabindex="9" accesskey="s" /> 
Tut By: 88power88

Thanks for reading hope i've helped you and give credits!

Hope i didn't miss anything out =\
#2
Cool, thanks Smile

And for all noobs ~ To Change "No Subject" text, just replace No Subject to your text XD
Smile


Possibly Related Threads...
Thread Author Replies Views Last Post
  Default Message v2.0 labrocca 62 39,341 Feb 19, 2010, 02:37 PM
Last Post: x-Treme
  Display message to Guest users AdamDV 9 6,874 Apr 04, 2009, 04:13 PM
Last Post: labrocca
  Sidebox on the message view ustein 3 2,497 Feb 12, 2009, 11:05 PM
Last Post: labrocca
  [1.4] Reported Posts Message jnd52 3 4,073 Sep 12, 2008, 05:01 PM
Last Post: andreidanielb

Forum Jump:


Users browsing this thread: 1 Guest(s)