Back to vBulletin 3.7 Add-ons

Social Group Forum List
Mod Version: 2.1, by Twilkey

This modification is in the archives.
vB Version: 3.7.2 Rating: (5 votes - 4.80 average) Installs: 41
Released: 28 Aug 2008 Last Update: 02 Sep 2008 Downloads: 177
Not Supported Uses Plugins Template Edits  

This is a more enriched version of this mod that I made.


If you have Version 1.0 of this mod installed, please uninstall it and run through these instructions again, as I have fixed a couple crucial bugs and added some more settings.


Description:
This mod lists all your Social Groups in a table on the forum home, which makes it look like more forums.

Instructions:

First Import the product.
Second Edit your FORUMHOME template.
If you want the table to show above the forums,
Find:
Code:
<!-- / guest welcome message -->
<br />
</if>
Add Below:
Code:
<if condition="$vboptions[sgfl_enable] == 1">
<form action="group.php?$session[sessionurl]do=grouplist" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
    <td class="tcat" width="100%" colspan="5">
        <div style="float:$stylevar[right]" class="normal">$vbphrase[search_groups] <input type="text" class="bginput" name="filtertext" value="$filters[text]" style="font-size: 11px;" />&nbsp;<input type="submit" class="button" value="$vbphrase[go]" /></div>
        $vboptions[sgfl_st]
    </td>
</tr>
    <tr>
        <td class="thead" width="100%">
<if condition="$vboptions[sgfl_createdate] == 1">
<span style="float:$stylevar[right]">$vbphrase[sgfl_group_created]</span>
</if>
            $vbphrase[sgfl_group_name]</td>
<if condition="$vboptions[sgfl_membercount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[sgfl_group_members]
        </td>
</if>
<if condition="$vboptions[sgfl_messagecount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[messages]
        </td>
</if>
<if condition="$vboptions[sgfl_piccount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[sgfl_pictures]
        </td>
</if>
<if condition="$vboptions[sgfl_last_post] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[last_post]
        </td>
</if>
    </tr>
    $sgforumlist
<tr>
    <td colspan="5" align="center" class="tfoot smallfont">
        <if condition="$show['creategroup']">
            <strong><a href="group.php?$session[sessionurl]do=create">$vbphrase[sgfl_create_a_new_group]</a></strong> &nbsp;
        </if>
        &nbsp; <strong><a href="group.php?$session[sessionurl]do=search">$vbphrase[sgfl_search_groups]</a></strong>
    </td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="dofilter" value="1" />
</form>
</if>


If you want the table to show under the forums,

Find:
Code:
$forumhome_markread_script
<!-- /main -->
<br />
Add Below:
Code:
<if condition="$vboptions[sgfl_enable] == 1">
<form action="group.php?$session[sessionurl]do=grouplist" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
    <td class="tcat" width="100%" colspan="5">
        <div style="float:$stylevar[right]" class="normal">$vbphrase[search_groups] <input type="text" class="bginput" name="filtertext" value="$filters[text]" style="font-size: 11px;" />&nbsp;<input type="submit" class="button" value="$vbphrase[go]" /></div>
        $vboptions[sgfl_st]
    </td>
</tr>
    <tr>
        <td class="thead" width="100%">
<if condition="$vboptions[sgfl_createdate] == 1">
<span style="float:$stylevar[right]">$vbphrase[sgfl_group_created]</span>
</if>
            $vbphrase[sgfl_group_name]</td>
<if condition="$vboptions[sgfl_membercount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[sgfl_group_members]
        </td>
</if>
<if condition="$vboptions[sgfl_messagecount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[messages]
        </td>
</if>
<if condition="$vboptions[sgfl_piccount] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[sgfl_pictures]
        </td>
</if>
<if condition="$vboptions[sgfl_last_post] == 1">
        <td class="thead" align="center" nowrap="nowrap">
            $vbphrase[last_post]
        </td>
</if>
    </tr>
    $sgforumlist
<tr>
    <td colspan="5" align="center" class="tfoot smallfont">
        <if condition="$show['creategroup']">
            <strong><a href="group.php?$session[sessionurl]do=create">$vbphrase[sgfl_create_a_new_group]</a></strong> &nbsp;
        </if>
        &nbsp; <strong><a href="group.php?$session[sessionurl]do=search">$vbphrase[sgfl_search_groups]</a></strong>
    </td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="dofilter" value="1" />
</form>
</if>
Now, by default this mod is disabled. So go into your settings and enable it, and Pick the Title of the Section you would like.

http://features.gamingtv.us/forum/index.php
_____________________________

Version FAQ

Version 1
  1. Initial Release
Version 2
  1. Fixed Member Count Bug
  2. Fixed Latest Post Bug
  3. Added Ability to Limit Groups Listed
  4. Allow Random Groups to Display (Limit must be greater then 0 for this to work.)
  5. Allow admin to show or not show any of the info.
Version 2.1
  1. Added if statement to disable the table on the forumhome if the mod is disabled.
  2. Fixed the class for the last post box.
  3. Fixed special characters problem.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-sgfl.xml (9.7 KB, 140 downloads)

Screenshots

Click image for larger version
Name:	5.jpg
Views:	471
Size:	74.5 KB
ID:	86226   Click image for larger version
Name:	4.jpg
Views:	905
Size:	23.6 KB
ID:	86227   Click image for larger version
Name:	3.jpg
Views:	618
Size:	23.8 KB
ID:	86228   Click image for larger version
Name:	2.jpg
Views:	449
Size:	21.2 KB
ID:	86229  

Click image for larger version
Name:	1.jpg
Views:	605
Size:	25.2 KB
ID:	86230  

Similar Mods

Forum Home Enhancements Social Group List vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024