This is a hack for the latest forum posts as generated by gjforum_unzip1st_v1.3 developed by Braineater. Originally, latest forum posts appear in every page whenever showgroup and showgroup mini are shown. This hack will show only the latest forum posts in the main group just below the latest bulletin.
**********************************************************************
IMPORTANT!!!!
Please back-up first your files before proceeding with the following hacks. In no event will I be liable for any loss or damage in connection with the use of this hack.
**********************************************************************
Locate and open the file fireboard.php from the folder plug_gjfireboardextended
component/com_comprofiler/plugin/user/plug_gjfireboardextended/fireboard.php
Locate and comment-out (or add /* */) "function getLatestPosts" from lines 139 to 218
Save fireboard.php
Open the file groupjive_func.inc from the folder com_groupjive
Locate function main_page
Copy and paste the following code just after the EVENTLIST if condition:
| Code: |
if(file_exists('components/com_kunena') && KUNENA){
$user=& JFactory::getUser();
if ($user->guest) {
echo '';
} else {
$content .= '<div id="columnSmall4">';
$content .= latestForumPosts( $row );
$content .= '<div style="clear:both"></div>';
$content .= '</div>';
}
}
|
Copy and paste the following code (from Braineater's gjforum_unzip1st_v1.3) just after the last function (checkImage):
| Code: |
EDIT:
Code deleted due to parse error. Download the file below instead.
|
Edit groupjive_css.css then add your preferred styles.
Save your files then reload your browser.
Teng