I'm trying to find a way to show a simple entry count for the logged in member, which is limited by channel. I would be using this in a conditional to change the action of a link depending on how many entries they've posted to that channel. Something like this:
{if member_group == '8' && {MY_ENTRY_COUNT channel="directory"} > 1}{/if}
The only plugin I can find is this one: https://github.com/websecret/number_member_entries
But it doesn't work right to limit by channel - looks like its channels parameter is setup to list channel ID's instead of short names, but I don't think channels even have IDs.
If it makes any difference I'm using Solspace User, but that only appears to have a simple entry_count variable that can't be limited by channel.
Anyone know how else to get a count like this that could be used in an advanced conditional?