Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.2k views
in Plugins by

This question is for NoahY mostly or for anyone else who would know and can help.

Little introduction here: I have been looking for ways to add PayPal donate button to user profile and under the each answer made by user. I have been trying to get a plugin developed but there seems to be no easy way to do this.

So one day I thought, hey, signature plugin may work for this. So I installed the plugin, change some language from 'signature' to 'Donate to this member' and created a button code with PayPal and copy and pasted it to signature box, although I had HTML enabled the signature did not show as the button but the whole code. So what I did was I uploaded the button image for the signature and went back to paypal and created a link for email and linked the button image to that and it works fine now.

However, I would be more happy if I could somehow get it to work so that whe inserting the button code to signature box then it would display the button.

The other thing I want to know is, how can I modify the plugin so that only admin can set up and edit user signatures, so if the member wants to use a donate button then they will send me the code and I will set it up for them and they can not go and insert or add anything else in signature box, only me the Admin can.

by
I thought of the same but dropped the idea as during the payment process, others can see the e-mail of the user.

There is no workaround if the payment is supposed to go directly to the user. The email will be revealed.

3 Answers

0 votes
by

I am not NohaY cheeky, although I am interested to answer you question.

Please post what have you done yet. I am sure I can fix it

I will suggest you to create own plugin. wait dont afraid,  based on signature plugin. I have not tested signature plugin yet (Currently I am working on a Advance responsive theme for Q2A). And will be happy to create a paypal donation plugin after finishing current work

by
It is not related to question but it is related to part of your answer. You are working on theme for Q2A..Please, release  its RTL version too.
by
I will try to do that.
by
I don’t know anything about coding, so I have not done any changes apart from changing some words form ‘signature’ to ‘donate’ and so on. But I think with few changes it could be easily changes to donate button plug-in. But since I don’t know anything about coding I might be wrong. It would be great if you could develop this plugin. Also would like to know what NohaY would think of that.
by
HTB you need to patience until my current project get complected . After that I will immediately start developing it. It will be an easy work but the idea of paypal donation button will attract more user to answer.
by
thanks Aryan
0 votes
by
how to insert the iframe code?
0 votes
by
the HTML preference works on my site...

If you want to allow only admin to edit the signatures,  change the if statement in qa-signature-overrides.php line 38 to qa_get_logged_in_level()>=QA_USER_LEVEL_ADMIN
by
hi @NoahY thanks for the great plugin .... but it gives an error in 1.6 dev... please fix that error as soon  as possible..
by
what's the error?
...