language plugin problem

14 years 9 months ago #104533 by amazeika
language plugin problem was created by amazeika
I'm having a little issue with the language plugin. So far it works but not with the following line:

"Sorry, %s. Please contact site administrator" => "Sorry, %s. Contact the site administrator if you have further questions"

I also changed the %s part which corresponds to:

"Registration is enabled, free registrations are not allowed, but no subscription plan is available for registration" => "registration is enabled, but free registrations are not allowed; you need to \
chose a subscription plan in order to proceed with the registration process"

When I try to register without specifying a plan (which I don't want as I stated in the CBSubs settings) I get:

Sorry, registration is enabled, but free registrations are not allowed; you need to chose a subscription plan in order to proceed with the registration process. Please contact site administrator.

The "Please contact site administrator" bothers me since this is not a bug, is an expected behavior. The plugin should change it for "Contact the site administrator if you have further questions" but he is not doing it.

Thanks in advance.

Arunas Mazeika
WeXtend.com - Professional development for Joomla!.

Please Log in to join the conversation.

14 years 9 months ago #104735 by krileon
Replied by krileon on topic Re:language plugin problem
Hmm, need more information on your configuration. I simply receive a pop-up stating: Subscription Plan : This field is required!.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 9 months ago #104739 by amazeika
Replied by amazeika on topic Re:language plugin problem

Hmm, need more information on your configuration. I simply receive a pop-up stating: Subscription Plan : This field is required!.


:woohoo: That is what I would like to have instead !.

I have:

Registration settings under Settings -> Global

Show subscription plans at registration: Yes
Allow Free Registered Users (without subscriptions): No
Create Subscriptions also for free lifetime plans: Yes

Plan -> Workflows -> Registration CB workflows

Allow registration: Yes
Propose spontaneously plan at registration: Yes
User Email Confirmation: Yes, before payment
User Approval by Moderator: Default (CB)

Plan -> Access

Published: Yes
Allow new subscriptions: Yes
Allow access from site frontend: Yes
Visible for Group (and above this group): Public Front-end

I'm on Joomla 1.5.11 with CB 1.2.1 and CBSubs 1.0.1

I would say that we have two problems here, the one with the language and the fact that CBSubs is indicating that a plan is necessary but none is available when actually this isn't true since the user just tried to register without selecting a plan.

Arunas Mazeika
WeXtend.com - Professional development for Joomla!.

Please Log in to join the conversation.

14 years 9 months ago #104747 by amazeika
Replied by amazeika on topic Re:language plugin problem
A question related to this that I was planning to ask, how do you chose the order of the subscription plans zone in the registration form ?, since I don't have a CB field named subscription plans or something similar that will allow me to define its position.

The message “This field is required” also kind of tells me that CB sees the subscription selector as a CB field, which is not at all my case. Something is wrong here. Please tell me what other information you might need from config.

Thanks

Arunas Mazeika
WeXtend.com - Professional development for Joomla!.

Please Log in to join the conversation.

14 years 9 months ago #104787 by krileon
Replied by krileon on topic Re:language plugin problem
Hmm, I have the same configuration. Possibly a JS conflict? Have you tried monitoring error log with Firebug or Web Developer for Firefox to see if any JS errors are happening? It should give the pop-up error before it even submits the form.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 9 months ago #104816 by amazeika
Replied by amazeika on topic Re:language plugin problem
I did some debugging with firebug on the registration form.

I added some breakpoints in your cbFrmSubmitButton() function that is responsible for the pop up that indicates that the filed is required.

CBSubs plan checkboxes do not have the mosReq attribute, so the normal mechanism for required CB fields do not apply to CBSubs. They always pass this check and are seen as no required by cbFrmSubmitButton, which is totally normal since this attribute (mosreq) is not set.

Now I'm intrigued on how you get the “Subscription Plan : This field is required!.” when a subscription plan in not selected upon registration.

I get a pop up with the message:

“Sorry, Registration is enabled, free registrations are not allowed, but no subscription plan is available for registration. Please contact site administrator.”

but the form is sent anyways.

There are no JS conflicts.

Post edited by: amazeika, at: 2009/07/14 12:02

Arunas Mazeika
WeXtend.com - Professional development for Joomla!.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.198 seconds

Facebook Twitter LinkedIn