Latest News:
Latest Mods: Latest Tutorials:


 
 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private Message "No Subject"
Author Message
WMM
Member


Posts: 60
Joined: Jul 2009
Reputation: 2
Post: #1
 Private Message "No Subject"
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 =\
06-10-2010, 02:18 AM


Mikers
Tutorials Team Member


Posts: 144
Joined: Mar 2010
Reputation: 6
Post: #2
RE: Private Message "No Subject"
There's actually already one of these tutorials in the tuts forum, gent.

http://mybbsource.com/thread-3917.html

But good job nonetheless.
06-10-2010, 03:22 AM
WMM
Member


Posts: 60
Joined: Jul 2009
Reputation: 2
Post: #3
RE: Private Message "No Subject"
Hmm ok thanks but i still rather my one because no text is displayed so it still looks/feels the same,
06-10-2010, 03:47 AM
Mr-Trainor
Senior Member

Support

Posts: 309
Joined: Mar 2010
Reputation: 5
Post: #4
RE: Private Message "No Subject"
Nice tutorial although I won't be using it I just prefer PMs to have subjects but I'm sure others will find this useful
06-10-2010, 07:07 AM
WMM
Member


Posts: 60
Joined: Jul 2009
Reputation: 2
Post: #5
RE: Private Message "No Subject"
You can still use subjects just if you leave it blank it will auto fill the subject field with "No Subject"
06-10-2010, 04:29 PM
 




User(s) browsing this thread: 2 Guest(s)