elitevacations
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Participant list header alignThank you for the reply – that works just fine
Forum: Plugins
In reply to: [Participants Database] Participant list header alignYou are right it does, but when you are not logged in it shows the signup details, and that does look really nice.
I have just unblocked the same page, will you take another quick look please at https://www.grantown-motormania.co.uk/participants-list
and you will see the table headings are out of line.Can I simply apply code to the table <th> tags in the template to fix that
Forum: Plugins
In reply to: [Participants Database] Using PD with WP UsersGot it – Finally:)
Found a wobbly character, and updated the php snippet plug in.
Happy Days!
Thank you very much for the helpForum: Plugins
In reply to: [Participants Database] Using PD with WP UsersThank you for the help.
I have pasted in the `<?php
$current_user = wp_get_current_user();
echo ‘[pdb_list filter=”user_login=’ . $current_user->user_login . ‘”]’;
?>` To mysnippet plug in.I have pasted the code into another snippet plug in, just in case that one is not working, and the result is the same.
Then viewed the list page where I have the
[pdb_list filter="user_login=' . $current_user->user_login . '"]
filter.There is nothing shown at all, no errors it is as though something is not working, or there is something else required.
If I remove current_user request from the filter, and replace it with an actual user like
[pdb_list filter="user_login=Chris"]
I get the correct listings associated to that user.Any ideas please?
Forum: Plugins
In reply to: [Participants Database] Using PD with WP UsersThank you very much for the response.
I have used new snippet code you have sent me. The one I had from your tips page had a double set of square brackets.
I have copied the[pdb_list filter="user_login=' . $current_user->user_login . '"]
to the list page. That is the only thing on that list page.
I have checked that the User Login field title actually reads user_login when a record is generated.
All I get now is a blank screen on the list page.I have not been able to echo out the details in the code you sent as I don’t really know where to put that code to make it work.
It’s driving me crazy!
I have sorted this out.
I removed the space either side of the pipes, and it now sends correctly from iPad and iPhone, along with PC replies