Version: 1.00, by Kaelon
Developer Last Online: Jan 2023
Category: Mini Mods -
Version: 3.7.x
Rating:
Released: 06-26-2008
Last Update: Never
Installs: 76
Re-useable Code Translations
No support by the author.
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:
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 "/".
ade5675 - It looks like you have an outdated/modified version of vBaCMPS. Please make sure that you are using the latest version of vBa CMPS; this module was designed to work with vBa CMPS 3.0's Module Import System.
I am actually using CMPS v3.0.1 so it is kind of weird to see the error. Any ideas ?
I am actually using CMPS v3.0.1 so it is kind of weird to see the error. Any ideas ?
That's really weird. Can you give me a step-by-step description of how you generated the error message you were getting? I'm not able to reproduce it on a clean installation of vB 3.7.2 PL1 and vBa CMPS 3. Thanks!
That's really weird. Can you give me a step-by-step description of how you generated the error message you were getting? I'm not able to reproduce it on a clean installation of vB 3.7.2 PL1 and vBa CMPS 3. Thanks!
vBa CMPS >> Download / Upload Module >> Browse (under Upload Module) >> selected topgroup module from extracted folder >> select active (Yes) and the style >> clicked submit >> error generated.
Did you select a specific style, a default style, or a child style? This looks like it may be an issue with the vBa CMPS Module Import System; we may want to check over at vBadvanced.com.
Would be good if the config file was used for the install path.
My vb is installed in "forum" not "forums" ...
had to tweak the file a bit.
Right, I mentioned that in the installation instructions in the original post above.
Quote:
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 "/".
How do you think I could make it easier? Maybe insert a single $forumdir variable?
Did you select a specific style, a default style, or a child style? This looks like it may be an issue with the vBa CMPS Module Import System; we may want to check over at vBadvanced.com.
Yes, I specified the default style and still get the error. Infact I followed the instructions to the book.