• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Split ForumHome Page into Multiple Pages

Digital Doctor

Well-known member
#2

Peggy

Well-known member
#3
This is only my opinion, mind you, but that looks awful, with part of the side bar down beneath the forums.
 

Digital Doctor

Well-known member
#5
This is only my opinion, mind you, but that looks awful, with part of the side bar down beneath the forums.
Members online now, Forum statistics are very seldomly used.
Their rarely used status does not warrant their prominent placement on ForumHome.
I put them at the bottom of the page just to emphasize they don't have to be eliminated entirely.
But if you insist ... eliminate them !!
Surely someone wanting to know Online Members (a rare occurance) could easily and intuitively click the Members tab.
 

Peggy

Well-known member
#6
Members online now, Forum statistics are very seldomly used.
Their rarely used status does not warrant their prominent placement on ForumHome.
I put them at the bottom of the page just to emphasize they don't have to be eliminated entirely.
But if you insist ... eliminate them !!
Surely someone wanting to know Online Members (a rare occurance) could easily and intuitively click the Members tab.
Yeah that's what I was thinking. If they're so seldom used, I'd just eliminate them, rather than put them at the bottom.
 

Wired

Active member
#7
Slap the seldom used stuff into collapsible boxes (to the side or down). That example pic is too randomly chopped up to make a decision based upon it.
 

ToDie4

Well-known member
#8
Allow you to take some forums off your Forum Home page and display them on a second instance of the forumhome page.

We have too many forums/subforums & we have split them into page as per category; will be glad if someone can code something similar to below.

http://www.vbulletin.org/forum/showthread.php?t=92201
I was just going to post the very same request, I've spent so many hours looking through Amy's code and trying to figure out how to make it work for XenForo but I am basically clueless.
Definitely a +1 for this if anyone can do it please.

If you need the contents of the xml it's below (the mod was just the xml, no edits or other files).
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="amykhar_01262006" active="1">
    <title>Split Forumhome</title>
    <description>Split the forums list into multiple pages</description>
    <version>1.5</version>
    <codes>
        <code version="1.5">
            <installcode><![CDATA[$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD page tinyint(4) DEFAULT '1' NOT NULL");
build_forum_permissions();
$db->show_errors();]]></installcode>
            <uninstallcode><![CDATA[$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP page");]]></uninstallcode>
        </code>
    </codes>
    <templates>
    </templates>
    <plugins>
        <plugin active="1">
            <title>Split Forumhome</title>
            <hookname>forumadmin_edit_form</hookname>
            <phpcode><![CDATA[print_input_row("Page", 'forum[page]', $forum['page']);]]></phpcode>
        </plugin>
        <plugin active="1">
            <title>Split Forumhome</title>
            <hookname>forumbit_display</hookname>
            <phpcode><![CDATA[if(THIS_SCRIPT == 'index')
{
global $page;
if($forum['page'] != $page)
{
    $tempext = '';
}
}]]></phpcode>
        </plugin>
        <plugin active="1">
            <title>Split Forum Home</title>
            <hookname>forumdata_start</hookname>
            <phpcode><![CDATA[$this->validfields['page'] = array(TYPE_UINT,REQ_NO);]]></phpcode>
        </plugin>
        <plugin active="1">
            <title>Forumhome Split</title>
            <hookname>forumhome_start</hookname>
            <phpcode><![CDATA[if (empty($_GET[page]))
{
    // We are on Page 1.
    $_GET[page] = 1;
    $page = $_GET[page];
}
else
{
    $page = $_GET[page];
}]]></phpcode>
        </plugin>
        <plugin active="1">
            <title>Forumhome Split</title>
            <hookname>forumhome_start</hookname>
            <phpcode><![CDATA[if (empty($_GET[page]))
{
    // We are on Page 1.
    $_GET[page] = 1;
    $page = $_GET[page];
}
else
{
    $page = $_GET[page];
}]]></phpcode>
        </plugin>
        <plugin active="1">
            <title>Forumhome Split</title>
            <hookname>forumhome_start</hookname>
            <phpcode><![CDATA[if (empty($_GET[page]))
{
    // We are on Page 1.
    $_GET[page] = 1;
    $page = $_GET[page];
}
else
{
    $page = $_GET[page];
}]]></phpcode>
        </plugin>
        <plugin active="0">
            <title>Forumhome Split</title>
            <hookname>forumhome_start</hookname>
            <phpcode><![CDATA[if (empty($_GET[page]))
{
    // We are on Page 1.
    $_GET[page] = 1;
    $page = $_GET[page];
}
else
{
    $page = $_GET[page];
}]]></phpcode>
        </plugin>
    </plugins>
    <phrases>
    </phrases>
    <options>
    </options>
</product>