Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Social Group Forum List Details »»
Social Group Forum List
Version: 2.1, by Twilkey Twilkey is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.2 Rating:
Released: 08-26-2008 Last Update: 09-01-2008 Installs: 41
Uses Plugins Template Edits
 
No support by the author.

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.

LIVE DEMO
_____________________________

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-29-2008, 05:57 AM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this... will be installing soon
Reply With Quote
  #13  
Old 08-29-2008, 06:54 AM
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Guys. I have fixed the bugs in this mod and added some more features.
If you are running 1.0, please go through the instructions again, replacing all that you did before.
Reply With Quote
  #14  
Old 08-29-2008, 09:50 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please change the setting "Section Title" into a phrase?
Otherwise the addon cannot be used on multilanguage boards.
Reply With Quote
  #15  
Old 08-29-2008, 10:20 AM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod ! ** installs **

Just a few items:

Mod was turned off but showed up on Forum Home anyway (if that is correct then never mind).

Second, I only have a few members in the few groups but mod is showing three times the number of members for one group ??

and finally, any way to make it's box collapsible? That would be great.

Anyway, as I said nice work! Thanks.
Reply With Quote
  #16  
Old 08-29-2008, 01:53 PM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the updates... excellent!
Reply With Quote
  #17  
Old 08-29-2008, 03:27 PM
snake-boy snake-boy is offline
 
Join Date: Jul 2004
Location: Bangkok
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Member count now works.

However:
  • Even if disabled in admin, it still shows on the forum.
  • Also, if I enable image count, nothing changes. I see no info about available images in any of my groups.
  • If "Show Date" is disabled, the heading "Created" still appears on the table.
  • It also ignores my style background color on the "last post" column (gives black bg). All other columns work fine, as it does in the default style.

See attached.
Reply With Quote
  #18  
Old 08-31-2008, 04:43 PM
SuperDave71 SuperDave71 is offline
 
Join Date: Aug 2007
Location: Memphis
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Great!
Reply With Quote
  #19  
Old 09-01-2008, 07:46 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Leo Brazil clicked installed !!

Just Awesome !!
Reply With Quote
  #20  
Old 09-01-2008, 08:04 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have a live demo?
I see the screenshots, but demo's are always better
Reply With Quote
  #21  
Old 09-02-2008, 05:11 AM
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
Does anyone have a live demo?
I see the screenshots, but demo's are always better
http://features.gamingtv.us/forum/index.php
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05339 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete