Users Posts number does not reflect Users number of Event posts submitted?
This topic contains 15 replies, has 4 voices, and was last updated by Romeo Crow 7 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 4, 2018 at 12:00 am #441155
I just had a user add an event > https://cl.ly/2m1A0r1i1D3A
But on their User profile it shows them as 0 Posts > https://cl.ly/3P1K1z0o0a0Y
Should that update? Or is it not linked?
(because it would be really handy to be able to see, for example, which User / Subscriber has posted the most events, etc)
August 4, 2018 at 12:10 am #441156An Event listing is not a WP “post”, but a special type of WP custom post. So it will not show there.
ThanksYou may be interested in adding UsersWP to your site: https://userswp.io/
Then your users will have a profile page where you can see their comments etc, see this example here: https://wpgeo.directory/docs/profile/docs/listings/Thanks
August 5, 2018 at 2:20 pm #441285Thanks. How does that work with BuddyPress / GD BuddyPress integration?
August 5, 2018 at 2:31 pm #441286UsersWP is a replacement for BuddyPress and fully integrates with GeoDirectory.
ThanksAugust 5, 2018 at 4:38 pm #441290Just installed and deactivated BuddyPress. A few bugs (GeoDirectory tabs don’t appear on UsersWP Profiles) but I prefer it. Looking forward to working with it as it grows 🙂 Thanks for the headsup!
August 5, 2018 at 4:41 pm #441293A fix for the tabs will be out next week in an update to UsersWP.
If it doesn’t work after update file a request here:
August 5, 2018 at 4:48 pm #441295Fantastic! Thanks for the rapid response 🙂
August 5, 2018 at 6:45 pm #441300Further to this; I’ve found a great free WordPress plugin called Admin Columns (https://en-gb.wordpress.org/plugins/codepress-admin-columns/)
It enables me to add columns to my admin back-end Users dashboard.
For example, I’ve added GD RSVP and Favourite counts > https://cl.ly/3d2c2s01062H
To do that, I used a Custom Field option in the Admin Columnns plugin and searched through the available options, picking “event_rsvp_yes” and “event+rsvp_maybe” for the RSVPs (I’d changed their labels via the translations’ .po files using Poedit) and “gd_user_favourite_post” for the Favourite post.
I then set the “Field Type” in the Admin Columnns plugin to “Number of Fields”, which seems to give a sum total output (i.e. a total count of events favourited, for example)
However, I’ve not found a Field that corresponds to GD event listings; do you know what it might be?
As this would be a great way to add that info (Number of Listings put up) in the native WordPress Dashboard > User admin area.
August 6, 2018 at 11:50 am #441353Hello,
I have flagged your question for the developers, ie:
Which table indicates author of an event listing?
August 6, 2018 at 11:52 am #441355This reply has been marked as private.August 6, 2018 at 2:46 pm #441380This reply has been marked as private.August 6, 2018 at 5:02 pm #441398This reply has been marked as private.August 6, 2018 at 5:43 pm #441412This reply has been marked as private.August 6, 2018 at 6:48 pm #441423This reply has been marked as private.August 7, 2018 at 9:15 am #441502Hi Romeo,
We display the events count by calculating it in a function. We don’t save it in users meta so it will be not possible to display it in the user column. You can ask their support team if they can output the value returned from the function in a code or if any customization possible.
Let me know if you have any queries.
Regards,
Patrik -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket