I am looking to make a couple small changes to the jrFollower module.
#1. When looking at modules/jrFollower/templates/button_following.tpl
What would be the proper {if} statement to determine if user_following AND user_follow_back? I would like the button to show "friends" if it meets this criteria.
#2. I also have a small piece of code from CometChat that I would like to add so that a [Message] button appears next to the [Friends] button when this same "mutual follow" criteria is met. The message button needs to trigger some code like this
<a href="javascript:void(0)" onclick="javascript:jqcc.cometchat.chatWith({$profile_name});">Message</a>
Any ideas?
--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
updated by @the-patria-company: 06/03/16 10:53:46AM