I cant get it to work, i get this message:
Quote:
|
Parse error: syntax error, unexpected '<' in /home/***/public_html/forum/includes/functions_forumlist.php on line 440
|
It says this:
Quote:
then add this new function to the file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ###################### Start construct_forum_columns #######################
function construct_forum_columns($parentid, $columncount)
{
global $vbulletin, $stylevar, $vbphrase, $show;
global $imodcache, $lastpostarray, $counters, $inforum;
// this function takes the constant MAXFORUMDEPTH as its guide for how
// deep to recurse down forum lists. if MAXFORUMDEPTH is not defined,
// it will assume a depth of 2.
if ($columncount == 0)
{
// 0 Columns means don't show subforums at all
return '';
}
yadayadayada
|
But what do you think he means by
then add this new function to the file:? I put this code at the end but now i get that error so i had to revert it.
Link to the hack:
Forums arranged in columns on forumhome - vBulletin.org Forum