Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

GroupJive File Vaildation Fails

  • shardnzl
  • shardnzl
  • OFFLINE
  • Posts: 30
  • Thanks: 0
  • Karma: 0
12 years 2 weeks ago - 12 years 2 weeks ago #214443 by shardnzl
GroupJive File Vaildation Fails was created by shardnzl
Hi again

Sorry to be so pesky, but I seem to get this error in jQuery with all uploads, files or photos:

Error: TypeError: a.validator.methods[g] is undefined

It isn't a problem if I remove the jQuery validation in cbgroupjivefile.php :
Code:
if ( $plugin->params->get( 'general_validate', 1 ) ) { cbgjClass::getFormValidation( '#gjForm_filenew', "rules: { file_upload: { accept: '" . addslashes( implode( '|', explode( ',', $plugin->params->get( 'file_types', 'zip,rar,doc,pdf,txt,xls' ) ) ) ) . "' } }" ); }
Last edit: 12 years 2 weeks ago by shardnzl.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 2 weeks ago #214452 by nant
Replied by nant on topic Re: GroupJive File Vaildation Fails
Have you made any changes to code?

What versions?

Please Log in or Create an account to join the conversation.

  • shardnzl
  • shardnzl
  • OFFLINE
  • Posts: 30
  • Thanks: 0
  • Karma: 0
12 years 2 weeks ago #214543 by shardnzl
Replied by shardnzl on topic Re: GroupJive File Vaildation Fails
There are changes to the code, but I couldn't tell you all of them, as I am just taking over this project.

I did replace the jquery with version 1.8.2, the validator is v1.10.0, the GroupJive/CB are both the latest versions.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
12 years 2 weeks ago #214586 by krileon
Replied by krileon on topic Re: GroupJive File Vaildation Fails
You can't replace CBs jQuery as jQuery 1.8 is not backwards compatible with usages before jQuery 1.6. You basically have broke all of CBs jQuery usages. Please revert the changes and avoid core modifications. Try to implement needed features with plugins.


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 or Create an account to join the conversation.

  • shardnzl
  • shardnzl
  • OFFLINE
  • Posts: 30
  • Thanks: 0
  • Karma: 0
12 years 2 weeks ago #214651 by shardnzl
Replied by shardnzl on topic Re: GroupJive File Vaildation Fails
Yeah, put 1.5 back in and works, but now have two libraries. Perhaps you should update this.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
12 years 2 weeks ago #214672 by krileon
Replied by krileon on topic Re: GroupJive File Vaildation Fails
We'll be upgrading the jQuery library in CB 2.0.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum