Back to vBulletin 3.7 Add-ons

Top Groups Module for vBadvanced
Mod Version: 1.00, by Kaelon

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

What is "Top Groups"?

Top Groups (aka, "Largest Groups") is a module for http://www.vbadvanced.com 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 "/".
Demonstrations
  • http://www.aelyria.com (Author's Site)
Version History
  • 1.0.0: Initial Release (June 26, 2008)

Download

This modification is archived, downloads are still allowed.

File Type: %1$s topgroups.zip (981 Bytes, 291 downloads)

Screenshots

Click image for larger version
Name:	topgroups.jpg
Views:	865
Size:	50.4 KB
ID:	83062  

Similar Mods

Major Additions [Module]Teamspeak module for vBadvanced CMPS v3.0 RC2 Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024