Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Top Groups Module for vBadvanced Details »
Top Groups Module for vBadvanced
Mod Version: 1.00, by Kaelon (Contributor) Kaelon is offline
Developer Last Online: Nov 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (9 votes - 4.56 average) Installs: 74
Released: 27 Jun 2008 Last Update: Never Downloads: 243
Not Supported Re-usable Code Translations  

What is "Top Groups"?

Top Groups (aka, "Largest Groups") is a module for vBadvanced CMPS that will display in a small box the largest social groups in your online community. This is a very simple add-on (hence, its designation as a "Mini-Mod"), and is designed for people who intentionally want to tinker with the source code to play with and optimize their results.

It's my first vBulletin modification in years, and I'm generally a neophyte at this sort of stuff, so please, be gentle. That said, I'm very interested in your feedback and suggestions on how we can improve upon this module in any way, and any advice or lessons you'd like to share from your own coding experiences would be much appreciated. On a final note, the module was inspired by the work that "Oneback" did on the "Recent vB Blogs" module for vBadvanced, and he is owed my deepest thanks.

Finally, if you like this hack and install it, please:



Requirements
  • vBulletin 3.7.x Series
  • Social Groups enabled
  • vBadvanced 3.x Series
Installation

Installation is a breeze using vBadvanced's built-in "Download / Upload Module" function in the vBulletin Admin Control Panel. Simply upload/import the attached zipped topgroups.modile file, and you're all done. The .modules file will create the template and the PHP file that you require. You can then activate and position the module in any of your vBadvanced CMPS pages to your heart's content.

Customization

All actual customization is done through the "largestgroups.php" file, which was created during installation in your /forums/module directory. Simply open largestgroups.php in your favorite text editor. There are many ways in which you can customize the output of the module, and because this module is so simple, you can use it as a basic learning tool.
Changing the Number of Top Groups
The default is "5". You can edit the query by changing "LIMIT 5" to "LIMIT X", where X is the number of top groups you'd like to display in your block.

Changing the Forums Path
By default, all links are generated presuming you have installed vBulletin at "/forums" on your site. If you are using a different path, you should search-and-replace all instances of "/forums/" with the proper absolute path. For example, if you installed your forums at your site/domain-root, you would change all instances of "/forums/" to simply "/".
DemonstrationsVersion History
  • 1.0.0: Initial Release (June 26, 2008)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	topgroups.jpg
Views:	852
Size:	50.4 KB
ID:	83062  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions [Module]Teamspeak module for vBadvanced CMPS v3.0 RC2 dt-pain Modification Graveyard 15 28 Jan 2008 15:17

Comments
  #2  
Old 27 Jun 2008, 06:26
UncoderMom's Avatar
UncoderMom UncoderMom is offline
 
Join Date: May 2006
Real name: Lisa
Thank you thank you thank you!

INSTALLED
Reply With Quote
  #3  
Old 27 Jun 2008, 13:35
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Real name: Marianne Topping
Installed and everything but the "Last post by" works.
It does not show the posters name/link
__________________
Love from Denmark
-Marianne
Reply With Quote
  #4  
Old 27 Jun 2008, 14:18
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Originally Posted by mariannet View Post
Installed and everything but the "Last post by" works.
It does not show the posters name/link
Do you have actual posts in those social groups, in the actual Social Group Messaging area?
Reply With Quote
  #5  
Old 27 Jun 2008, 17:27
rooban12's Avatar
rooban12 rooban12 is offline
 
Join Date: May 2007
look nice man
welldone
Reply With Quote
  #6  
Old 27 Jun 2008, 18:30
tekram's Avatar
tekram tekram is offline
 
Join Date: Jan 2005
Originally Posted by mariannet View Post
Installed and everything but the "Last post by" works.
It does not show the posters name/link
The same Problem here
Reply With Quote
  #7  
Old 27 Jun 2008, 18:42
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Originally Posted by tekram View Post
The same Problem here
Do you have actual posts in the social groups? If you're using an addon like "Social Forums", that last post will not be displayed, since that would require a separate query.
Reply With Quote
  #8  
Old 27 Jun 2008, 19:09
tekram's Avatar
tekram tekram is offline
 
Join Date: Jan 2005
Aha ok, all the post before the addon was installed was not showing. New post and allways is up to date

thx for this addon

is there a chance to show the date and time on the next line?

Last edited by tekram; 28 Jun 2008 at 17:58.
Reply With Quote
  #9  
Old 28 Jun 2008, 22:19
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Originally Posted by tekram View Post
Aha ok, all the post before the addon was installed was not showing. New post and allways is up to date

thx for this addon

is there a chance to show the date and time on the next line?
Great! Glad to hear it.
Reply With Quote
  #10  
Old 29 Jun 2008, 15:17
Captain Tycoon's Avatar
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Works Perfectly! Installed and Marked! Thanks
Reply With Quote
  #11  
Old 30 Jun 2008, 08:45
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Real name: Marianne Topping
I'm using the Socialgroup forum funktion and all socialgroups messages now is in the groups forum, så maybe thats why.
I have just removed the "Last post by" funktion - still find this hack usefull, thanks!
__________________
Love from Denmark
-Marianne
Reply With Quote
  #12  
Old 02 Jul 2008, 15:29
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Originally Posted by mariannet View Post
I'm using the Socialgroup forum funktion and all socialgroups messages now is in the groups forum, så maybe thats why.
I have just removed the "Last post by" funktion - still find this hack usefull, thanks!
The "Last post by" pulls messages only from the Social Group messaging center, not from other add-ons, like Social Forums. So, you'll want to make sure that, even if you have Social Forums up, you also use Social Group messaging.
Reply With Quote
  #13  
Old 09 Jul 2008, 04:29
uneek1 uneek1 is offline
 
Join Date: May 2008
Thanks works great. Although for some reason, I had to change the largestgroups.php from linking to forums to forum...don't know why it used forums.

Thanks for the mod.
Reply With Quote
  #14  
Old 09 Jul 2008, 15:00
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Originally Posted by uneek1 View Post
Thanks works great. Although for some reason, I had to change the largestgroups.php from linking to forums to forum...don't know why it used forums.

Thanks for the mod.
I'm glad this worked for you well. Yes, I hard-coded in the /forums path, so in the customization notes above, I suggested that people who use a different path change it:

Originally Posted by Kaelon
Changing the Forums Path
By default, all links are generated presuming you have installed vBulletin at "/forums" on your site. If you are using a different path, you should search-and-replace all instances of "/forums/" with the proper absolute path. For example, if you installed your forums at your site/domain-root, you would change all instances of "/forums/" to simply "/".
Reply With Quote
  #15  
Old 09 Jul 2008, 17:05
S7rik3R's Avatar
S7rik3R S7rik3R is offline
 
Join Date: Mar 2007
Thanks works perfectly without any hazzard ...
__________________
Evotus Innovations : Social Networks | IT Supports | Mobile Wallpapers
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:28.

Layout Options | Width: Wide Color: