jordib
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Crowdfunding] “WP CrowdFunding Target is Reached emailHi @jaeger1,
Yes, I found a solution but you need to customize the wp-crowdfunding\includes\Functions.php file
The following functions:
is_reach_target_goal ()
is_campaign_valid ()Because the validation in wpcf-target-reached.php file incorrectly returns false when its true.
Unfortunately, this plugin looks a little abandoned from Themeum, they are focused on LMS and Qubely plugins.
I hope they will change this strategy soon. Lately, we have to resolve all issues from our own because they update WP-crowdfunding seldom.Forum: Plugins
In reply to: [WP Crowdfunding] “WP CrowdFunding Target is Reached emailHello,
I’m agree with you @razman-wan-fatul
This bug still remains in the lastest versionHope they will fix it soon.
Forum: Plugins
In reply to: [WP Crowdfunding] Line breaksHello @mehedih,
For the complete solution you may add the code I posted before. For the moment the solution is middle way implemented. I implemented the complete solution in my own and now it’s working but you have to add the code I posted (or some similar) to the next version for the issue to be complete resolved.
Regards,
JordiForum: Plugins
In reply to: [WP Crowdfunding] Stripe Connect Payments intent APIOne more thing is that for the moment you only support Stripe standard accounts, would be nice have the possibility to choose Express accounts too.
Best regards,
JordiForum: Plugins
In reply to: [WP Crowdfunding] Line breaksOne more think @razman-wan-fatul, if you have campaigns created before the wp-crowdfunding update the issue will appear in all places. So, you have to create the campaigns again or edit & save them for everything working.
Best regards,
JordiForum: Plugins
In reply to: [WP Crowdfunding] Line breaksHello @razman-wan-fatul,
1. Open this file
wp-crowdfunding\includes\woocommerce\Woocommerce.php
2. look for this function:function crowdfunding_order_type()
3. After this line:$reward = $rewards_data['wpneo_selected_rewards_checkout'];
add the following:$reward_json = json_encode($reward,JSON_UNESCAPED_UNICODE);
4. Then replace this:wpcf_function()->update_meta( $order_id, 'wpneo_selected_reward',$reward );
for this instead:wpcf_function()->update_meta( $order_id, 'wpneo_selected_reward', wp_slash($reward_json) );
5. Now open this file:wp-crowdfunding\includes\woocommerce\Dashboard.php
6. look for this function:function order_campaign_action()
7. After this line:$r = get_post_meta($order_id, 'wpneo_selected_reward', true);
add the following$r = json_decode($r, true);
8. Then where you find this:echo "<div>{$r['wpneo_rewards_description']}</div>";
replace for the followingecho "<div>". wpautop($r['wpneo_rewards_description'])."</div>";
9. Now you have to do the same in all the templates where selected_reward is displayed.
10. Here:\wp-crowdfunding\includes\woocommerce\Reward.php
11. Look for this function:function selected_reward_in_order_review()
12. Replace thisecho "<div>{$reward_data['wpneo_rewards_description']}</div>";
for the followingecho "<div>". wpautop($reward_data['wpneo_rewards_description']) ."</div>";
– Look for this functionfunction selected_reward_in_order_view($order)
and repeat the steps 7 and 8 (In the 8 step only difference is you don’t write echo)Maybe more templates are affected but I didn’t find more for the moment.
Hope it helps,
JordiForum: Plugins
In reply to: [WP Crowdfunding] Line breaksHello @mehedih,
Is working for wpneo_reward, but it’s not working in order meta for wpneo_selected_reward.
When you select a reward in a project you use this function:
function crowdfunding_order_type()
in the following rute:wp-crowdfunding\includes\woocommerce\Woocommerce.php
to save the reward in the order meta. As you can see inside this function you applywpcf_function()->update_meta( $order_id, 'wpneo_selected_reward', $reward );
you do not applywp_slash($reward)
so the line breaks issue remains for wpneo_selected_reward.Hope this explanation helps you to solve the issue,
best regards,
JordiForum: Plugins
In reply to: [WP Crowdfunding] Line breaksHello, the bug is not solved at all with the new version (2.0.3). The bug still remains for the selected rewards.
wp-crowdfunding\includes\woocommerce\Woocommerce.php in function crowdfunding_order_type()
you should save the reward in the order meta in other way (like you do in Submit_Form.php for example) and then display the selected reward correctly in the templates that apply (For examplewp-crowdfunding\includes\woocommerce\Dashboard.php in function order_campaign_action()
Hope you will solve in next update.
Forum: Plugins
In reply to: [WP Crowdfunding] Line breaksSounds great, thanks for answer :)!
Forum: Plugins
In reply to: [WP Crowdfunding] “WP CrowdFunding Target is Reached emailSame issue here,
thanks for the new code, we will test this.Forum: Plugins
In reply to: [WP Crowdfunding] Line breaksFinally a solution for this (I posted this bug more or less 1 year ago in Themeum support page). I hope you start to take care of this plugin because seems little abandoned lastly, for example stripe-connect API is out-to-date since for more less 3 years ago… and there are a lot of things to improve that I posted in Themeum support as well.
This issue also appears in the rewards description. How could we solve this?
Thank you very much in advance.
Thank you very much.
Best regards,
JordiForum: Plugins
In reply to: [WooCommerce] Woocommerce 3.5 update 24/10/18 crashed siteHi,
Same here, but finally solved. If your issue is the same as mine, the problem is that after the update, Woocommerce it is not automatically activated. So, you have to activate the plugin manually in the DataBase. Follow the solution here to know how to activate the plugin.
Plugin developers should solve this behaviour if it happens to all people that is updating the 3.5 version of woocommerce.
Hope it helps,
Best regards,
Jordi- This reply was modified 6 years, 1 month ago by jordib.
Forum: Plugins
In reply to: [Genesis Connect for WooCommerce] Woocommerce 3.5 updateHello, just for tell you. Finally I’ve found the problem. It was related to Woocommerce. I don’t know why but Woocommerce had not been automatically activated after the update. Then the website crashed. I had to activate woocommerce plugin directly in the Database. So, problem solved.
Thank you for your support.
Best regards,
JordiForum: Plugins
In reply to: [Genesis Connect for WooCommerce] Woocommerce 3.5 updateIt seems an error related to third party plugin that is integrated with woocommerce.
Thank you for your fast support,
Best regards,
Jordi