Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GRPS: Groups Commune 2.0.x Details »»
GRPS: Groups Commune 2.0.x
Version: 2.0.13, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 09-22-2006 Last Update: 09-28-2007 Installs: 233
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Welcome ladies and gentleman, this is the release thread for GRPS, an interactive groups commune. I hope you enjoy this release and i sincerely hope it provides everything to your community in which you're looking for.

What is it?
It's a groups commune. The original idea is that forums with lots and lots of forums on the front-page suck, as a result i thought most of the conversation was rather obscure in regards to what the forums were trying to achieve, so it'd be nice to have that all going on elsewhere, not detracting away from the content and stopping your front-page from looking like a car crash.

Features?
  • Groups Home
    • Groups Activity List
      • Newest Groups
      • Most Popular Groups
      • Largest Groups
    • Category List
    • Group Search by Title
    • Group Sort by Alphabetical Title, Categories, Member Count

    • Users can create groups
    • Admin switch to moderate groups or not
      • Admin CP access to moderation panel
  • Groups Page
    • Posts since last visit notification
    • Group Info
      • Group Leader shown with avatar
      • Category
      • Type
        • Groups can be listed as public, private or hidden
      • Start Date
      • Member count
      • Post count
    • Group Desciption
      • Shows group title
      • Shows random image
      • Shows group information set by group leader
    • Groups Thread List (Forum)
      • Status Icon
      • Title
        • Threads use postbit as per the forums
      • Thread Author with avatar and time that the thread was started
      • Last reply with avatar, username and time that the last reply was posted
      • Post New Thread Button
        • Groups Members can create threads
    • Newest Members
      • Shows five newest members
      • Link to view all members
        • Shows all members of the group
    • Group Options
      • Users can join/leave groups
        • PM Notification for group leaders upon join requests (when moderation enabled).
        • PM Notification for of acceptance or refusal.
      • Users can send invites to other users via PM
  • Groups Thread
    • Groups Info Box (see above for more info)
    • Group Description box (see above for more info)
    • Newest Members List (see above for more info)
    • List of groups posts using forums postbit
    • Pagination using native vBulletin pagination
    • Group Leader/Moderation Options
      • Open/Close Thread
      • Stick Thread
      • Delete Thread
    • Users have the ability to report posts
    • Moderators have the ability to view IP and host.
  • Group Leader Options
    • Groups Management
      • WYSIWYG Editor
      • Reason for editing box
      • Group Options
        • Private Posts
        • Only group leader can make threads
        • Moderate Members
        • Show group text edit details
        • Hide group image on group pages
        • Hidden Group
          • This option is only available to admins
    • Group Members Moderation
      • Ability to accept or deny new members
  • Postbit Integration
    • View Users Groups
  • User Control Panel (Integration)
    • List of groups appears in usercp in order of the last post
  • Administrator Options
    • vBulletin Options
      • Turn groups on or off
      • Groups Limit Per User
      • Posts Per Page (threads)
      • Check Forum Activity Posts
      • Check Forum Activity Time
      • Number of Random Images
      • Turn email notification of new groups on/off
    • Usergroup Options
      • Can view groups
      • Can create groups
      • Can join groups
      • Can post messages in groups
      • Can edit messages in groups
      • Can delete messages posted in groups
      • Numbers of groups usergroup can join limited
      • Can moderate groups
        • See above for more info
      • Can view IP Addresses
    • Category Editor
      • Edit
        • Edit cat id (please not this can ef up your show)
        • Edit cat title
        • Edit cat description
      • Add
        • New Cat Title And Description
    • Groups Editor
      • Search for group by id
        • Edit
          • Title
          • Desciption
          • Categoryid
          • Group leader id
          • Private Posts
          • Moderate Members
          • Hidden group

Special Thanks to harry1951, without his help testing and his recommendations, this would've never ended up the way it did.

Honestly, i can't think of anything else, if you appreciate the work gone into this mod, please donate (in GBP) (right click open in new window)

Hopefully you all appreciate that i just relaunched my site and rather than soak up the atmosphere there or go out drinking i came to release this tonight.

Screens below, rest to your right

Please note this mod does work with 3.5.x

PLEASE DO NOT JOIN MY SITE IN A BID TO PLAY WITH IT OR HAVE A LOOK AT IT FURTHER, MY SITE IS SOMETHING I VALUE FOR BEING SOMEWHERE I CAN CHILL AT, IT'S NOT A TEST SUITE OR DEMO!

Bug Fixes
  • Groups v2.0.0 RC1b.zip: fix regarding incorrect table prefixes in index.php and editpost.php
  • Groups v2.0.0 RC2.zip: fix regarding incorrect table prefixes in functions_grps.php and class_grps.php. also fix regarding installation instructions.
  • Groups v2.0.0 RC3.zip: fix regarding inability to get to create groups page. updated simplified instructions, sadly still not cool html ones and also added ability to delete groups, delete categories and of course the menu options to get to these.
    • Groups v2.0.0 RC3b.zip: fix regarding joining and leaving group depreciated function error added uninstaller to the zip at http://www.yoursite.com/groups/tools...p?do=uninstall
    • Groups v2.0.0 RC3c.zip: fix regarding edit being stated as 70's on group stages, requires re-installtion of the plugin only.
  • Groups v2.0.0 RC4.zip: various bug fixes and new general setting, please reupload all files and then reinstall the product.
  • Groups v2.0.0 RC5.zip: bug fixes regarding fixing links to forums being broken and forcing redirects for create group outcomes.
  • Groups v2.0.0 RC6.zip: various bug fixes including table prefixes in admincp, invitations system now features in-line erroneous username fall-back and clean up regarding broken images in viewthread.php
  • Groups v2.0.0 RC7.zip: bug fixes including missing phrases and missing 'noavatar.gif for group leader on groups info.
  • Groups v2.0.0 RC8.zip: various bug fixes including missing phrases, smilies not working. new function to turn of new group moderation. form now working on print_no_permission page (thanks Adrian) and something else i forgot.
  • Groups v2.0.0 RC9.zip: fixes two spelling mistakes, moves viewthread.php string_replacements to admincp and simplifies the installer experience. (yeah i thought there'd be more to it too).
    • Groups v2.0.0 RC9b.zip: re-fixes two spelling mistakes, fixes a viewthread.php string_replacement via the admincp and turns the default random image count down to that of which is provided.
  • Groups v2.0.0 RC10.zip: optimises some of the code, cuts down on queries in exchange for additional joins and now forces compatibility in groups/viewthread.php with vBulletin options. also adds new option in admincp in order to make usercp listing work better out of the box.
  • Groups v2.0.0 RC11.zip: fixes a problem with avatars not displaying correctly in thread listing and also optimises the code in membership.php
  • Groups v2.0.0.zip: adds and array_merge to the code and smilie popup fixed. now features hooks for plug-in 'easability'. uCS integration moved to external plugin too.
  • Groups v2.0.1.zip: removes one hook, fixes problem with membership.php, fixes problem editgroup.php not remembering options and fixes avatar problem.
  • Groups v2.0.2.zip: various bug fixes (like missing pagenavs, more elegant removal of reputation button and infraction button and php notices), one or two new features (like intuitive page titles) and now fully phrased.
  • Groups v2.0.3.zip: bug fix regarding now being able to select categories. includes a new feature which is basically pagination for the thread listings.
  • Groups v2.0.4.zip: bug fix regarding not being able to moderate group memberships.
  • Groups v2.0.5.zip: bug fix regarding those introduced via 2.0.4, new features such as double post prevention disable, admins can override privacy settings, usergroup permission text more intuitive and end-user usability increased with modification to threadbit on groups.php. group leaders can now kick users from there groups.
  • Groups v2.0.6.zip: bug fix including report, missing edit button and other misc small bugs, new features such as disable hidden groups, allow mods to see private groups, and resign from group handing off to another user.
  • Groups v2.0.7.zip: bug fix including fixing post counts, thread goto's and fatal php errors.
  • Groups v2.0.8.zip: bug fix regarding inability to delete posts, problem with editing posts and other misc errors.
  • Groups v2.0.9.zip: various bug fixes including wywiwyg error, admin cp error and redirect/goto errors.
    • Groups v2.0.9b.zip: fixes problem with upgrade4.php
  • Groups v2.0.10.zip: various bug fixes including acknowledging renamed modcp and admincp dir's also adds option regarding removing of posts at group exit/kick.
  • Groups v2.0.11.zip: various bug fixes including security/privacy fixes.
  • Groups v2.0.12.zip: permission bug fixed.
  • Groups v2.0.13.zip: various bug fixes including ability to ignore members in groups and newreply bug.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1752  
Old 07-11-2007, 11:39 PM
djilou djilou is offline
 
Join Date: Dec 2006
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
to fix the pagination problem
On browse.php
Replace
Code:
$totalgroups = $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
with
Code:
$totalgroups = $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1' AND catid = $c");
Reply With Quote
  #1753  
Old 07-12-2007, 06:30 AM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this to add Groups to a user's public profile. It works for me:

Create a new plug in:
Product: GRPS: Groups Commune
Hook Location: member_complete
Title: GRPS: List Groups In User Profile
Execution Order: 5
Plugin PHP Code:
Code:
// ###################### extracts my groups groups for main grps page
//require_once("./includes/functions_grps.php");
$grps_ids = explode(' ', trim($userinfo['grps']));

$baselocation = ($vbulletin->options['grps_locationswitch'] == TRUE) ? $vbulletin->options['homeurl'] : $vbulletin->options['bburl'];

if (!empty($userinfo['grps']))
{
	$grps_ids_imploded = implode(",", $grps_ids);

	$grps_mygroups = $db->query("
		SELECT grps.groupid, grps.title, grps.description, grps.approved, grps.leaderid, grps_setting.image_name, MAX(grps_thread.lastpostdateline) AS dateline
		FROM grps
		LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
		LEFT JOIN grps_thread ON (grps_thread.groupid = grps.groupid)
		LEFT JOIN " . TABLE_PREFIX . "user AS " . TABLE_PREFIX . "user ON (" . TABLE_PREFIX . "user.userid = grps.leaderid)
		WHERE grps.approved = '1' AND grps.groupid IN($grps_ids_imploded)
		GROUP BY grps.groupid
		ORDER BY dateline DESC
		LIMIT 15
	");

	$mygroups = "<ul>";
	while ($grps_mygroupsinfo = $db->fetch_array($grps_mygroups))
	// foreach($grps_ids AS $grps_key_id => $grps_mygroups)
	{
		if(!$grps_mygroupsinfo['image_name'])
		{
			$grps_mygroupsinfo['image_name'] = "<img src=\"" . $vbulletin->options['bburl'] . "/" . $stylevar['imgdir_grps'] . "/grps_mygroups_noimage.gif\" alt=\"" . $grps_mygroupsinfo[title] . "\" border=\"0\" /><br />";
		}
		else
		{
			$grps_mygroupsinfo['image_name'] = "<img src=\"../groups/grps_imgs/defaults/" . $grps_mygroupsinfo['image_name'] . "\" width=\"100\" alt=\"" . $grps_mygroupsinfo[title] . "\" border=\"0\" /><br />";
		}

		if ($grps_mygroupsinfo['leaderid'] == $userinfo['userid'])
		{
			$grps_mygroupsinfo['leader'] = "<img src=\"" . $vbulletin->options['bburl'] . "/" . $stylevar['imgdir_grps'] . "/grps_leader.gif\" alt=\"" . $grps_mygroupsinfo['title'] . " Leader\" border=\"0\" /><br />";
		}
		else
		{
			$grps_mygroupsinfo['leader'] = FALSE;
		}


		$mygroups .= "
			<li id=\"grpsgroupsbullets\">
				<a href=\"" . $baselocation . "/groups/groups.php?" . $vbulletin->session->vars['sessionurl'] . "g=" . $grps_mygroupsinfo['groupid'] . "\" title=\"" . $grps_mygroupsinfo['title'] . "\"><b>" . fetch_trimmed_title($grps_mygroupsinfo['title'], 15) . "</b></a><br />
				" . $grps_mygroupsinfo['image_name'] . "
				" . $grps_mygroupsinfo['leader'] . "
			</li>
		";
	}
	$mygroups .= "</ul>";
	//eval('$grps_mygroupsprofilebits .= "' . fetch_template("groups_usercp_groupsbits") . '";');
	$grps_mygroupsprofilebits = $mygroups;


}
And of course make the plugin active.

Now go edit your memberinfo template and add $grps_mygroupsprofilebits where you want them to appear on the user's public profile page.
Reply With Quote
  #1754  
Old 07-14-2007, 08:20 AM
nutnut nutnut is offline
 
Join Date: Feb 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I'm having problems with permissions and I am using the latest download with the fix. My forums are installed under public_html/forum and this is my config:

chdir("../forum");

When I go to http://www.site.com/forum/groups/ I immediately get the permissions error message when i'm logged in as admin or regular user, and I changed permissions for both user groups to access the grps (you do not have permission to access this page. This could be due to one of several reasons

Thoughts? Thanks!
Reply With Quote
  #1755  
Old 07-14-2007, 08:24 AM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nutnut View Post
Hi,

I'm having problems with permissions and I am using the latest download with the fix. My forums are installed under public_html/forum and this is my config:

chdir("../forum");

When I go to http://www.site.com/forum/groups/ I immediately get the permissions error message when i'm logged in as admin or regular user, and I changed permissions for both user groups to access the grps (you do not have permission to access this page. This could be due to one of several reasons

Thoughts? Thanks!
Make sure you have Groups turned on in your Admin CP or you will get that permission error no matter what other permissions you have set.
Reply With Quote
  #1756  
Old 07-14-2007, 08:32 AM
nutnut nutnut is offline
 
Join Date: Feb 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GRPS set to active yes.
Reply With Quote
  #1757  
Old 07-14-2007, 08:34 AM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you have 'Is The GRPS directory parallel to your forums directory' set to 'No' since you are running it under the forum directory.
Reply With Quote
  #1758  
Old 07-14-2007, 08:42 AM
nutnut nutnut is offline
 
Join Date: Feb 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by quiklink View Post
Make sure you have 'Is The GRPS directory parallel to your forums directory' set to 'No' since you are running it under the forum directory.
Oh, geez, that was it. Dyslexic moment I guess I read it wrong the first time. Thanks!

And thanks to the coder of this!
Reply With Quote
  #1759  
Old 07-15-2007, 12:52 AM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you hit New Posts, does it bring up the ones from the groups as well?
Reply With Quote
  #1760  
Old 07-15-2007, 12:55 AM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you move posts from the normal forums to a group?
Reply With Quote
  #1761  
Old 07-15-2007, 02:45 AM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mum View Post
When you hit New Posts, does it bring up the ones from the groups as well?
No

Quote:
Originally Posted by Mum View Post
Can you move posts from the normal forums to a group?
No
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06383 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete