Post Reply 
 
Thread Rating:
  • 3 Votes - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set a Default PM Subject
Author Message
Conor Calby Offline
Posting Freak
*****

Posts: 946
Joined: Jan 2010
Reputation: 15
Post: #1
Set a Default PM Subject
So, you are sick of typing in a subject eachtime just to send a PM? Well here is a way you can set a default subject in MyBB's Template System.

First, Go to
Quote:ACP>>Templates>>**Your Theme**>>PM Templates>>private_send template

In there, search for and fine
Code:
<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="3" /></td>

and replace with

Quote:<td class="trow1"><input type="text" class="textbox" name="DEFAULT SUBJECT" size="40" maxlength="85" value="DEFAULT SUBJECT" onfocus="if(this.value == 'DEFAULT SUBJECT') { this.value = ''; }" tabindex="3" /></td>

Where you see
Quote:DEFAULT SUBJECT
replace with whatever you want to appear there (for example N/A or No Subject)

Regards,

--Conor

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me 001_smile
05-29-2010, 11:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
coder Offline
Member
***

Posts: 92
Joined: Apr 2010
Reputation: 1
Post: #2
RE: Set a Default PM Subject
Nice tut , i seen this somewhere before.
06-28-2010, 09:27 PM
Find all posts by this user Quote this message in a reply
Andraž Rihtar Offline
Theme designer
Premium Users

Posts: 1,736
Joined: Aug 2009
Reputation: 9
Post: #3
RE: Set a Default PM Subject
(06-28-2010 09:27 PM)coder Wrote:  Nice tut , i seen this somewhere before.
Yes, I've seen it on MyBBoard I believe. Nice tut none the less 001_smile

Andraž Rihtar - Ex-Support Team Member
06-28-2010, 11:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Conor Calby Offline
Posting Freak
*****

Posts: 946
Joined: Jan 2010
Reputation: 15
Post: #4
RE: Set a Default PM Subject
MyBBCentral too.

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me 001_smile
07-01-2010, 07:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Don+ Offline
Member
***

Posts: 68
Joined: Aug 2010
Reputation: 0
Post: #5
RE: Set a Default PM Subject
Thanks conor, might come up handy for me.
08-21-2010, 10:12 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***

Posts: 88
Joined: Aug 2010
Reputation: 0
Post: #6
RE: Set a Default PM Subject
+1 thanks
02-24-2011, 09:00 AM
Find all posts by this user Quote this message in a reply
fma965 Offline
Member
***

Posts: 78
Joined: Jul 2011
Reputation: 0
Post: #7
RE: Set a Default PM Subject
thanks
08-01-2011, 05:55 AM
Find all posts by this user Quote this message in a reply
PTCGossip.com Offline
Junior Member
**

Posts: 2
Joined: Sep 2011
Reputation: 0
Post: #8
RE: Set a Default PM Subject
Hi Dear... Thanks for Help... But its not working for me... After these changes in Private Send template. I can see the Subject (That is write in template) But when i click on Send Message button... It says

"Please correct the following errors before continuing:

You did not enter a subject for your message. Please enter a subject."

Why??

If u say i can give u the screen shot.. Thanks
09-23-2011, 10:23 PM
Find all posts by this user Quote this message in a reply
Glenash Offline
Junior Member
**

Posts: 4
Joined: Dec 2011
Reputation: 0
Post: #9
RE: Set a Default PM Subject
Awesome, thank you. I might use this.
12-11-2011, 09:02 AM
Find all posts by this user Quote this message in a reply
Post Reply 




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