![]() |
Module CMPS: Latest and Random Public Social Groups
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' Code:
FROM " . TABLE_PREFIX . "socialgroup WHERE type = 'public' AND socialgroupcategoryid = '2' Tested on Vb 3.8.3 VbAdvanced CMPS v3.2 Please Click Installed if you use this. |
First install , thankyou :)
|
You are welcome!
|
installed works great!
|
I added to the first post a Random Module in addition to the Latest Module. Enjoy!
|
Installed it and the modules are shown on my portal BUT
it doesnt show any group. Only if I click on "Show all GRoups" What is wrong?:confused: |
These modules only pull "Public" groups. If the only groups you have created are invite only, they will not show.
EDIT: Now that I said above I got to looking at the code and realized that statement wasn't true. Updated the Zips to make it true. |
My groups are public...
|
Redownload the module and allow overwrite and see if that helps. If it does not, PM your site with login details and I will have a look if you want.
|
overwrote it and now it works well! Thanks!
|
Actually it worked. When I checked it again I got this message:
Unable to add cookies, header already sent. File: ml/forum/modules/vba_randgroups.php Line: 18 Now I reinstalled it and it works again...but I am afraid that I will get the error message above again... |
Hope to install soon
|
Let me know if it pops up again and don't forget to click install.
Quote:
|
nice idea
|
tried it again. And I get again
Unable to add cookies, header already sent. File: /home/www/web99/html/forum/modules/vba_randgroups.php Line: 18 This happens when I log out and click on "Go to Forums Index". |
As soon as it was installed, my front page wouldnt load. When I removed it, it was ok again. Weird.
|
thaaaaaaaanks!!!!
|
Try this wattieuk:
Admin CP => vBa CMPS => Default Settings => Main Options => Process PHP File Modules Within A Function |
Quote:
|
See post below.
|
See update in Blue in first post. For some reason, some modules are adding spaces after the closing ?> tag in the php files in your forum/modules folder. This fix seems to work with any modules that you may have installed.
|
thanks
|
How about a 'latest group comments' function?
|
Sounds easy enough (Famous Last Words). Give me until the weekend and I will Have this ready if possible. Please click install for this one if you use it. Thanks!
|
That would be awesome.
|
I am getting this error:
Quote:
|
Exactly. Thats why you need to do the file edit in blue in the first post, or overwrite the vba_groups.php file with the one in the first post. Again, for some reason, the export is adding spaces after the ?> tag. If you put you cursor at the end of that and hit delete to delete the empty spaces, all will be fine.
|
The zip files have been updated. There shouldn't be any more issues with headers being sent and cookies anymore.
|
That fixed it. Thanks for the swift update! Its looking good.
I hope it works out with the latest comments feature. |
I'm getting this error with vbulletin 3.7.0 beta 3 and vbCMPS v3.0 RC2
Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/vba_cmps_admin.php on line 3375 Not sure what that's all about. Thanks. Jim |
Zip files have been updated. Sorry :(
|
Thanks! Works great now.
|
You are welcome.
|
Installed without any troubles. vB 3.7.0 Beta 4 and vBA 3.0 RC2
Thanks! |
Blank index page
|
What is your site url? PM if you don't want it public
|
installed but not showing any public groups... same problem. I downloaded the lastest zip
|
I had to uninstall then reinstall to get them to show up. But then it caused a bunch of errors so I had to take it back off again. Around 40 of them out of about 60 were from this one mod. :(
|
So you had 20 more errors? What were you doing, upgrading vbadvanced?
|
I m using vb3.7 beta5 and vba 3.0 gold... downloaded the lastest zip from the first post and installed, showing nothin...
|
All times are GMT. The time now is 05:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|