PDA

View Full Version : Module CMPS: Latest and Random Public Social Groups


goblues
30 Dec 2007, 23:36
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 (http://www.vbadvanced.com/products.php?do=productinfo&productid=4)


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

Tested on Vb 3.7.0 B3
VbAdvanced CMPS v3.0 RC2

Please Click Installed if you use this.

acegames
30 Dec 2007, 23:41
First install , thankyou :)

goblues
30 Dec 2007, 23:47
You are welcome!

Networknutz
31 Dec 2007, 07:03
installed works great!

goblues
31 Dec 2007, 13:53
I added to the first post a Random Module in addition to the Latest Module. Enjoy!

abroad
01 Jan 2008, 12:55
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:

goblues
01 Jan 2008, 13:05
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.

abroad
01 Jan 2008, 13:15
My groups are public...

goblues
01 Jan 2008, 13:22
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.

abroad
02 Jan 2008, 07:17
overwrote it and now it works well! Thanks!

abroad
02 Jan 2008, 08:33
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...

360junkie
02 Jan 2008, 08:48
Hope to install soon

goblues
02 Jan 2008, 12:38
Let me know if it pops up again and don't forget to click install.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...

forumrunt
02 Jan 2008, 18:23
nice idea

abroad
03 Jan 2008, 11:12
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".

wattieuk
03 Jan 2008, 14:39
As soon as it was installed, my front page wouldnt load. When I removed it, it was ok again. Weird.

zmmmzz
03 Jan 2008, 15:07
thaaaaaaaanks!!!!

goblues
03 Jan 2008, 23:43
Try this wattieuk:

Admin CP => vBa CMPS => Default Settings => Main Options => Process PHP File Modules Within A Function

wattieuk
05 Jan 2008, 13:55
Try this wattieuk:

Admin CP => vBa CMPS => Default Settings => Main Options => Process PHP File Modules Within A Function
Thanks for the reply but it's already turned on.

goblues
05 Jan 2008, 14:16
See post below.

goblues
05 Jan 2008, 14:20
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.

sinistergaming
08 Jan 2008, 03:25
thanks

Alfa1
09 Jan 2008, 23:56
How about a 'latest group comments' function?

goblues
10 Jan 2008, 01:06
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!

Alfa1
10 Jan 2008, 03:58
That would be awesome.

Alfa1
11 Jan 2008, 01:21
I am getting this error:
Unable to add cookies, header already sent.
File: /home/myforum/domains/my-forum.com/public_html/forum/modules/vba_groups.php
Line: 20
I can't find line 20.

goblues
11 Jan 2008, 02:34
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.

goblues
12 Jan 2008, 13:00
The zip files have been updated. There shouldn't be any more issues with headers being sent and cookies anymore.

Alfa1
12 Jan 2008, 15:43
That fixed it. Thanks for the swift update! Its looking good.
I hope it works out with the latest comments feature.

ricoche
13 Jan 2008, 09:38
I'm getting this error with vbulletin 3.7.0 beta 3 and vbCMPS v3.0 RC2



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The file you have uploaded is not a valid module file.

Not sure what that's all about. Thanks.

Jim

goblues
13 Jan 2008, 13:10
Zip files have been updated. Sorry :(

ricoche
13 Jan 2008, 14:31
Thanks! Works great now.

goblues
13 Jan 2008, 14:49
You are welcome.

:Judge:
03 Feb 2008, 06:45
Installed without any troubles. vB 3.7.0 Beta 4 and vBA 3.0 RC2

Thanks!

gertoo
23 Feb 2008, 20:43
Blank index page

goblues
23 Feb 2008, 23:17
What is your site url? PM if you don't want it public

romanticyao
25 Feb 2008, 10:08
installed but not showing any public groups... same problem. I downloaded the lastest zip

DawnsWebDesigns
25 Feb 2008, 23:56
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. :(

goblues
26 Feb 2008, 00:54
So you had 20 more errors? What were you doing, upgrading vbadvanced?

romanticyao
26 Feb 2008, 02:07
I m using vb3.7 beta5 and vba 3.0 gold... downloaded the lastest zip from the first post and installed, showing nothin...

goblues
26 Feb 2008, 02:53
I m using vb3.7 beta5 and vba 3.0 gold... downloaded the lastest zip from the first post and installed, showing nothin...
Try the XML instead attached to this post and report back.

romanticyao
26 Feb 2008, 08:06
hi, this one works! so wut was the problem? hope you could update the xml file in zip package or release a newer version? once I put my site live from testing server I could install it without this xml "patch" file.

goblues
26 Feb 2008, 12:17
I am not sure what the problem is. I changed nothing but downloaded the module via XML instead of .module. The files are exactly the same, my guess there may be something goofy with vbadvanced gold.

romanticyao
26 Feb 2008, 19:44
some ppl installed and it worked without problem, it might caused by different php version?

Dilldogs
07 Apr 2008, 23:59
I installed it on VB 3.7 bata 6 and it works fine. But when I install on 3.7 RC 2 not working.

Only thing different That is bata 6 and RC 2. So I am stumped...lol

goblues
08 Apr 2008, 00:18
I just installed the random XML module on a vanilla RC1 board no problems. I have not installed RC2 yet so I am not sure what has changed. Did you install the .module file or the XML?

crkgb
09 Apr 2008, 10:44
My group is publick with 3 members at this time and the module is empty. It only states - View All Groups

setishock
10 Apr 2008, 01:44
That spices up my cmps. May be get those lurkers to sign up. Thanks
I used the modules out of the zip files and it worked correctly the first time.
Using VB 3.7 beta 5 and vBadvanced's 3.0 gold cmps.

crkgb
10 Apr 2008, 03:13
RC2 vBa 3.0 - Not Showing up the groups... (((

goblues
11 Apr 2008, 02:24
I will take a look. By the way, did you install this module using the .module file or upload the XML in vbadvanced?

crkgb
11 Apr 2008, 04:31
Both actually. And after updating to RC3 still a no show.

tormodg
16 Apr 2008, 10:55
Installed on vB 3.7 RC1, vBa 3.0.0, works like a charm. Easy to customize! Thanks for this hack.

IrPr
02 May 2008, 22:55
Nice work
what about group messages?

goblues
03 May 2008, 01:05
What exactly would you like to see with group messages? Count or the actual messages?

edenx
03 May 2008, 03:23
could you add a group icon, based on any picture uploaded to the group?

IrPr
03 May 2008, 08:16
What exactly would you like to see with group messages? Count or the actual messages?
Sorry for bad explain, I mean another block for recent group messages

BTW again thanks for this mod, i modified php module n template to show group owner
screenie added

carphead
14 May 2008, 21:54
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



On a 3.6.8 Upgraded to 3.7 with VBa 3.0.1 installed. On a completely fresh 3.7 with Vba installed it works. Any ideas why?

MrEyes
29 May 2008, 13:08
Great plugin, installed

goblues
30 May 2008, 00:59
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



On a 3.6.8 Upgraded to 3.7 with VBa 3.0.1 installed. On a completely fresh 3.7 with Vba installed it works. Any ideas why?

There has been better luck using the XML for install, did you try that?

Great plugin, installed

Thank you ;)

mikkitine
13 Jun 2008, 03:21
How do I install the .xml file?

goblues
14 Jun 2008, 13:07
Same way as you would a .module file. See and read screenshot which was taken from ADMINCP->Vba CMPS->Download/Upload Module

S7rik3R
14 Jun 2008, 15:22
Good Work !
Installed

mikkitine
14 Jun 2008, 18:40
Same way as you would a .module file. See and read screenshot which was taken from ADMINCP->Vba CMPS->Download/Upload Module
Thanks. Very good stuff.

UltraFanatics
14 Jun 2008, 19:02
AWESOME!

Do you have anymore?

goblues
15 Jun 2008, 03:08
Like what? :)

buckethead
15 Jun 2008, 04:26
Good job!
INSTALLED

UltraFanatics
15 Jun 2008, 10:19
Anything really lol

Wouldn't mind something for the facebook type status mod

goblues
15 Jun 2008, 15:05
Could you point me to the hack?

UltraFanatics
17 Jun 2008, 20:17
Sure here you go mate
http://www.vbulletin.org/forum/showthread.php?t=181283

pmkb
28 Jul 2008, 14:15
Is it possible to adapt this module to list the groups with the most recent posts like the "Available Groups" section of the social groups page?

pmkb
28 Jul 2008, 17:02
Thanks for this module. I was able to adapt the code (see attached) to show the groups with most recent posts. :)

Coop1979
06 Aug 2008, 15:49
What is the raw PHP code for showing the latest groups? I'm trying to insert it into a block in Drupal.

GrendelKhan{TSU
07 Aug 2008, 03:24
thanks. works fine.

REQ:
would love to see comments updates as well. :)

tintin74
08 Nov 2008, 09:35
I'm running vbulletin 3.7.3 with cmps 2.0 and Vbseo Gold . I've install this module without any problem.

Now, I've into the latest social group box on cmps page every urls not S.E. friendly. But, into social page index I've every link search engine friendly.

This could generate a duplicate content indexing in Google.

Does anyone could help me to change urls in "Latest Social Group" box ?

Thank you Tintin

tormodg
10 Nov 2008, 15:13
As long as the urls are rewritten before the page is loaded you should be fine (ie, you're not serving two similar pages with different URLs).