Version: 1.02, by goblues
Developer Last Online: Apr 2020
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
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.
Wish this worked
groups can be seen by guest, I can navigate to the group as a guest, but the modual doesn't show anything but "View All Groups"
Didn't know that it didn't . I haven't played with this in some time now. Everyone, What are we looking at doing with this mod now? PLease create a wish list and I will see what I can do.
Didn't know that it didn't . I haven't played with this in some time now. Everyone, What are we looking at doing with this mod now? PLease create a wish list and I will see what I can do.
I just need it to work like described in the first post
ps.. I tried the .modal and the .xml and got the same results
I just need it to work like described in the first post
ps.. I tried the .modal and the .xml and got the same results
Just installed "latest" and "random" (XML's) on a vanilla 3.8.3 test site and works as designed. Please take note that moderated or invite only groups will not show for this module. Only Public groups will show (as stated in the first post). However can be easily modified if you need, just let me know.
Just installed "latest" and "random" (XML's) on a vanilla 3.8.3 test site and works as designed. Please take note that moderated or invite only groups will not show for this module. Only Public groups will show (as stated in the first post). However can be easily modified if you need, just let me know.
Id like to be able to show moderated groups. How can I alter the SQL? Im not sure how to do "not equal to"...is it != or <>, I get an sql error either way.
Going off of memory right now, Not at a computer where I can look at code, I believe by changing the WHERE type = to moderated or inviteonly depending on what you want to display. to display all, I think you can just get delete WHERE type = 'public'