- March 2, 2016 at 5:17 am #57836
I just bought this plugin, and it looks very smooth. However, I would like to customize it – specifically, I would like my PHP script to supply the username to be written to as well as the subject line (via the call). Therefore, all that would show with the shortcode would be the message itself.
Is there a decently easy to way to add a custom shortcode for this? If not, would it be possibly to pay for a custom coding on that?
AlexMarch 2, 2016 at 9:40 pm #57846
Do you want to set message receiver and message title automatically when some sends a message? Please correct me if that’s not the feature.
After getting clear idea i can suggest required code customization if it could be done easily. But if it requires fair amount of customization, we do provide custom upgrade service.
However, let me know little more about your feature in reply. I will get back to you soon.
Thanks.March 3, 2016 at 3:32 am #57847
Thanks for the quick reply!
Yes, the idea would be that the message receiver and title would be automatically set (via a PHP variable, either global or included in the [private_message] tag) – and even more, just to save space, would show only the actual message window and a submit button (as the user would already know the user/title and wouldn’t need to see it).
Thanks!March 14, 2016 at 3:50 pm #57859
I was wondering if you had any updates on this question.
AlexMarch 15, 2016 at 9:09 pm #57861
Sorry for delayed reply.
Does following example shortcode meet your requirement? In this we are adding recipient and msg title through shortcode.
[private_message firstname.lastname@example.org' title='Message Title']March 16, 2016 at 1:16 am #57866
This code seems to do the exact same thing as the normal [private_message] tag does alone – that is, it shows the “inbox, compose, sent” tabs in their entirety (screenshot attached).
Also – should ‘receipient’ read as ‘recipient’? Not sure if that was a typo or meant to be spelled as such :). It displays the same output either way.March 17, 2016 at 9:45 pm #57869
Sorry, i was not clear. It is a dummy short-code. It won’t work now. But if it serves your purpose we can implement it for you. Using that you can pre assign receiver and message title (I think thats what you want).March 17, 2016 at 9:47 pm #57870
Ah, that makes more sense :). Yes, that would work perfectly! The only change I’d like is to go by username instead of email, as my site doesn’t publicly show users’ email.March 22, 2016 at 6:12 pm #57887This reply has been marked as private.March 22, 2016 at 6:14 pm #57889
Sounds great! Right now, the site is only on my local server, but we will putting it online in the next day or two hopefully. If you send me the files, I can install them on the local, or I can let you know right away when we put the full thing online and send you the credentials for that.March 26, 2016 at 7:14 pm #57908
I messaged you a few days ago, have you seen it?
Thanks!March 29, 2016 at 2:56 pm #57915This reply has been marked as private.April 21, 2019 at 9:44 am #59386Faateh AhmadParticipant
I am trying to do the same thing to have pre-populated ‘To’ field taken from user ID after a user clicks on a button.
Can you please help?
- You must be logged in to reply to this topic.