-
Author
-
August 18, 2013 at 13:53 #1486CenkParticipant
Hi,
I’m trying to find a way to make private messaging easier by disabling the (must fill) subject area? Is it adjustable in the PHP section? If so, can you explain me how?
Thank you for your support.
CenkAugust 20, 2013 at 09:49 #1584SQadminKeymasterHi,
You can edit the file members/single/messages/compose.php and the subject line is this one:COPY CODE<input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" />
You could add a space after or if you don’t want to show the subject then make it a hidden input with a default value like PM:
COPY CODE<input type="hidden" name="subject" id="subject" value="PM" />
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 20, 2013 at 11:08 #1586CenkParticipantIt works. But now the message isn’t selectable in the inbox area. How to make it selectable like the subject. Thanks.
August 20, 2013 at 13:22 #1593CenkParticipantOr changing the PM to the sender’s name. Is that possible?
August 20, 2013 at 21:48 #1609SQadminKeymasterI don’t think there is a simple solution for that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 20, 2013 at 21:56 #1611SQadminKeymasterI fact you can edit members/single/messages/messages-loop.php line 43 and replace with this one to show the sender name:
http://pastebin.com/7SzzmnhQHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 26, 2013 at 19:47 #1862CenkParticipantI did that. But now if I click on the name, the code directs me to the profile page.
Can you help me to code a new solution? We can adjust the one you send me.<input type=”hidden” name=”subject” id=”subject” value=”PM” />
to
<input type=”Text” name=”subject” id=”subject” value=”Re:” />I want to have the “Re:” displayed on the inbox message page if the user don’t fill the subject area (leaving it empty)..Giving the user an option.
Example: (sending a message without a subject)
Subject: I (empty) I
Message: somethingsomething(showing on the inbox page)
Re:
somethingsomethingAnd
Example: (sending a message with a subject)
Subject: I Beach I
Message: somethingsomething(showing on the inbox page)
Beach:
somethingsomethingThanks
August 27, 2013 at 11:11 #1869SQadminKeymasterThis one displays Re: when no subject is entered
http://pastebin.com/zSSRNgL1Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 27, 2013 at 12:58 #1874CenkParticipantAlmost worked. If the subject is entered it will not show up in the inbox. The Re: is working.
I did this:
adding a space after < ?php bp_messages_subject_value(); ?>
<input type=”text” name=”subject” id=”subject” value=”<?php bp_messages_subject_value(); ?/> ” />And adjust the standard code with the one you gave me in the members/single/messages/messages-loop.php.. line 43
Thanks
August 27, 2013 at 14:34 #1884SQadminKeymasterOh, sorry
it should be bp_message_thread_subject(); instead of bp_message_thread_subject;
http://pastebin.com/BvNU7QMxHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 12, 2014 at 20:10 #10895jdrick55ParticipantIs it possible to get the step by step to get this done? Sorry i don’t quite understand the back and forth above
February 13, 2014 at 19:34 #10956AbeKeymasterHi, Follow this reply https://archived.seventhqueen.com/forums/topic/sending-private-message-without-a-subject#reply-1584 and then:
edit members/single/messages/messages-loop.php line 43 and replace with this one to show Re: as the subject
http://pastebin.com/BvNU7QMxHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
You must be logged in to reply to this topic.