Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: Latest and Random Public Social Groups Details »»
Module CMPS: Latest and Random Public Social Groups
Version: 1.02, by goblues goblues is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 12-29-2007 Last Update: 02-25-2008 Installs: 142
Auto-Templates
Re-useable Code Additional Files  
No support by the author.

Adds a Module which shows the last 5 public Social Groups Created

Added a module which randomly displays Groups.
Use latestsocialgroups to display the most recently created or use randomsocialgroups to display 5 random groups.

See screenshot for details

Dependencies:
VbA CMPS


How to install

Admincp => vBa CMPS => Download / Upload Module
Click [Browse]
Browse for the file "latestsocialgroups.module" or randomsocialgroups.module
2-26-2008 - Added XML files as an alternative to install.
Submit
Select pages and locations

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 socilagroupcategoryid is the category id of the category you wish to show.

Tested on Vb 3.8.3
VbAdvanced CMPS v3.2

Please Click Installed if you use this.

Show Your Support

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

Comments
  #82  
Old 01-26-2009, 09:29 PM
BWJ BWJ is offline
 
Join Date: Aug 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goblues View Post
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
Reply With Quote
  #83  
Old 03-08-2009, 02:32 AM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

PS: Thanks for this hack
Reply With Quote
  #84  
Old 04-15-2009, 05:07 PM
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Location: Toronto, Ontario
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
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!
Reply With Quote
  #85  
Old 07-07-2009, 11:07 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

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"
Reply With Quote
  #86  
Old 07-07-2009, 11:16 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
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.
Reply With Quote
  #87  
Old 07-07-2009, 11:20 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

Quote:
Originally Posted by goblues View Post
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
Reply With Quote
  #88  
Old 07-07-2009, 11:51 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
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.
Reply With Quote
  #89  
Old 07-08-2009, 12:19 AM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
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.
Reply With Quote
  #90  
Old 07-28-2009, 11:05 AM
Mattius Mattius is offline
 
Join Date: Sep 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goblues View Post
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.
Reply With Quote
  #91  
Old 07-30-2009, 11:14 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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 09:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10696 seconds
  • Memory Usage 2,316KB
  • 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
  • (7)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