WordPress Plugin no passing user_ID
Posted: Mon Dec 31, 2018 10:43 am
Installed the nuBuilder Forte 1.2 plugin for Wordpress.
Created a HTML widget, put in the short code.
When browsing to the webpage after logging in as a regular user, the User_ID hash field is not being populated.
I'm using $('#ins_ord_franchise_id').val(nuUserName()).change() to populate a field with the currently logged in user.
The debug shows:
[USER_ID] =>
[USER_GROUP_ID] => wpsubscriber
[HOME_ID] => nuuserhome
[GLOBAL_ACCESS] => 0
[ACCESS_LEVEL_CODE] => SUBS
[form_id] => 5c27bf582d125aa
If I log into the wordpress admin page as the regular user and click the Start nuBuilder blue button it does work correctly
[USER_ID] => 5c299a7d4a3d5e0
[USER_GROUP_ID] => wpsubscriber
[HOME_ID] => nuuserhome
[GLOBAL_ACCESS] => 0
[ACCESS_LEVEL_CODE] => SUBS
Am I doing something wrong?
Created a HTML widget, put in the short code.
When browsing to the webpage after logging in as a regular user, the User_ID hash field is not being populated.
I'm using $('#ins_ord_franchise_id').val(nuUserName()).change() to populate a field with the currently logged in user.
The debug shows:
[USER_ID] =>
[USER_GROUP_ID] => wpsubscriber
[HOME_ID] => nuuserhome
[GLOBAL_ACCESS] => 0
[ACCESS_LEVEL_CODE] => SUBS
[form_id] => 5c27bf582d125aa
If I log into the wordpress admin page as the regular user and click the Start nuBuilder blue button it does work correctly
[USER_ID] => 5c299a7d4a3d5e0
[USER_GROUP_ID] => wpsubscriber
[HOME_ID] => nuuserhome
[GLOBAL_ACCESS] => 0
[ACCESS_LEVEL_CODE] => SUBS
Am I doing something wrong?