- This topic has 12 replies, 3 voices, and was last updated 2 years, 10 months ago by
Faateh Ahmad.
- AuthorPosts
- March 2, 2016 at 5:17 am #57836
alexwgold
ParticipantHello,
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?
Thanks!
AlexMarch 2, 2016 at 9:40 pm #57846WordPress Eden
KeymasterHi,
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 #57847alexwgold
ParticipantHello,
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 #57859alexwgold
ParticipantHello,
I was wondering if you had any updates on this question.
Thanks!
AlexMarch 15, 2016 at 9:09 pm #57861WordPress Eden
KeymasterHi,
Sorry for delayed reply.Does following example shortcode meet your requirement? In this we are adding recipient and msg title through shortcode.
[private_message receipient='admin@demo.com' title='Message Title']
March 16, 2016 at 1:16 am #57866alexwgold
ParticipantHello,
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 #57869WordPress Eden
KeymasterSorry, 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 #57870alexwgold
ParticipantAh, 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 #57887WordPress Eden
KeymasterThis reply has been marked as private.March 22, 2016 at 6:14 pm #57889alexwgold
ParticipantSounds 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 #57908alexwgold
ParticipantHello,
I messaged you a few days ago, have you seen it?
Thanks!
March 29, 2016 at 2:56 pm #57915WordPress Eden
KeymasterThis reply has been marked as private.April 21, 2019 at 9:44 am #59386Faateh Ahmad
ParticipantHi,
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?
Thanks.
- AuthorPosts
- You must be logged in to reply to this topic.