Support forums

Please check @brandnewbox_uk for support status updates.

Search     Advanced Search
Hooks?  
Posted: 05 April 2011 03:45 PM —  
Newbie
Rank
Total Posts:  4
Joined  2011-04-03

Do you have a list of hooks/options for followers?  I’m using Followers along with Solspace’s User and I would like to show a follow button for the user id in segment 3, and the user that created a weblog, again by user id or username.  I’ve played around with it for a few hours but couldn’t get the follow button to show for just 1 person.  Any help would be great!! Thanks.

-Anthony

Profile
 
Posted: 05 April 2011 07:34 PM —   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1357
Joined  2006-04-12

You might find that you need to put some of the code into {embed}‘s - the order that EE parses the tags can sometimes cause problems.

If you’d like to send some example code I’d be happy to take a look.

Andrew

Profile
 
Posted: 06 April 2011 07:02 PM —   [ # 2 ]  
Newbie
Rank
Total Posts:  4
Joined  2011-04-03

By hooks I mean the parameters that can be used with this mod.  Here is the code I’m using.  Here is where my code is located.

http://website/user/page/1/

This is the code that is used in an embed:

{exp:ajw_followers:display member_id="{segment_3}” limit=“1”}
  <ul class=“follow”>
  {members}
      <li>
        {screen_name} {simple_follow}
      </li>
  {/members}
  </ul>
{/exp:ajw_followers:display}

I believe that should work, but not yet.  If I use your default code “show=all” it does show me all users.  Any suggestion?

-Anthony

Profile
 

‹‹ Followers Not Working      Follower Email Updates ››

Select A Theme