I’m trying to use the Blogger Listing plugin but am having trouble getting it to work. I’m starting out using the most basic setup possible just to get it working:
{exp:bloggers weblog="main"}
<span class="highlight">{screen_name}</span>
{interests}
{/exp:bloggers}
By my reading, this is all I need to get a list of names and interest blurbs, but I’m not getting any output at all. Any plain text I enter inside the {exp:bloggers} tags is not displayed, which suggests the plugin isn’t firing at all.
I’m trying this on a development site with two authors, both in the Super Admin group, only one of which has posts at this time, if this makes any difference.
Thanks.
That plugin’s not gonna work in its current state. To fix it, open the file and about line 116 find the passage
// More of the query
$sql .= " FROM exp_members WHERE weblog_id = ".$weblog." AND ";
and change that into
// More of the query
$sql .= " FROM exp_members WHERE ";
Also note that if you don’t specify the grp_ids=”“-parameter the plugin defaults to “1|6”.
No responsibility is taken for the correctness of this information, since I’m not associated to this plugin or its author 😉
Excellent, thank you. This fixes it.
Now that it’s working, I discovered that it does not support all the profile fields. Adding new ones is as easy as adding the field names in the $fields array beginning around line 22. I added ‘bio’ and ‘username’ this way and they just work.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.