[cBB Blockgets 1.0.2] Invalid Ranks in memberlist page


User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Sat Nov 03, 2012 12:08 pm • via Web
Mod: cBB Blockgets 1.0.2

Error: Show invalid rank in memberlist.php if login block is present.

Solution:
1. Open /blockgets/block/login_block.php
2. Find:
Code: Select all
         'RANK_TITLE'         => $rank_title,
         'RANK_IMG'            => $rank_image,
         'RANK_IMG_SRC'         => $rank_image_src,

3. Replace with:
Code: Select all
         'USER_RANK_TITLE'      => $rank_title,
         'USER_RANK_IMG'         => $rank_image,

4. Open /styles/{your style}/template/blockgets/block/login_block.html
5. Find:
Code: Select all
<!-- IF RANK_IMG --><tr><td class="center"><br />{RANK_TITLE}<br />{RANK_IMG}</td></tr><!-- ENDIF -->

6. Replace with:
Code: Select all
<!-- IF USER_RANK_IMG --><tr><td class="center"><br />{USER_RANK_TITLE}<br />{USER_RANK_IMG}</td></tr><!-- ENDIF -->

7. Clear cache

This problem will be fixed in cBB Blockgets 1.0.3

Who is online

Users browsing this forum: No registered users and 0 guests