bw3em
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort & SearchHi Julie,
My default sort is date_updated and that works now, but is not an option in the dropdown sort list!
I really like the way you have yours laid out but I haven’t managed it yet. I don’t suppose you could send me the code as an example for me to follow? I too want to place one photo (my clients can upload up to 6) next to relevant details as a sort of snapshot before deciding to visit their main profile page.
My email is info [at] abcast.co.uk and I’d really appreciate it as I’m struggling with the PHP ??
Nice work!
Em
P.S. Sorry for hijacking your post page, Roland!!Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort & SearchYou are right, Julie, well spotted ??
However, I have date_updated and date_recorded checked as sortable and numbered, but they don’t show up. It would also be nice to have a ‘clear’ button so the sort can return to the default.
I would also assume the list would be ordered in the numbered order I gave them but they seem to be listed arbitrarily!
It still shows unapproved members when search is set to true ??
Thanks, Em
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort & SearchIn my main pdb_list which shows all approved participants, there are at least 6 fields set to be sortable but only one shows up in the search and sort dropdown list. This is the code I’m using:
[pdb_list filter="approved=yes" orderby="date_updated" order="desc" list_limit="500" class="artistelist" fields="full_name, photo, area, description, age, height, ethnicity" search="false" sort="false"]
See https://abcast.co.uk/index.php/artistes/ – although I’ve had to disable the search and sort as it doesn’t work yet, as also, when search is set to true it shows all records (including those not approved). If we happen to be online at the same time tonight (for me) and in the morning (for you!) I’ll set them to true so you can see what I mean!
Cheers, Em
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort frontend listJust to thank you and confirm, this works well now ??
Em x
Hi Roland (and all the other watchers!)
Whatever you have done in the latest upgrade has fixed the missing image issue – THANK YOU so much… phew… with over 100 participants and 6 images each I wasn’t looking forward to reconnecting them to their profiles again!!
Have a great day/night, Em x
Yes i was the one who told you about that! That’s why my images were in the uploads directory but now they are not visible on the site ??
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort frontend listHi Roland, I’m afraid this still doesn’t work in this update. It doesn’t matter if I put ‘acs’ or ‘desc’ the order remains the same:
orderby="date_updated" order="desc"
Hope you can fix this, Em
Thank you x
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort frontend listThanks x
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Sort frontend listHi Roland, I have tried this too as you know, but it doesn’t seem to work.
I want it to show the most recently updated first, so I’m using:
[pdb_list filter="approved=yes" orderby="date_updated" order="desc"]
I’m not sure how it’s sorting them but it’s certainly not by date_updated! I’ve even tried adding the field to the display table but it still won’t sort correctly. Could it be because the value is in the Internal Fields group?
TIA Em
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Displaying ImagesBrilliant, thanks Roland, you’re a star ??
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Displaying ImagesSorry for all the posts… to re-cap…
The link to images works now and they show up thanks to adding the ‘/’ in ‘Image Upload Location’ (as above) ??
BUT, when a participant or admin edits or adds to a profile without re-uploading the images, the images no longer appear. Or if they upload further images, the originals are replaced.
I need the image to remain in place no matter how many times they edit their profile. They shouldn’t have to re-upload the same image with every edit!
Hope this i makes sense! Em
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Displaying ImagesRE the images… I have tried loading [pdb_list] on other PCs and they still don’t show up – link still missing ‘/’ in source code yet still showing in ‘Image Upload Location’ (as above).
Also have tried editing/adding to record with image in admin and reloaded [pdb_list] page, and the image is now missing.
Would it not be better to have thumbnails showing in the admin so participants could add to their images rather than overwrite them or delete them when updating their records? Thanks again, EmForum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Displaying ImagesAh you’re right – I’ve checked the source code and the image should indeed be showing BUT the URL is wrong. There is no / between the domain link and wp-content/plugins/…..
I’ve tried adding one before /wp-content/plugins/participants-database/uploads/ in ‘Image Upload Location’ to no avail.I do see the name of the image file in the admin column, but if I edit the record it no longer appears here!
Appreciate you taking the time to help me ??
I’m also struggling with date formats. As mentioned by someone else it defaults to 1970… I’m not entirely sure what format should be used to enter dates (e.g. Month dd, yyyy or dd-mm-yyyy, etc.) but ultimately I want it to output the age – any tips?
TIA Em
Forum: Plugins
In reply to: [Participants Database] [Plugin: Participants Database] Displaying ImagesThe images are in the default folder wp-content/plugins/participants-database/uploads
The problem is after editing the record from here* there’s no way to see which participant uploaded them as they’re removed when you return to the records page*! That’s why I’d like them to show (as a thumbnail?) in [pdb_list] and admin*.
* wp-admin/admin.php?page=participants-database-list_participants
Does this make sense lol?