The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
GRPS: Groups Commune 2.0.x Details »» | |||||||||||||||||||||||||
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?
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
Show Your Support
|
Comments |
#2042
|
||||
|
||||
EDIT: Apparently I spoke too soon. The modification below does not work correctly. Will update this post when I get it working right.
To display groups information on the memberinfo template (the members profile) perform the following: 1. Create a new plug-in called Groups Activity in Memberinfo (15 Newest). Plug-in information Product: GRPS: Groups Commune Hook Location: member_complete Plugin PHP Code: Code:
// ###################### extracts my groups groups for main grps page //require_once("./includes/functions_grps.php"); $grps_ids = explode(' ', trim($vbulletin->userinfo['grps'])); $baselocation = ($vbulletin->options['grps_locationswitch'] == TRUE) ? $vbulletin->options['homeurl'] : $vbulletin->options['bburl']; if (!empty($vbulletin->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 user ON (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 "); 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'] == $vbulletin->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; } if ($grps_mygroupsinfo['dateline'] > $vbulletin->userinfo['lastvisit']) { $grps_mygroupsinfo['newposts'] = "<span class=\"highlight smallfont\">" . $vbphrase['grps_new_posts'] . "</span>"; } else { $grps_mygroupsinfo['newposts'] = 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'] . " " . $grps_mygroupsinfo['newposts'] . " </li> "; } eval('$grps_mygroupsbits .= "' . fetch_template("groups_usercp_groupsbits") . '";'); } Optional step: If you wish to change the width of the member's group information you can do so by finding and changing the following CSS code. In template groups_usercp_groupsbits find: Code:
width: 50em; Code:
width: 100% |
#2043
|
|||
|
|||
Will this mod run on VB 3.7.4???
|
#2044
|
||||
|
||||
I'm not sure, but I doubt it. I don't have 3.7, but from what I understand, a lot has changed between 3.6 and 3.7.
|
#2045
|
|||
|
|||
just installed and it's a great product!
allowing users to upload a group image would be huge though, some sort of banner or something to make the group pages more unique. even better would be a basic group image gallery or something along those lines. |
#2046
|
|||
|
|||
If someone is searching for a converter GRPS -> SocialGroups, PM me.
|
#2047
|
|||
|
|||
sorry for the bump, but I can't get images to work or the links to edit so i can go from it to the main forum. I need help
|
#2048
|
|||
|
|||
Quote:
There doesn't seem to be any way to navigate to the groups page from the main forum, and the images don't work. Would appreciate any help given! |
#2049
|
|||
|
|||
Ok, it doesn't seem to read the forum, so the images won't show and the links go to the /groups directory instead of /forums. How do I fix that?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|