supernova42
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Creating a new record with phpThank you
Forum: Plugins
In reply to: [Participants Database] Problems with WordPress user levelsI’m using a Plugin called ‘Woody ad snippets’, which allows me to add php and call it via a shortcode from one of my pages.
Forum: Plugins
In reply to: [Participants Database] Problems with WordPress user levelsThis is the code I used to create the initial record. The routine creates a record but the fields are blank if I run it in Subscriber level. In Administration level it works fine.
$current_user=wp_get_current_user();
$wp_username=$current_user->user_login;
$user_id=Participants_Db::get_record_id_by_term(‘username’,$wp_username);
if(empty($user_id)) {
$data=array(‘username’ => $wp_username);
Participants_Db::write_participant($data);
}Forum: Plugins
In reply to: [Participants Database] Creating a new record with phpFinally I’ve got it working. Initially the routine below was creating a new record but the username field was empty for some reason. I’m not sure if I had a typo, but it now works.
$wp_username=’Enterprise’;
$data=array(‘username’ => $wp_username);
Participants_Db::write_participant($data);Forum: Plugins
In reply to: [Participants Database] Text Area for field layoutSorry my mistake, it is working. I was looking in the wrong place.
Thanks for your help
Forum: Plugins
In reply to: [Participants Database] Text Area for field layoutHi
I inserted the css code and changed the max-width to 1000px but it had no effect.I tried the css code in the theme and then tried it in pdb Settings/Custom CSS but neither of them worked.
What am I doing wrong
Thanks
Forum: Plugins
In reply to: [Participants Database] Adjusting Image sizeWhen I click on the thumbnail it takes me to the larger photo. Is it possible to have a larger thumbnail photo.
ThanksForum: Plugins
In reply to: [Participants Database] Problems Adding Groups and FieldsYes I have an php_errorlog set up. I emptied the log first copying the contents to another file. I then tried to create new groups and new fields within PDB but without success. I then checked the php_errorlog and there was nothing recorded – so I guess no errors.
I installed PDB on 2 other sites that I have, which have a different theme. I disabled all the plugs but still I could not create new groups or new fields. This is weird and really annoying.
Many Thanks
Forum: Plugins
In reply to: [Participants Database] Creating a PDB dummy record in phpI’ve got the following statement that creates a record with a record_id, but all the fields are empty. What am I doing wrong?
if(empty($user_id)) {
$data=array(‘user_name’ => $wp_username);
Participants_Db::write_participant($data);
}The other problem is that it actually creates 3 blank records instead of 1 every time I run the routine.
Thanks
Forum: Plugins
In reply to: [Participants Database] Problems Adding Groups and FieldsThis is the error that I’m constantly getting from debug
PDb_List_Admin::initialize
list query: SELECT * FROM arcphpparticipants_database p ORDER BY p.date_updated descForum: Plugins
In reply to: [User Verification by PickPlugins] PlugIn Gave me a FATAL ErrorWhen I checked USERS it did actually create the new user with ‘Not Approved’, but the email was not sent.
Thanks
Forum: Plugins
In reply to: [User Verification by PickPlugins] PlugIn Gave me a FATAL ErrorUpgraded my PHP to 7.3.2 but it still didn’t work.
This is the error code I gotFatal error: Uncaught Error: Class ‘class_uv_emails’ not found in /home/najad136/public_html/arconaowners.com/wp-content/plugins/user-verification/includes/functions.php:675 Stack trace: #0 /home/najad136/public_html/arconaowners.com/wp-content/plugins/user-verification/includes/actions/action-uv-registration.php(41): uv_mail(‘philip.roberts@…’, Array) #1 /home/najad136/public_html/arconaowners.com/wp-includes/class-wp-hook.php(286): uv_action_user_register_function(12) #2 /home/najad136/public_html/arconaowners.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(false, Array) #3 /home/najad136/public_html/arconaowners.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/najad136/public_html/arconaowners.com/wp-includes/user.php(1781): do_action(‘user_register’, 12) #5 /home/najad136/public_html/arconaowners.com/wp-content/plugins/memberpress/app/models/MeprUser.php(549): wp_insert_user(Array) #6 /home/najad136/public_html/arconaowners.com/wp-content/plugins/memberpress/app/controllers/MeprChec in /home/najad136/public_html/arconaowners.com/wp-content/plugins/user-verification/includes/functions.php on line 675
Forum: Plugins
In reply to: [Participants Database] Problems Adding Groups and FieldsI don’t get any message when I try to enter a Group or Field.
I enter the Group or Field name, press Update Groups or Update fields but the Group or Field is not shown.I’ve activated the debugging log
Tried to enter Groups and Fields again.
When I click on Debugging Log it says‘Log file initiated at: February 13, 2019 6:29 pm UTC’
with the Log File of
/home/najad136/public_html/arconaowners.com/wp-content/uploads/participants-database/pdb_debugging_5c6462186f32d.txtThis is the log file contents
Log file initiated at: February 13, 2019 6:29 pm UTC
[02/13/19 6:41pm UTC]
PDb_List_Admin::initialize
list query: SELECT * FROM arcphpparticipants_database p ORDER BY p.date_updated descForum: Plugins
In reply to: [Participants Database] Problems Adding Groups and FieldsHi Roland
This is the site where I’m using Participants DB.https://arconaowners.com/members-details/
I’ve used PD to display information to the user, but I can’t add extra groups or fields.
I am having the same problem