foxbuntu
Forum Replies Created
-
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] POST JSON to Service URLIgnore this. I discovered my error was that I needed to switch the post type from XML to JSON in the Forms: 3rd party XML Post plugin. Great work on the plugins everything is working as expected.
So you have added this to the newest update but we will need to uninstall/reinstall to update properly?
Sorry for my slow reply, I was traveling recently.
I have taken some time to debug this myself and made the following changes and everything is working as expected now. Please confirm if these changes are ok:
upicrm_admin_lists.php
Line 93:
Was:
$getLeads = $UpiCRMLeads->get(0, 0, 0, 'DESC', $check_date);
Changed To:
$getLeads = $UpiCRMLeads->get($userID, 0, 0, 'DESC', $check_date);Line 398:
Was:
foreach ($arr as $key2 => $value) { ?><td data-belongs="<?php echo $key;?>[<?php echo $key2; ?>]"><?php
Changed To:
foreach ($arr as $key2 => $value) { ?><td name="<?php echo $key2; ?>_<?php echo $leadObj->lead_id; ?>" data-belongs="<?php echo $key;?>[<?php echo $key2; ?>]"><?phpLine 788 (Between ‘remarks’ and ‘var data {‘):
Added:if (user_id == '' || typeof user_id == 'undefined'){ var currentUser = $j("td[name='user_id_"+lead_id+"']").html(); var currentStatus = $j("td[name='lead_status_id_"+lead_id+"']").html(); user_id = $j("option").filter(function() { return $(this).text() === currentUser; }).first().attr("value"); lead_status_id = $j("option").filter(function() { return $(this).text() === currentStatus; }).first().attr("value"); }I just updated to Version 2.1.8.4 and reran all of the testing, both with plugins enabled and disabled.
Now there are two issues:
1) UPIUser Level is seeing Leads not assigned to them
2) When saving lead management comments, the assigned to and status get reset. It appears to assign the lead to the first user in the list, and the status to [blank]I have tested this in both Google Chrome (59.0.3071.71) and Internet Explorer 11. It now acts the same for both the User and Admin level.
After further testing I discovered they are saving the comments, however when it saves the comments, it removes the status and assigned user on the lead causing it to disappear from the user’s view. I have tested it with multiple browsers.
This user fails-
Wordpress Permissions: subscriber
UPICRM Permissions: userThis User works as expected-
Wordpress Permissions: admin
UPICRM Permissions: adminIs my process correct?
User Access to UPICRM > Lead Management
Add Comments to “Lead Management Comments” Column
Click “Save” in Actions Column*Page Refresh/Browse to new page and return/Modify Lead Status results in blank Comments Column*