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
  #92  
Old 08-14-2009, 11:11 PM
peterle1 peterle1 is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why do you have that many errors in your templates?

Here are two corrected ones in german language:

adv_portal_groups
HTML Code:
<tr>
	<td class="$bgclass">
		$showgroupsbit<br />
<i><a href="$vboptions[bburl]/group.php?do=grouplist">alle Interessengemeinschaften</a></i>
	</td>
</tr>
adv_portal_groups_bit
HTML Code:
<div style="padding-top: 1px; padding-bottom: 1px" class="smallfont"><a href="$vboptions[bburl]/group.php?groupid=$showgroup[groupid]"><b>$showgroup[name]</b></a>
<br />
Miglieder - $showgroup[members]<br />
Bilder - $showgroup[picturecount]
</div>
<br />
w3c validator missed some " and the end tag for i had to be /i
Reply With Quote
  #93  
Old 08-14-2009, 11:25 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterle1 View Post
Why do you have that many errors in your templates?
Because you are smarter than me

Thanks!
Reply With Quote
  #94  
Old 08-15-2009, 09:27 PM
peterle1 peterle1 is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the hard words, but I was very tired the time I wrote it.
Thanks for your mod, it was a great help.
Reply With Quote
  #95  
Old 01-04-2010, 05:54 AM
ahmedipa ahmedipa is offline
 
Join Date: Feb 2009
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good
Reply With Quote
  #96  
Old 06-20-2011, 12:12 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, working fine on vb 3.8.5 and vbA CMPS 3.2.1
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 04:39 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.04285 seconds
  • Memory Usage 2,260KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (1)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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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