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
  #52  
Old 04-11-2008, 02:31 AM
crkgb crkgb is offline
 
Join Date: Oct 2007
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Both actually. And after updating to RC3 still a no show.
Reply With Quote
  #53  
Old 04-16-2008, 08:55 AM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on vB 3.7 RC1, vBa 3.0.0, works like a charm. Easy to customize! Thanks for this hack.
Reply With Quote
  #54  
Old 05-02-2008, 08:55 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work
what about group messages?
Reply With Quote
  #55  
Old 05-02-2008, 11:05 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly would you like to see with group messages? Count or the actual messages?
Reply With Quote
  #56  
Old 05-03-2008, 01:23 AM
edenx edenx is offline
 
Join Date: Nov 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you add a group icon, based on any picture uploaded to the group?
Reply With Quote
  #57  
Old 05-03-2008, 06:16 AM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goblues View Post
What exactly would you like to see with group messages? Count or the actual messages?
Sorry for bad explain, I mean another block for recent group messages

BTW again thanks for this mod, i modified php module n template to show group owner
screenie added
Reply With Quote
  #58  
Old 05-14-2008, 07:54 PM
carphead carphead is offline
 
Join Date: Oct 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbadv_modules
	(`0`, `active`, `userperms`)
VALUES
	('', '1', '6');
On a 3.6.8 Upgraded to 3.7 with VBa 3.0.1 installed. On a completely fresh 3.7 with Vba installed it works. Any ideas why?
Reply With Quote
  #59  
Old 05-29-2008, 11:08 AM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great plugin, installed
Reply With Quote
  #60  
Old 05-29-2008, 10:59 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carphead View Post
Code:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbadv_modules
	(`0`, `active`, `userperms`)
VALUES
	('', '1', '6');
On a 3.6.8 Upgraded to 3.7 with VBa 3.0.1 installed. On a completely fresh 3.7 with Vba installed it works. Any ideas why?
There has been better luck using the XML for install, did you try that?

Quote:
Originally Posted by MrEyes View Post
Great plugin, installed
Thank you
Reply With Quote
  #61  
Old 06-13-2008, 01:21 AM
mikkitine's Avatar
mikkitine mikkitine is offline
 
Join Date: Oct 2007
Location: London
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I install the .xml file?
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 05:48 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.04520 seconds
  • Memory Usage 2,303KB
  • Queries Executed 27 (?)
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
  • (3)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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