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)
-   -   Miscellaneous Hacks - Module CMPS: Latest and Random Public Social Groups (https://vborg.vbsupport.ru/showthread.php?t=166484)

BWJ 01-26-2009 09:29 PM

Quote:

Originally Posted by goblues (Post 1722867)
It is has been a long time since I released this mod, but I will take a look to see if I can get this to your liking BWJ and jl255

Thank you very much. That would really be great and appreciated :)

trotskid 03-08-2009 02:32 AM

I would like to show just an especific number of groups, where exactly can I modify this?

PS: Thanks for this hack ;)

Arkham 04-15-2009 05:07 PM

Quote:

Originally Posted by BWJ (Post 1721390)
Does any one know how to restrict this mod to one specific social group category? (instead of all social group categories)

That option is what brought me to this mod. I need something like that, to be able to select the category(ies) to choose from.

Good looking mod so far though!

Brandon Sheley 07-07-2009 11:07 PM

Wish this worked :(
groups can be seen by guest, I can navigate to the group as a guest, but the modual doesn't show anything but "View All Groups"

goblues 07-07-2009 11:16 PM

Quote:

Originally Posted by Loco.M (Post 1844842)
Wish this worked :(
groups can be seen by guest, I can navigate to the group as a guest, but the modual doesn't show anything but "View All Groups"

Didn't know that it didn't ;). I haven't played with this in some time now. Everyone, What are we looking at doing with this mod now? PLease create a wish list and I will see what I can do.

Brandon Sheley 07-07-2009 11:20 PM

Quote:

Originally Posted by goblues (Post 1844846)
Didn't know that it didn't ;). I haven't played with this in some time now. Everyone, What are we looking at doing with this mod now? PLease create a wish list and I will see what I can do.

I just need it to work like described in the first post ;)

ps.. I tried the .modal and the .xml and got the same results :(

goblues 07-07-2009 11:51 PM

Quote:

Originally Posted by Loco.M (Post 1844847)
I just need it to work like described in the first post ;)

ps.. I tried the .modal and the .xml and got the same results :(


Just installed "latest" and "random" (XML's) on a vanilla 3.8.3 test site and works as designed. Please take note that moderated or invite only groups will not show for this module. Only Public groups will show (as stated in the first post). However can be easily modified if you need, just let me know.

goblues 07-08-2009 12:19 AM

Quote:

Originally Posted by BWJ (Post 1721390)
Does any one know how to restrict this mod to one specific social group category? (instead of all social group categories)

To restrict to a specific category find in your modules folder either vba_groups.php for latest or vba_randgroups.php for random:

Code:

FROM " . TABLE_PREFIX . "socialgroup WHERE type = 'public'
and replace with:

Code:

FROM " . TABLE_PREFIX . "socialgroup WHERE type = 'public' AND socialgroupcategoryid = '2'
Where socilagroupcategoryod is the category id of the group you wish to show.

Mattius 07-28-2009 11:05 AM

Quote:

Originally Posted by goblues (Post 1844860)
Just installed "latest" and "random" (XML's) on a vanilla 3.8.3 test site and works as designed. Please take note that moderated or invite only groups will not show for this module. Only Public groups will show (as stated in the first post). However can be easily modified if you need, just let me know.

Id like to be able to show moderated groups. How can I alter the SQL? Im not sure how to do "not equal to"...is it != or <>, I get an sql error either way.

goblues 07-30-2009 11:14 PM

Going off of memory right now, Not at a computer where I can look at code, I believe by changing the WHERE type = to moderated or inviteonly depending on what you want to display. to display all, I think you can just get delete WHERE type = 'public'

Let me know if this helps

AND PLEASE MARK INSTALLED


All times are GMT. The time now is 08:05 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.01204 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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