|
Social Group Forum List
This modification is in the archives.
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> 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;" /> <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>
</if>
<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 /> 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;" /> <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>
</if>
<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>
http://features.gamingtv.us/forum/index.php _____________________________ Version FAQ Version 1
Download
This modification is archived, downloads are still allowed. Screenshots |
|||||||||
Similar Mods
| Forum Home Enhancements Social Group List | vBulletin 3.7 Add-ons |