vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - GRPS: Groups Commune 2.0.x (https://vborg.vbsupport.ru/showthread.php?t=127303)

sabret00the 12-15-2006 11:01 AM

Quote:

Originally Posted by Merriweather (Post 1129829)
This is a long thread and it's late, so please forgive me if my questions are already asked/answered...

(1) Can I make groups not allowed to be hidden and/or private?

(2) There is a typo on the main group page. In the left column, under the Group Leader info, instead of "Category" it says "Gateogory" -- where do I go to fix that?

(3) When an invite is sent, the screen with the confirmation message actually says "grps_invitesent" instead of the message it should say. I'm new to vB and don't know where I can edit language files (if that's what they are in vB) to correct this.

(4) Where/how do I change the images shown by default?

(5) Is there a way to control how many characters can be used in the intro?

That's all I have for now, but so far, great, and my members are very excited about it!

(1) Can I make groups not allowed to be hidden and/or private? only admins can hide groups at present, as for not allowing groups to be hidden. you could actually just remove the option with a template edit. though as i'm adding new hooks in the next release i'll add one for a print_no_permission screen just above the saving of options.

(2) There is a typo on the main group page. In the left column, under the Group Leader info, instead of "Category" it says "Gateogory" -- where do I go to fix that? unsure of what template that's in, i'll fix that. though to be honest, a quick search was unable to turn that up just now.

(3) When an invite is sent, the screen with the confirmation message actually says "grps_invitesent" instead of the message it should say. I'm new to vB and don't know where I can edit language files (if that's what they are in vB) to correct this. does i'll fix this as a bug for the next release also

(4) Where/how do I change the images shown by default? they're in the folder "forums/images/grps" just change them there.

(5) Is there a way to control how many characters can be used in the intro? depends on what you mean by control.

sabret00the 12-15-2006 11:06 AM

Quote:

Originally Posted by pcoskat (Post 1129980)
I'm really excited about GRPS!

Couple of questions:

- Can I restrict who can start or join a group by using 'post count'? In other words, I'd like to restrict STARTING a group to members with at least 50 posts. Joining a group would be restricted to members with at least 20 posts. Is that possible?

- Can the GROUP ACTIVITY information be 'syndicated' onto non-vb pages? I would like to have a 'box' on a non-vb page on my domain which displays dynamic information about active groups.

You can either do what Exitilus has done or you can add a plugin to handle it. it seems i removed the code to act on the vBulletin option (well according to both my admincp's) i'll remove the vBulletin option.

sabret00the 12-15-2006 11:08 AM

Quote:

Originally Posted by kj_ugs (Post 1130906)
I was wondering if it was possible to list recent posts and topics in the groups commune on the forum home page somehow?

if i get time i'll knock something up. i was also supposed to knock something up to list groups on a profile. i haven't forgotten that either. but time hasn't been on my side.

cfspinner 12-15-2006 11:11 AM

I'm getting the following errors. Please help!

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/karaokes/public_html/groups/tools/grps_installer.php on line 36

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/karaokes/public_html/groups/tools/grps_installer.php on line 36

sabret00the 12-15-2006 11:17 AM

Quote:

Originally Posted by robertdjung (Post 1131399)
I'm baffled that you never mention that one has to manually edit the user group permissions after you've installed this. I mean, why not add a line that says as much? I thought I'd lost my mind trying to figure out why the proggy wasn't working.

But thanks again, it's a nice add.

i just assumed that all administrators like secure installations and thus customise usergroup permissions with every hack anyway. i will add the line.

sabret00the 12-15-2006 12:05 PM

Quote:

Originally Posted by Morrus (Post 1132043)
A great hack. Some notes on problems/bugs I've noticed or which have been reported to me by users:

1) The navigation breadcrumbs don't work (broken links leading to non-existent pages). Note that groups is not level with the forum directory, but within it. I've tried changing that setting in the AdminCP to no effect.

2) When I click the Quote button to respond to a post, it brings up a blank reply form with no quoting. There's no normal reply button in group forums. When I try to quote, I get a blank reply page (so you could also say there's no quote function and the reply function has a quote button).

3) Same thing happens when you do a preview.

4) I started a thread and when I tried to post a new response in that thread and it simply appended it to the original post. I tested another thread and found that if you reply to someone elses post, it'll put a new response under theres. But if you reply and then reply again, with no other posts in between, it simply appends your reply to your previous post.

5) If I click on "Go Advanced" under the quick reply feature, then I get the following error message:



6) Some spelling/phrasing errors. "Category" is spelt "Category". :)

7) The sidebar telle me that "Type: Group Posts Are Private. Members Are Moderated. Only The Group Leader Can Make Threads.", yet a non-group leader can create threads.

And my thoughts on necessary changes/additions to make this a professional mod:

1) The default image in the group header needs to be sorted out and user-definable. Lots of people have suggested that in this thread, and there's a reason for that.

2) The wacky moderation/group leader powers setup needs to be straightened up. It's not only unintuitive, but it's impractical. As many have pointed out in this thread, the group leader should effectively be moderator of his/her own blog.

3) The ability to remove users is pretty fundamental. A woman created a private girls only group, and while she was struggling to figure out how to make it private, a man joined. Now he can't be removed.

I know that sounds all very critical, but I do think this is a very good hack and well on its way to being as professional as, say, vBlogetin.


1) Which links are broken? You're right, the admincp option does not effect the bread crumbs. i'll look into the feasibility of 'fixing' that.

2) Confirmed bug and will be fixed for next release.

3) Same thing happens when you do a preview.

4) this is the double post prevention feature.

5) Confirmed bug and fixed for next release.

6) Typo on your part?

7) Confirmed bug and fixed for next release.

And my thoughts on necessary changes/additions to make this a professional mod:

1) indeed. however should the donations i hoped for to keep my hosting for another year have come forward as opposed to it coming out of my pocket then as stated on several occasions the usability would be there. please note as much as professionalism is important there's only so much time one man can give to something and sadly i'm in a situation where by my priorities like elsewhere and for good reason.

2) i'm not sure what you're referring to. any group leader has the ability to fully moderate groups. at present the only feature a leader doesn't have is the ability to boot/ban from a group.

3) This will be present at least on administration level for 2.0.5/2.1 whichever naming scheme i preference for the next build depending on how much i have to do.

I know that sounds all very critical, but I do think this is a very good hack and well on its way to being as professional as, say, vBlogetin.[/QUOTE]
You're right it did sound critical but mostly in a good way and it's helped the advancement of the modification. however please bare in mind that while you compare it to vBlogetin, vBlogetin it is not. vBlog... charged $50 a year while this is free. i assure you that if i was getting $50 per installation professionalism would be top of my priority list. however i don't, so sadly it's not.

sabret00the 12-15-2006 12:32 PM

Quote:

Originally Posted by daystorm (Post 1132144)
Hi I am trying to make a search groups code to go on the groups home page.

I would like for it to be a drop down box where they can choose the catagory and then underneath a text box were they can refine their search with a search term.

So far this is the code I have, though, while the drop down is working the extra refining is not. Any help would be greatly appreciated....

HTML Code:

<div id="main_form_container" style="width:275px;float:right;">

        <div id="main_form_header">Group Search</div>
        <div class="row_light">
                <form action="browse.php" method="get" name="group_search_form">
                <input type="hidden" name="do" value="list">
                <div style="padding:2px; padding-left:15px;">
                        <br/>
                        Search In: &nbsp;&nbsp;<select name='c'>
<option value='0'>Choose a category</option>
<option value='13'>Activities</option>
<option value='1'>Automotive</option>
<option value='14'>Business & Entrepreneurs</option>
<option value='5'>Cities</option>
<option value='16'>Companies / Co-workers</option>
<option value='2'>Computers & Internet</option>
<option value='7'>Cultures & Community</option>
<option value='4'>Entertainment</option>
<option value='8'>Fan Clubs</option>
<option value='9'>Fashion & Style</option>
<option value='33'>Fetish, BDSM, & S/M</option>
<option value='10'>Film & Television</option>
<option value='11'>Food, Drink & Wine</option>
<option value='5'>Games</option>
<option value='17'>Gay, Lesbian & Bi</option>
<option value='18'>Government & Politics</option>
<option value='6'>Health, Wellness & Fitness</option>
<option value='34'>Kink</option>
<option value='19'>Literature & Arts</option>
<option value='37'>Mandingo</option>
<option value='20'>Money & Investing</option>
<option value='21'>Music</option>
<option value='22'>Nightlife & Clubs</option>
<option value='23'>Non-profit & Philanthropic</option>
<option value='12'>Other</option>
<option value='24'>Pets & Animals</option>
<option value='25'>Places & Travel</option>
<option value='32'>Porn Industry</option>
<option value='26'>Professional Organizations</option>
<option value='27'>Recreation & Sports</option>
<option value='28'>Religion & Beliefs</option>
<option value='29'>Romance & Relationship</option>
<option value='30'>Science & History</option>
<option value='3'>Sexual Education</option>
<option value='31'>Sorority / Fraternities</option>
<option value='36'>Swinging / Swapping Couples</option>
<option value='35'>Swinging / Swapping Singles</option>

</select>

                        <br/>
                        <br/>
                        Search For: <input type="text" name="searchterm" size="30">
                        <br/><br/>
                        <div style="padding-left:60px;">
                <input type="submit" value="Search" size="30"></div>
                </div>
                </form>
        </div>
       
</div>

Thank you,
Ella

what you'd like to do would require you to edit the search.php in order to allow for the catid variable. it's quite simple really.

find:
PHP Code:

$vbulletin->input->clean_array_gpc('r', array(
    
'do'        => STR_NOHTML,
    
'query'        => STR_NOHTML,
    
'search'    => STR_NOHTML
)); 

and replace with:
PHP Code:

$vbulletin->input->clean_array_gpc('r', array(
    
'do'        => STR_NOHTML,
    
'query'        => STR_NOHTML,
    
'search'    => STR_NOHTML,
    
'c'    => TYPE_INT
)); 

now find:
PHP Code:

    $searchquery "WHERE (grps.title LIKE '%" $db->escape_string($search) . "%' OR grps.description LIKE '%" $db->escape_string($search) . "%')"

and replace with
PHP Code:

    $searchquery "WHERE (grps.title LIKE '%" $db->escape_string($search) . "%' OR grps.description LIKE '%" $db->escape_string($search) . "%') AND grps.catid = " intval($vbulletin->GPC['c']); 

that's untested, though it should work, but it's mainly just to give you an idea.

sabret00the 12-15-2006 12:36 PM

Quote:

Originally Posted by Morrus (Post 1132533)
In addition, is it deliberate that admins don't override the permission-to-view settings on private groups they're not a member of? My server host has a very, very strict no-porn rule which could have my entire server shut down if it's violated. That means I need to be able to deal with instances where people post porn, which can't happen if I can't see the group!

it is indeed deliberate. i'll see about adding an option to enable snooping.

sabret00the 12-15-2006 12:51 PM

Quote:

Originally Posted by daystorm (Post 1132852)
Quote:
Originally Posted by daystorm
How do I add to "My groups" for each user like it is in the UserCP to the Grouphome index page?

Thank you,
Ella

I haven't tried it, but have you tried just pasting in the bit in the install instructions for the UserCP into the Groups template?


Code:
$grps_mygroupsbits


I tried that, but nothing showed up... Any other ideas? And thank you for this one...

please redirect that question to www.grps.org


i'm joking. you'd have to copy the contents of the plugin marked "GRPS: Group Activity In User CP (15 Newest)" to a new plugin at the grps_global_start and prefix it with
PHP Code:

if (THIS_SCRIPT == 'groupshome')


and suffix it with
PHP Code:



and then do what Morrus said :)

sabret00the 12-15-2006 12:54 PM

Quote:

Originally Posted by Morrus (Post 1132953)
Yes anpther bug - total posts does not calculate correctly when viewing a single thread within a group; it merely shows the total posts in that thread, not total posts in that group.

If that's the intention, fine; but since the rest of that info box clearly refers to the whole group and not that single thread, it's very counter-intuitive. Nobody will ever guess that's what it's supposed to mean withut something explicitly telling them so.

that is indeed by design. i will clarify that matter with a different phrase.


All times are GMT. The time now is 10:13 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
  • Page Generation 0.02209 seconds
  • Memory Usage 1,826KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (6)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete