XF 2.2 How running "XenCentral Feedback" in the "Classifieds" add-ons ?

Status
Not open for further replies.

pvpers

Member
Hello everyone. This is my first post, I hope someone can give me the answer I'm looking for.
I added buttons to view feedback and submit feedback score.
But I can't show the feedback numbers the member received.

---

By the way, how can I show this plugin to visitors? The plugin page is only open to members.

Code:
<a href="{{ link ( 'feedback', $listing.User) }}" class=""><span>{{ phrase ('xcfs_view_feedback_profile') }}</span></a>
                <br><a href="{{ link ( 'feedback/add-feedback', $listing.User, {'noRedirect':1, 'threadId':$feedback.threadId}) }}" class="userTitle" <xf:if is="$xf.options.xcfs_use_overlay">data-xf-click="overlay"</xf:if> ><span>{{ phrase ('xcfs_add_feedback') }}</span></a>                
                <dl class="pairs pairs--justified fauxBlockLink feedbackStats">
                <dt>{{ phrase ('xcfs_feedback') }}</dt>
                <dd>
                <xf:css src="xcfs_visitor_panel_stats.css" />
                <span class="Positive">
                {$feedback.user.fb_positive|number}
                </span>
                /
                <span class="Negative">
                {$feedback.user.fb_negative|number}
                </span>
                /
                <span class="Neutral">
                {$feedback.user.fb_neutral|number}
                </span>
                </dd>
                </dl>

All codes in the template(add-on) are attached.
 

Attachments

Status
Not open for further replies.
Back
Top Bottom