The Arcive of vBulletin Modifications Site. |
|
Social Group Forum List Details »»
|
|||||||||||||||||||||||||
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>
LIVE DEMO _____________________________ Version FAQ Version 1
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Installed. If you can add the message from social group to the notification bar like the profile one?
|
|
#3
|
|||
|
|||
|
Twilkey... you are the bomb brother... absolutely on the money. Thank you! Excellent!
INSTALLED!!! Do you take donations? |
|
#4
|
||||
|
||||
|
I do and your welcome.
|
|
#5
|
|||
|
|||
|
Cool, is there anyway to limit how many show up? and is there a way to set if it shows the latest ones with replies, the latest created, etc.
|
|
#6
|
|||
|
|||
|
Very nice - one problem though: It lists all my social groups as having only one member! regardless of how many members it actually has and regardless of whether the group is public or private.
I fiddled with the code a bit, but was unable to get it to work. How can I correct this? |
|
#7
|
||||
|
||||
|
limit would be nice
and the latest x pics shown as thumbnails... and perhaps... only the groups youre in... and... ahm... cool work! thx...
|
|
#8
|
|||
|
|||
|
nice idea
|
|
#9
|
||||
|
||||
|
The number of member dont work. It remains writer always 1.
I have 24 social group, How can I make occupant except for space? Thanks |
|
#10
|
||||
|
||||
|
Sorry about the members count. I will fix that and release it when I release my next version.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|