Activity Stream
48,167 MEMBERS
6819 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1.     
    #1
    Member
    Website's:
    pirateaccess.info

    Default forumhome as column mod

    i need the mod which make forumhome into coulmn as seen in inwarez and in other few forum!
    please help me!
    pirateaccess Reviewed by pirateaccess on . forumhome as column mod i need the mod which make forumhome into coulmn as seen in inwarez and in other few forum! please help me!8-) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    *************** IMGscene.com
    It's pretty hard, and you have to edit many files.
    I'll do for 10$.

    Demo: RSWarez.net
    R.I.P Brother ~~ http://www.youtube.com/watch?v=RjPRBPLL6jI

    I'm a standing soldier.... :/

  4.     
    #3
    Member
    Google:

    xenon forum columns.

    It's easy you just need to edit one template part. Not "many files".

  5.     
    #4
    Member
    Yeah, here is the 'mod':
    Code: 
    http://www.vbulletin.org/forum/showthread.php?t=99829
    I got it working on 3.8.4, so I am sure this will work for you.
    ^^ Make yourself a bag of popcorn and click this picture ^^
    to enjoy watching Rodney Mullen skateboarding!

  6.     
    #5
    (1only)
    Website's:
    BarakaDesigns.com Amodity.com IMGFlare.com
    well if you need the mod download it here I've uploaded to media-fire for you enjoy :
    Forums arranged in columns on forumhome:
    http://www.mediafire.com/download.php?zwuoyy3zoyo

    CEO Of BarakaDesigns.com, Need PSD to vB? Need a Custom skin? Hit me up -Baraka aka 1Only

  7.     
    #6
    Member
    Website's:
    pirateaccess.info
    thanx a lot linkfire, jason and 1only

  8.     
    #7
    Member
    i have got the Forums arranged in columns on forumhome 3.5.0 mod can you help me out plesae

    what do i ahve to do with the files on in the QUOTE?


    // ###################### 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 '';
    }

    // call fetch_last_post_array() first to get last post info for forums
    if (!is_array($lastpostarray))
    {
    fetch_last_post_array();
    }

    if (empty($vbulletin->iforumcache["$parentid"]))
    {
    return;
    }

    if (!defined(MAXFORUMDEPTH))
    {
    define('MAXFORUMDEPTH', 1);
    }

    $forumbits = '';

    $counter = 0;
    foreach ($vbulletin->iforumcache["$parentid"] AS $forumid)
    {
    // grab the appropriate forum from the $vbulletin->forumcache
    $forum = $vbulletin->forumcache["$forumid"];
    $lastpostforum = $vbulletin->forumcache["$lastpostarray[$forumid]"];
    if (!$forum['displayorder'] OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['active']))
    {
    continue;
    }

    $forumperms = $vbulletin->userinfo['forumpermissions']["$forumid"];
    $lastpostforumperms = $vbulletin->userinfo['forumpermissions']["$lastpostarray[$forumid]"];
    if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums'])
    { // no permission to view current forum
    continue;
    }

    if ($subsonly)
    {
    $childforumbits = construct_forum_bit($forum['forumid'], 1, $subsonly);
    }
    else if ($depth < MAXFORUMDEPTH)
    {
    $childforumbits = construct_forum_bit($forum['forumid'], $depth, $subsonly);
    }
    else
    {
    $childforumbits = '';
    }

    // do stuff if we are not doing subscriptions only, or if we ARE doing subscriptions,
    // and the forum has a subscribedforumid
    if (!$subsonly OR ($subsonly AND !empty($forum['subscribeforumid'])))
    {

    $GLOBALS['forumshown'] = true; // say that we have shown at least one forum

    if (($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads']))
    { // get appropriate suffix for template name
    $tempext = '_post';
    }
    else

    {
    $tempext = '_nopost';
    }

    if (!$vbulletin->options['showforumdescription'])
    { // blank forum description if set to not show
    $forum['description'] = '';
    }

    // dates & thread title
    $lastpostinfo = $vbulletin->forumcache["$lastpostarray[$forumid]"];

    // compare last post time for this forum with the last post time specified by
    // the $lastpostarray, and if it's less, use the last post info from the forum
    // specified by $lastpostarray
    if ($vbulletin->forumcache["$lastpostarray[$forumid]"]['lastpost'] > 0)
    {
    if (!($lastpostforumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR (!($lastpostforumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND $lastpostinfo['lastposter'] != $vbulletin->userinfo['username']))
    {
    $forum['lastpostinfo'] = $vbphrase['private'];
    }
    else
    {
    $lastpostinfo['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $lastpostinfo['lastpost'], 1);
    $lastpostinfo['lastposttime'] = vbdate($vbulletin->options['timeformat'], $lastpostinfo['lastpost']);
    $lastpostinfo['trimthread'] = fetch_trimmed_title($lastpostinfo['lastthread']);

    if ($icon = fetch_iconinfo($lastpostinfo['lasticonid']))
    {
    $show['icon'] = true;
    }
    else
    {
    $show['icon'] = false;
    }

    $show['lastpostinfo'] = (!$lastpostforum['password'] OR verify_forum_password($lastpostforum['forumid'], $lastpostforum['password'], false));

    eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
    }
    }
    else if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
    {
    $forum['lastpostinfo'] = $vbphrase['private'];
    }
    else
    {
    $forum['lastpostinfo'] = $vbphrase['never'];
    }

    // do light bulb
    $forum['statusicon'] = fetch_forum_lightbulb($forumid, $lastpostinfo, $forum);

    // add lock to lightbulb if necessary
    if ((!($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew']) OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['allowposting'])) AND $vbulletin->options['showlocks'] AND !$forum['link'])
    {
    $forum['statusicon'] .= '_lock';
    }

    // get counters from the counters cache ( prepared by fetch_last_post_array() )
    $forum['threadcount'] = $counters["$forum[forumid]"]['threadcount'];
    $forum['replycount'] = $counters["$forum[forumid]"]['replycount'];

    // get moderators ( this is why we needed cache_moderators() )
    if ($vbulletin->options['showmoderatorcolumn'])
    {
    $showmods = array();
    $listexploded = explode(',', $forum['parentlist']);
    foreach ($listexploded AS $parentforumid)
    {
    if (!isset($imodcache["$parentforumid"]))
    {
    continue;
    }
    foreach($imodcache["$parentforumid"] AS $moderator)
    {
    if (isset($showmods["$moderator[userid]"]))
    {
    continue;
    }

    ($hook = vBulletinHook::fetch_hook('forumbit_moderator')) ? eval($hook) : false;

    $showmods["$moderator[userid]"] = true;
    if (!isset($forum['moderators']))
    {
    eval('$forum[\'moderators\'] = "' . fetch_template('forumhome_moderator') . '";');
    }
    else
    {
    eval('$forum[\'moderators\'] .= ", ' . fetch_template('forumhome_moderator') . '";');
    }
    }
    }
    if (!isset($forum['moderators']))
    {
    $forum['moderators'] = '';
    }
    }

    if ($forum['link'])
    {
    $forum['replycount'] = '-';
    $forum['threadcount'] = '-';
    $forum['lastpostinfo'] = '-';
    }
    else
    {
    $forum['replycount'] = vb_number_format($forum['replycount']);
    $forum['threadcount'] = vb_number_format($forum['threadcount']);
    }

    if (($subsonly OR $depth == MAXFORUMDEPTH) AND $vbulletin->options['subforumdepth'] > 0)
    {
    $forum['subforums'] = construct_subforum_bit($forumid, ($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads'] ) );
    }
    else
    {
    $forum['subforums'] = '';
    }

    $children = explode(',', $forum['childlist']);
    foreach($children AS $childid)
    {
    $forum['browsers'] += ($inforum["$childid"] ? $inforum["$childid"] : 0);
    }

    if ($depth == 1 AND $tempext == '_nopost')
    {
    global $vbcollapse;
    $collapseobj_forumid =& $vbcollapse["collapseobj_forumbit_$forumid"];
    $collapseimg_forumid =& $vbcollapse["collapseimg_forumbit_$forumid"];
    $show['collapsebutton'] = true;
    }
    else
    {
    $show['collapsebutton'] = false;
    }

    $show['forumsubscription'] = ($subsonly ? true : false);
    $show['forumdescription'] = ($forum['description'] != '' ? true : false);
    $show['subforums'] = ($forum['subforums'] != '' ? true : false);
    $show['browsers'] = ($vbulletin->options['displayloggedin'] AND !$forum['link'] AND $forum['browsers'] ? true : false);

    // build the template for the current forum
    $column_width = intval(100 / $columncount) . '%';
    eval('$column = "' . fetch_template("forumhome_forumbit_columncell") . '";');

    // do the columnstuff
    if ($counter % $columncount == 0)
    {
    // Begin a new row
    $forumbits .= "\t<tr>\n";
    }
    $forumbits .= $column;
    if ($counter % $columncount == $columncount - 1)
    {
    // End row
    $forumbits .= "\t</tr>\n";
    }
    $counter++;
    }
    }

    // prevent unclosed <tr> tags
    if ($counter % $columncount != 0)
    {
    $forumbits .= "\t</tr>\n";
    }

    return $
    forumbits;
    }
    Woman asks: If I sleep with 3 men, everyone calls me a slut.But when a man sleeps with 8 girls, everyone calls him a real man.How come?
    Wiseman replies: 'It's very simple. When one lock can be opened by 3 different keys, it's a bad lock. But when one key can open 8 different locks, we call it a master key'

  9.     
    #8
    Member
    Website's:
    pirateaccess.info
    in which file it has to be added?
    add the code at the end of the file before the php tag!

  10.     
    #9
    Member
    Pirate it will say within the txt file included
    It's amazing, being in a community can cause hate. Competitors or not - DDOS isn't cool :)

  11.     
    #10
    Member
    what exactly do i have to do with this files ????

    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 '';
    }

    // call fetch_last_post_array() first to get last post info for forums
    if (!is_array($lastpostarray))
    {
    fetch_last_post_array();
    }

    if (empty($vbulletin->iforumcache["$parentid"]))
    {
    return;
    }

    if (!defined(MAXFORUMDEPTH))
    {
    define('MAXFORUMDEPTH', 1);
    }

    $forumbits = '';

    $counter = 0;
    foreach ($vbulletin->iforumcache["$parentid"] AS $forumid)
    {
    // grab the appropriate forum from the $vbulletin->forumcache
    $forum = $vbulletin->forumcache["$forumid"];
    $lastpostforum = $vbulletin->forumcache["$lastpostarray[$forumid]"];
    if (!$forum['displayorder'] OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['active']))
    {
    continue;
    }

    $forumperms = $vbulletin->userinfo['forumpermissions']["$forumid"];
    $lastpostforumperms = $vbulletin->userinfo['forumpermissions']["$lastpostarray[$forumid]"];
    if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums'])
    { // no permission to view current forum
    continue;
    }

    if ($subsonly)
    {
    $childforumbits = construct_forum_bit($forum['forumid'], 1, $subsonly);
    }
    else if ($depth < MAXFORUMDEPTH)
    {
    $childforumbits = construct_forum_bit($forum['forumid'], $depth, $subsonly);
    }
    else
    {
    $childforumbits = '';
    }

    // do stuff if we are not doing subscriptions only, or if we ARE doing subscriptions,
    // and the forum has a subscribedforumid
    if (!$subsonly OR ($subsonly AND !empty($forum['subscribeforumid'])))
    {

    $GLOBALS['forumshown'] = true; // say that we have shown at least one forum

    if (($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads']))
    { // get appropriate suffix for template name
    $tempext = '_post';
    }
    else

    {
    $tempext = '_nopost';
    }

    if (!$vbulletin->options['showforumdescription'])
    { // blank forum description if set to not show
    $forum['description'] = '';
    }

    // dates & thread title
    $lastpostinfo = $vbulletin->forumcache["$lastpostarray[$forumid]"];

    // compare last post time for this forum with the last post time specified by
    // the $lastpostarray, and if it's less, use the last post info from the forum
    // specified by $lastpostarray
    if ($vbulletin->forumcache["$lastpostarray[$forumid]"]['lastpost'] > 0)
    {
    if (!($lastpostforumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR (!($lastpostforumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND $lastpostinfo['lastposter'] != $vbulletin->userinfo['username']))
    {
    $forum['lastpostinfo'] = $vbphrase['private'];
    }
    else
    {
    $lastpostinfo['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $lastpostinfo['lastpost'], 1);
    $lastpostinfo['lastposttime'] = vbdate($vbulletin->options['timeformat'], $lastpostinfo['lastpost']);
    $lastpostinfo['trimthread'] = fetch_trimmed_title($lastpostinfo['lastthread']);

    if ($icon = fetch_iconinfo($lastpostinfo['lasticonid']))
    {
    $show['icon'] = true;
    }
    else
    {
    $show['icon'] = false;
    }

    $show['lastpostinfo'] = (!$lastpostforum['password'] OR verify_forum_password($lastpostforum['forumid'], $lastpostforum['password'], false));

    eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
    }
    }
    else if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
    {
    $forum['lastpostinfo'] = $vbphrase['private'];
    }
    else
    {
    $forum['lastpostinfo'] = $vbphrase['never'];
    }

    // do light bulb
    $forum['statusicon'] = fetch_forum_lightbulb($forumid, $lastpostinfo, $forum);

    // add lock to lightbulb if necessary
    if ((!($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew']) OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['allowposting'])) AND $vbulletin->options['showlocks'] AND !$forum['link'])
    {
    $forum['statusicon'] .= '_lock';
    }

    // get counters from the counters cache ( prepared by fetch_last_post_array() )
    $forum['threadcount'] = $counters["$forum[forumid]"]['threadcount'];
    $forum['replycount'] = $counters["$forum[forumid]"]['replycount'];

    // get moderators ( this is why we needed cache_moderators() )
    if ($vbulletin->options['showmoderatorcolumn'])
    {
    $showmods = array();
    $listexploded = explode(',', $forum['parentlist']);
    foreach ($listexploded AS $parentforumid)
    {
    if (!isset($imodcache["$parentforumid"]))
    {
    continue;
    }
    foreach($imodcache["$parentforumid"] AS $moderator)
    {
    if (isset($showmods["$moderator[userid]"]))
    {
    continue;
    }

    ($hook = vBulletinHook::fetch_hook('forumbit_moderator')) ? eval($hook) : false;

    $showmods["$moderator[userid]"] = true;
    if (!isset($forum['moderators']))
    {
    eval('$forum[\'moderators\'] = "' . fetch_template('forumhome_moderator') . '";');
    }
    else
    {
    eval('$forum[\'moderators\'] .= ", ' . fetch_template('forumhome_moderator') . '";');
    }
    }
    }
    if (!isset($forum['moderators']))
    {
    $forum['moderators'] = '';
    }
    }

    if ($forum['link'])
    {
    $forum['replycount'] = '-';
    $forum['threadcount'] = '-';
    $forum['lastpostinfo'] = '-';
    }
    else
    {
    $forum['replycount'] = vb_number_format($forum['replycount']);
    $forum['threadcount'] = vb_number_format($forum['threadcount']);
    }

    if (($subsonly OR $depth == MAXFORUMDEPTH) AND $vbulletin->options['subforumdepth'] > 0)
    {
    $forum['subforums'] = construct_subforum_bit($forumid, ($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads'] ) );
    }
    else
    {
    $forum['subforums'] = '';
    }

    $children = explode(',', $forum['childlist']);
    foreach($children AS $childid)
    {
    $forum['browsers'] += ($inforum["$childid"] ? $inforum["$childid"] : 0);
    }

    if ($depth == 1 AND $tempext == '_nopost')
    {
    global $vbcollapse;
    $collapseobj_forumid =& $vbcollapse["collapseobj_forumbit_$forumid"];
    $collapseimg_forumid =& $vbcollapse["collapseimg_forumbit_$forumid"];
    $show['collapsebutton'] = true;
    }
    else
    {
    $show['collapsebutton'] = false;
    }

    $show['forumsubscription'] = ($subsonly ? true : false);
    $show['forumdescription'] = ($forum['description'] != '' ? true : false);
    $show['subforums'] = ($forum['subforums'] != '' ? true : false);
    $show['browsers'] = ($vbulletin->options['displayloggedin'] AND !$forum['link'] AND $forum['browsers'] ? true : false);

    // build the template for the current forum
    $column_width = intval(100 / $columncount) . '%';
    eval('$column = "' . fetch_template("forumhome_forumbit_columncell") . '";');

    // do the columnstuff
    if ($counter % $columncount == 0)
    {
    // Begin a new row
    $forumbits .= "\t<tr>\n";
    }
    $forumbits .= $column;
    if ($counter % $columncount == $columncount - 1)
    {
    // End row
    $forumbits .= "\t</tr>\n";
    }
    $counter++;
    }
    }

    // prevent unclosed <tr> tags
    if ($counter % $columncount != 0)
    {
    $forumbits .= "\t</tr>\n";
    }

    return $forumbits;
    }
    Woman asks: If I sleep with 3 men, everyone calls me a slut.But when a man sleeps with 8 girls, everyone calls him a real man.How come?
    Wiseman replies: 'It's very simple. When one lock can be opened by 3 different keys, it's a bad lock. But when one key can open 8 different locks, we call it a master key'

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ForumHome New Thread hover 'bug.'
    By Exel in forum Feedback and Suggestions
    Replies: 6
    Last Post: 3rd May 2012, 07:03 AM
  2. lastpost forumhome help
    By chems in forum vBulletin
    Replies: 1
    Last Post: 10th Sep 2011, 12:21 AM
  3. how to hide last post from guest in forumhome
    By onel0ve in forum vBulletin
    Replies: 0
    Last Post: 22nd Mar 2011, 04:08 AM
  4. How can use this Forumhome?
    By devio in forum vBulletin
    Replies: 3
    Last Post: 6th Mar 2011, 01:38 AM
  5. How to delete this from forumhome?
    By Kedzi in forum vBulletin
    Replies: 4
    Last Post: 10th Jan 2011, 08:19 PM

Tags for this Thread

BE SOCIAL