vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Cel User's Social Groups on Forum Home (like forumlist, fully templated) (https://vborg.vbsupport.ru/showthread.php?t=221581)

scottkoz20 12-22-2016 02:32 AM

Quote:

Originally Posted by markoroots (Post 2579695)
Great Kevin, many thanks.

Adn does someone know how to show all groups in the home page and not only those subscribed?


Groups is a clickable link that will take the users into domain/groups.php and they can search the full group list.

I am playing this on my dev site at the moment and even though the mod is no longer supported, it's extremely functional.

markoroots 12-22-2016 07:23 AM

Thanks Scott,
no I mean that generally this mod shows in home page only the subscribed groups and not all groups created. So I want know if is there a way to show all groups (also those not subscribed) in the forum home page.

scottkoz20 12-22-2016 10:46 AM

not with this mod. This probably could be done with a php script and adding this as a sideblock item, but it would depend on the number of groups you have. On my site, I already have 300+ groups and there is no way I would want have code listing this all out.

markoroots 12-22-2016 03:52 PM

Do you think?
In the end I think that must be in a part of code something that say the plugin to "show only the subscribed groups" maybe changing this command can work in this way.
Sure must be somewhere where is wrote this in the code if the plugin take only the subscribed group.
The problem is to know what and where must be changed to have this function. :)

cellarius 12-22-2016 07:50 PM

Try removing the following code lines from plugin forumhome_code lines at hook forumhome_start:

at/near line 91
PHP Code:

        " . $query_join . " 

at/near line 93
PHP Code:

        WHERE " . $where_add . ".userid " . $vbulletin->userinfo['userid'] . " 

This should show all groups, but will render the other options useless.

I would advise against making that change if you have a more than a very reasonable number of groups.

Cem01 05-30-2017 12:06 PM

Wow this add-on is so awesome to me. It will make social groups more active. I want this for blogs if it's possible :)
Thanks.


All times are GMT. The time now is 06:01 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.01052 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete