shicedreck
New Member
This product puts all UserCP informations (new subscribed threads, friend requests ...) on FORUMHOME without any style changes. The code is completely from jelsoft, therefore I do not want to publish this code here as "my code". If moderators agree, I will upload my product so you can easily install it. Here is what you have to do to do it on your own:
1. Open usercp.php in an editor.
2. Change
to
# . Same for $specialtemplates, $globaltemplates and $actiontemplates.
# Delete everything between
and
4. Copy everything from
to
5. (optional) Put this code before the last line:
6. Create new plugin on hook "forumhome_start" called "USERCP information on FORUMHOME".
7. Put this code inside:
8. done
1. Open usercp.php in an editor.
2. Change
Code:
$phrasegroups
Code:
$phrasegroups[]
# Delete everything between
Code:
// ############################### start subscribed forums ###############################
Code:
// ############################### start new subscribed to threads ##############################
Code:
// ################### PRE-CACHE TEMPLATES AND DATA ######################
Code:
($hook = vBulletinHook::fetch_hook('usercp_complete')) ? eval($hook) : false;
Code:
if(!$show['threads'])
{
$template_hook[usercp_main_pos2] .= '<div style="display:none">';
$template_hook[usercp_main_pos3] .= '</div>';
}
7. Put this code inside:
Code:
if($show['member'])
{
Here comes the copied code from #4
$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar'.fetch_template('USERCP'),$vbulletin->templatecache['FORUMHOME']);
}