The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#32
|
||||
|
||||
Here's a few changes to cache the template and also stop the plugin running when the mod is disabled. This saves 5 queries on forumhome when you've disabled the mod in the options.
This is the changed forumhome_start plugin: PHP Code:
And a new plugin to cache the template (hook: cache_templates) PHP Code:
And to remove invite-only groups from the list: In the forumhome_start plugin, change: PHP Code:
PHP Code:
|
#33
|
|||
|
|||
isit possible to make it so when the group leader creates a group forum it will go into a sub section on my main forum called "group forums"
|
#34
|
|||
|
|||
How about showing Random, Popular, Joined, etc... Social Groups?
How about in a Sidebar? |
#35
|
|||
|
|||
This is exactly what my users were requesting, but we have so many groups, I have to limit how many appear. It would be really useful if I could do something like the 10 most recently active groups. For the moment I'm using the random setting, but I know people will be asking for the group with the most recent post to be at the top of the list.
|
#36
|
|||
|
|||
Will this be available for 3.8?
|
#37
|
|||
|
|||
Quote:
Nevertheless thanks for this hack :up: |
#38
|
||||
|
||||
It doesn't work for 3.8.0
After upgrade it gave me MySQL error. Probably some tables are different from previows version 3.7 to 3.8 I hope someone Twilkey can upgrade this mod to 3.8 or someone here can find a solution for. Edit: Found a solution ! You're trying to use this on 3.8.0 the file attached can solve the problem of MySQL errors. As I suspected one table has been changed on for 3.8.0. Do not install this file if you are running later versions than 3.8.0 Just import the product through your admin control panel allowing orverwrite. Template edits remains the same as first post. Enjoy. |
#39
|
||||
|
||||
Thanks for the update Leo, just upgraded to 3.8.1 and I was cursing the loss of my social groups on the forum home page. Upgraded and now works just fine! Thanks again!
|
#40
|
||||
|
||||
Quote:
|
#41
|
|||
|
|||
This looks promising, but I am not seeing anything on the Demo page that shows me what this does?
http://features.gamingtv.us/forum/index.php Does anyone have it working on 3.8.1 that I can see? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|