[cBB Follower 1.0.1] View user notes link don't work.


User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Fri Jul 05, 2013 11:04 am • via Web
MOD: cBB Follower 1.0.1

Error: The view user notes link don't work on follower profile page.

Solution:
1. Open follower.php
2. Find:
Code: Select all
'S_NOTE_COUNT'         => $member['user_comments'],

3. Replace with:
Code: Select all
'S_COMMENT_COUNT'      => $member['user_comments'],

4. Find:
Code: Select all
'U_NOTES'            => "$user_action&mode=wall",

5. Replace with:
Code: Select all
'U_COMMENTS'         => "$user_action&mode=wall",


6. Open styles/{your style}/template/follower/right_side_body.html
7. Find:
Code: Select all
<!-- IF S_SHOW_WALL --><li><a href="{U_NOTES}"><span id="stat-comment-count">{S_NOTE_COUNT}</span><br />{L_COMMENTS}</a></li><!-- ENDIF -->

8. Replace with:
Code: Select all
<!-- IF S_SHOW_WALL --><li><a href="{U_COMMENTS}"><span id="stat-comment-count">{S_COMMENT_COUNT}</span><br />{L_COMMENTS}</a></li><!-- ENDIF -->

9. Clear cache from ACP.

Who is online

Users browsing this forum: No registered users and 0 guests