vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Social Group List (https://vborg.vbsupport.ru/showthread.php?t=189244)

Twilkey 08-26-2008 10:00 PM

Social Group List
 
I decided to make this mod when I seen that someone wanted it in one of the forums.

If you would like a more detailed and enriched list on your Forumhome, then try another one of my mods.

What this does is, It adds a box to the Whats Going On table that lists the social groups.

You can
Enable/Disable the mod
Enable/Disable the total number of groups.

Installation:
Import the product.
Edit the FORUMHOME Template.

Find:
Code:

</table>
<br />
<!-- end what's going on box -->

Add Above:
Code:

<if condition="$vboptions['sglist_enable'] == 1">
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_sglist')"><img id="collapseimg_forumhome_sglist" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            $vbphrase[sglist] <if condition="$vboptions['sglist_enable_count'] == 1">($countsocialgroup)</if>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_sglist" style="$vbcollapse[collapseobj_forumhome_sglist]">
    <tr>
        <td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Social Group List" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
              $sg_list
            </div>

        </td>
    </tr>
</tbody>
</if>


cdnbacon 08-27-2008 07:04 AM

Do you have a demo available?

yahoooh 08-27-2008 07:36 AM

how about if the social groups large in number ?

ShackMaster 08-27-2008 12:51 PM

I certainly appreciate this and have installed it. Of course I want more... nothing like someone always wanting more is there?

What would be nice is if we could make a category box to match the forumhome category boxes and have it be the last section on the forumhome page... add the following box...

Attachment 86203

Except we could change that phrase to "Study Groups" instead of "Available Groups". (We changed our "Social Groups" to Study Groups").

Many Thanks!

Twilkey 08-27-2008 08:50 PM

Quote:

Originally Posted by ShackMaster (Post 1608183)
I certainly appreciate this and have installed it. Of course I want more... nothing like someone always wanting more is there?

What would be nice is if we could make a category box to match the forumhome category boxes and have it be the last section on the forumhome page... add the following box...

Except we could change that phrase to "Study Groups" instead of "Available Groups". (We changed our "Social Groups" to Study Groups").

Many Thanks!

Next time can you add the image to your attachments? That image is way to big. Also, I made the mod you requested. It can be found here.

ShackMaster 08-28-2008 11:32 PM

Thanks... sorry about the large image. I changed it to an attachment.

Gamelobby 11-16-2008 04:51 AM

It says "Find:"
then "Add Above:"

Meaning to add the code above the code in "Find:"..?
I just want to make sure im putting it in the right place.. normally it says replace.

Thanks

*edit*
Well it looks great on the forum, but the links do not work.
I guess there is some editing to do.. as to where your social groups are located. (filepath)

Added "/forums" to XML works great.!


All times are GMT. The time now is 02:08 AM.

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.00966 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete