[#1 cBB Folower Beta] Full profile wall


User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Sun Apr 01, 2012 3:10 pm • via Web
MOD: cBB Follower 1.0.0 [Beta]

Error: Although the MOD sets the user link to the wall by selecting the "default profile" in the ACP, to enter directly into the file "memberlist.php" not set this preference.

Solution:
1. Open "memberlist.php".
2. Find:
Code: Select all
$user_id = (int) $member['user_id'];

3. Add after:
Code: Select all
      // Begin cBB Follower
      if(!empty($follower->default_profile))
      {
         redirect($follower->u_action . "u=$user_id&mode=wall");
      }
      // End cBB Follower

Who is online

Users browsing this forum: No registered users and 0 guests