Form action code getting stripped out

12 years 9 months ago #168681 by darbunderscore
Form action code getting stripped out was created by darbunderscore
Hello all!
I am running CB 1.4 on Joomla 1.6.4 and I have ran into a problem.
I've create a field of type text editor for the purposes of pasting Paypal button code to the user's profile. I am using TinyMCE as the editor but it doesn't matter if I use straight text box, the following always gets stripped out of the code when I click the "Update" button when editing the field on my profile:
action="www.paypal.com/cgi-bin/webscr"

Obviously this prevents the button from working. I have verified I can use this button in Joomla.
I should be able to use this code without and for-pay plugins, correct?
Thanks for any help!!

Please Log in to join the conversation.

12 years 9 months ago #168771 by darbunderscore
Replied by darbunderscore on topic Re: Form action code getting stripped out
Surely someone else has ran into this?

Please Log in to join the conversation.

12 years 9 months ago #168785 by nant
CB Configuration area has parameter to specify which tags should not be stripped.

But for such a case you should really use a delimiter field.

Please Log in to join the conversation.

12 years 9 months ago #168843 by darbunderscore
Replied by darbunderscore on topic Re: Form action code getting stripped out
Thanks for the response nant.

I have added action tag to the parameters list yet it still gets yanked so I thought there was something hard-coded. Maybe I just put it in wrong.
The delimeter field works great BUT the paypal button code is unique to every member so a delimeter field wouldn't work in this scenario, correct?
Obviously if there is a better way to achieve this I am all for it!

I appreciate your time and help.

Please Log in to join the conversation.

12 years 9 months ago #168879 by nant

Please Log in to join the conversation.

12 years 9 months ago #168894 by darbunderscore
Replied by darbunderscore on topic Re: Form action code getting stripped out

nant wrote: how is it unique?


It is unique in the sense that the button links back to that user's paypal account.
What my intention is, is that vistors to that user's profile can click on the paypal button to pay for whatever that user is selling. So each user needs a PayPal account and then has to create the button which generates the code. Then they need to paste that code into their CB profile. Even if the user couldn't do it and it would require an admin to place the code into their profile, that would be okay.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.182 seconds

Facebook Twitter LinkedIn