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 01-18-2007 02:00 PM

People please forgive my neglect, i haven't abandoned this, in fact it's been very much in my thoughts across the whole week and a bit. I am however unfortunately very ill, though getting better and thus haven't touched the code while moaning to any female that would listen about the fact i'm on death door. I hope to resume coding next week. Again apologies.

If any of you have feature requests, please feel free to post them and align them to the right of the page so as they stand out. bug reports will be picked up on too. depending on how expensive the bugs along with what priority i place on the feature suggestions i consider viable, i'm also looking to fold in the gallery very soon.

Anyway i'll try and formulate a road map when i'm back to coding again, hopefully monday. I'm sorry i never alerted you all sooner.

nul7 01-20-2007 03:37 PM

Sooo... anyone have an idea on how to add an entry to the breadcrumb (navbits) to the groups home? I checked out some of the sites people have posted in this thread and it seems like it's a problem on all installations. This is the only thing holding us back from going live with the mod.

sabret00the 01-22-2007 11:56 AM

Quote:

Originally Posted by Cocko (Post 1142985)
regarding this hack for weeks
til now its only in test at my forum.

hm.. i would hope that this hack with hours of coding is running
but after update 2.0.4 to 2.0.5 i got blank page groups/index.php

remove the plugin completely and then install from scratch, it would appear the templates didn't upload.

sabret00the 01-22-2007 01:04 PM

Quote:

Originally Posted by Insert Username (Post 1143139)
sabret00the, I've got a weird one for you. Not even sure how to troubleshoot it. I've got at least a couple users telling me that a couple user's posts are being ignored in groups. Mine in particular. If they remove a couple unrelated users from their ignore list, we all show up.

My initial thought is that groups isn't playing nice with the vBulletin userID numbers, but I'm not sure how that could be the case.

I have no idea if I explained that well. Here's another shot:

User A has M and N on ignore.
In Groups, User A can't see B and C's posts.
User A removes M and N from their ignore list.
User A can now see B and C's posts.

Let me know if there's something I can check to help solve this. It really has me puzzled.

Do you have any plugins running in the postbit factory?

sabret00the 01-22-2007 01:27 PM

Quote:

Originally Posted by Exitilus (Post 1143210)
Also Sabre. I'm wondering if there can be some sort of plan in the future to use Custom Templates for the Postbit & Editor. Mine are customized extensively and because of that not all items work. I know its a hard thing to even consider but thought I might try.

i would suggest using a conditional for that in the template or use the postbit_factory plugin to define the template i.e.
PHP Code:

$handled_type TRUE;
$out 'customtemplatename'

The reason i don't want to use custom profiles is probably the reason you want to use custom templates. i want to enable people have a seamless experience in regards to reading threads and reading group-threads.

sabret00the 01-22-2007 01:58 PM

Quote:

Originally Posted by Exitilus (Post 1144186)
Sabretooth I think I fixed the issue with the View Last Reply, View New Posts etc.... IT wasn't working prior to a change I made and started working after I made the change. Though I have 1 user saying it still doesn't work (they have a MAC so who knows) ..

Anyways you may know better but in Navbar Template it calls for vbulletin_md5.js

I added the full entire URL to that file vs. the /clientscript/vbulletin_md5.js and started working O.o

that only appears for guests and thus those options don't show by design.

sabret00the 01-22-2007 02:00 PM

Quote:

Originally Posted by Exitilus (Post 1144293)
Found another small lil Bug.

Template: groups_memberinfo_groups


<td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('groups_usersgroups')"><img id="collapseimg_groups_usersgroups" src="$vboptions[bburl]/$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_groups_usersgroups].gif" alt="" border="0" /></a>

Above, the IMG SRC. Basically you have a redundant pointer. Your pointing to the BBURL and Stylevar URL. This is the only page I've seen this happen on so :)

fixed.

sabret00the 01-22-2007 02:01 PM

Quote:

Originally Posted by Trana (Post 1144301)
I can't seem to find the answer to this one, sorry if it is a duplicate.

How do I set the header image per group?

custom header image? that isn't within the scope of the product as it stands.

sabret00the 01-22-2007 02:02 PM

Quote:

Originally Posted by Trana (Post 1144304)
I've been testing this on a development machine and noticed this problem in the admincp. Not all of the options have descriptions.

May be a bug, just thought I would post it as an FYI.

remove the hack then reinstall the hack. i'll see about adding something to remove it as standard in the upgrade without the hassle.

sabret00the 01-22-2007 02:11 PM

Quote:

Originally Posted by Morrus (Post 1144352)
Looking much better, sabretooth - thanks!

1) One bug I noticed before, and can't beleive I forgot to point out - the number of replies on the groups thread listing page (http://www.yoursite.com/groups/groups.php?g=xxxx) is totally screwed up. It shows something like 2, 3, 6 or something replies, when in actuality there are 40+. This is happening on all groups and all threads.

2) Switching between regular and legacy postbits in the AdminCP doesn't work.

Also - not a bug, just a request - any chance of getting pagination on the thread listing display like on the forums proper? (So on the same page as I mentioned above)?

Merry Xmas, BTW!

1/ Basically it's counting threads not posts. for some reason i didn't include the phrase or update the template. it seems to be something i forgot to complete. it's now been sorted.

2/ i still have this working on my testboard (3.5.2) and live board (3.6.4).

3/ i don't get how you mean, can you elaborate?

sabret00the 01-22-2007 02:13 PM

Quote:

Originally Posted by jilly (Post 1146132)
I have extra images in my postbits, beyond avatars and such, that denote usergroups, but they aren't showing up in the groups area. Where do I need to code the full url to get these extra images to show up?

Take a look at Strings To Find In "viewthread.php" and Strings To Replace In "viewthread.php"

Those were designed specifically for this purpose.

sabret00the 01-22-2007 02:17 PM

Quote:

Originally Posted by jilly (Post 1146133)
i had a group leader who kicked herself out.. is this a bug?

Also, suggestion that there be a 'resign' option, for if a group leader wants to resign, and hand the group controls over to someone else.

indeed it's a bug. and it's now been fixed.

suggestion noted.

sabret00the 01-22-2007 02:23 PM

Quote:

Originally Posted by dcasux (Post 1146225)
OIY..the installation instructions are abisimal for non-PHP coders.

"now go to your "groups/include/config_grps.php" and edit it accordingly. if you are having problems using your relative path, then please try your full path."

Edit it accordingly.......to what? To my forums folder? To config.php? to config_grps.php?

it says edit it, not rename it.

Quote:

Originally Posted by dcasux (Post 1146225)
In my config_grps.php I have chdir("../");

This appears to be ok, as when I run grps_installer, I only get 3 errors.

Oh, then I see there's a chdir command in the grps_installer.php. I did seem to figure out that I need to edit this as well. Change to chdir("../"); on line 16. Ok...down to 2 errors now.

Now my errors are on line 36 of grps_installer.php. "require_once("./global.php");".

Is this line failing because it cannot find global.php?

Here's the error:

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

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\groups\tools\grps_installer.php on line 36

please not that the errors denote you haven't successfully edited your configuration file.

Quote:

Originally Posted by dcasux (Post 1146225)
I'm running IIS and the forum and groups folders are in the root of the web server.

Please note that your config should read
PHP Code:

chdir("../forum/"); 

there is no need to edit any other php file.

sabret00the 01-22-2007 02:25 PM

Quote:

Originally Posted by jilly (Post 1146546)
As it stands now, when you are looking at the breadcrumbs above the navbar in the groups home, you can't get back to the main forum home page from there, only the groups home page. I'd like for the left-most link to be back to the main home page..

please note that the groups were designed to run adjacent to the forums and not below the forums hence why the breadcrumb doesn't show the forums in the navbar.

sabret00the 01-22-2007 02:28 PM

Quote:

Originally Posted by Trana (Post 1146638)
Two questions...

How can I set it to send notifications to more than the admin? I'd like to send it to all moderators.

that would require hacking.

Quote:

Also, how can I disable the bbcode parsing for the invite emails. Whose email client supports bbcode? The invites don't look very good if you don't let the client decide how to display their own URLs from the email text.

Thanks!
what emails are those?

sabret00the 01-22-2007 02:31 PM

Quote:

Originally Posted by jilly (Post 1146986)
I made a group, then went to edit the group description from the back end. It changed in the admin cp group, but even though I refreshed it several times, it didn?t change on the front end.

When I went into moderation tools from the front end, then it worked

the backend was actually designed for moderation and the obsolete automatic thread. i'll edit and change it to the other text.

sabret00the 01-22-2007 02:34 PM

Quote:

Originally Posted by bada_bing (Post 1147341)
sabret00the

Just wondering if you remembered to update the 3.5.x plugin with all the update ypu have made to the 3.6 version.. Also can you past the link to that 3.5 pliugin?

Thank You

if you haven't done so i suggest pressing install on that thread, email notifications are sent out with each update.

sabret00the 01-22-2007 02:36 PM

Quote:

Originally Posted by cfspinner (Post 1147648)
I installed it, and found that it works well. I hope you don't mind, but I made several modifications to the layout, and also tied in a couple of the other features of my site, like vBlogetin and Photopost. Take a look and let me know what you think.

http://www.karaokestories.com

glad you got the look and feel you're after :)

sabret00the 01-22-2007 02:38 PM

Quote:

Originally Posted by cfspinner (Post 1148253)
If sabret00the doesn't have an issue with it, I can post it. sabret00the?

feel free to post, feel free to start a release thread and release it as it's own template modification if you'd like modification and customisation are very welcome.

sabret00the 01-22-2007 02:47 PM

Quote:

Originally Posted by bada_bing (Post 1150088)
Crap that stinks! sabret00the can you confirm this? If not can you have it so that it does or else lots of features will break like subscriptions.

i confirm this. plugins such as grps_newreply_successful were added specifically for this.

sabret00the 01-22-2007 02:49 PM

Quote:

Originally Posted by ChurchMedia (Post 1150990)
Hey, buddy! I've been with your project for a long time and have donated 100 to it already. I'm willing to do another 100 if you could add attachments to it. That would make it absolutely perfect for me! What do you think? Is it possible?

:)

Oh -- and I'd love to see it post a simple "There's been a post to the X group" in a specified thread in the main VB forum.

i'll see about navbar integration.

also the attachments thing, you're ot the first person to request it. i'm planning to integrate the gallery soon, so once that's in and bug free i'll look into attachments. at this moment in time, it's simply looking into it.

sabret00the 01-22-2007 02:52 PM

Quote:

Originally Posted by romanticyao (Post 1151981)
get erro here

Invalid SQL:
ALTER TABLE `usergroup` ADD `grpspermissions` INT(10) UNSIGNED DEFAULT 0 NOT NULL;
MySQL : Duplicate column name 'grpspermissions'

run the uninstaller before trying to run the installer again.

sabret00the 01-22-2007 02:59 PM

Quote:

Originally Posted by Trana (Post 1158968)
No search, no extensible permissions, extremely limited administrator functions.

Please elaborate? that's like saying that the default search should vBGallery for posts and then throwing your toys out of your pram because it doesn't.

sabret00the 01-22-2007 03:00 PM

Quote:

Originally Posted by XtAzY (Post 1157733)
Im just wondering... before i even knew this hack exist, i already have my forums with multiple subforums which act like groups. It has many threads in it. I was wondering for the next version, if it's possible to make a function that lets you move or dump existing thread on the forum to the groups created by this hack?

interesting idea.

sabret00the 01-22-2007 03:03 PM

Quote:

Originally Posted by nul7 (Post 1163516)
Sooo... anyone have an idea on how to add an entry to the breadcrumb (navbits) to the groups home? I checked out some of the sites people have posted in this thread and it seems like it's a problem on all installations. This is the only thing holding us back from going live with the mod.

it would require editing practically all of the files.

sabret00the 01-22-2007 03:06 PM

Quote:

Originally Posted by Mr Pink (Post 1159648)
Trying in local, it give me this error:

your config_grps.php is incorrect.

sabret00the 01-22-2007 03:07 PM

Quote:

Originally Posted by nul7 (Post 1159193)
I've installed this, but have not done any template edits until I can confirm that it's working (maybe that's my problem?). Everything seems to be ok except for a couple little things:

1. Breadcrumb: It displays "mysite.com Groups" but when clicked, it takes me back to my homepage, not the groups home. I would like to have it as "Mysite.com" > "Groups". Where is it even setting the breadcrumb? I can't find this anywhere.

2. Footer: It's replacing the link to "Mysite.com" in the footer with "Mysite.com Groups", but once again, it goes to the home page, not the groups home. I would like 2 separate links here, one for the home page, one for the groups page. I can do this with a template edit, but I'll need to disable this automatic link replacement. Where is this??


Info on my install:

Forums are in ./forum
Groups are in ./groups
I am using vbadvanced

EDIT: Also, I noticed that when someone is viewing groups, it shows they are on the homepage in WOL. Thought that might help...

in one of your proceeding posts you mention that the problem is common (Navbar linking to forums directory), can you please show me examples.

Exitilus 01-22-2007 07:18 PM

1.) Edit Button not displaying for users
2.) View Last Post, View Last Reply Buttons not working

I was also mentioning how I'd like it if the Groups had the option for a Custom Template instead of using either Postbit or Legacy. My problem is I have a customized template with things that aren't working and cause errors. I spent hours trying to recode the system to use a custom template but I couldn't figure it out :(

Exitilus 01-22-2007 07:31 PM

Quote:

Originally Posted by sabret00the (Post 1164990)
i would suggest using a conditional for that in the template or use the postbit_factory plugin to define the template i.e.
PHP Code:

$handled_type TRUE;
$out 'customtemplatename'

The reason i don't want to use custom profiles is probably the reason you want to use custom templates. i want to enable people have a seamless experience in regards to reading threads and reading group-threads.

oops. Didn't see you responded to this so ignore my message above.

For the Custom Template code you posted above would that work in the template? I spent several hours trying to use the Postbit Factory to get this done but couldn't figure it out *cry*

sabret00the 01-23-2007 12:34 PM

Quote:

Originally Posted by Exitilus (Post 1165242)
oops. Didn't see you responded to this so ignore my message above.

For the Custom Template code you posted above would that work in the template? I spent several hours trying to use the Postbit Factory to get this done but couldn't figure it out *cry*

basically create a new template called 'exitilus_postbit' which should be a stripped down, vanilla version of your current postbit, or even just the original postbit that comes with vBulletin. and then create the plugin, the plugin hook is: 'postbit factory' with the contents from above.
PHP Code:

if (THIS_SCRIPT == 'groupsdiscussion')
{
$handled_type TRUE;
$out 'exitilus_postbit';


and then all should work.

Insert Username 01-23-2007 01:37 PM

Quote:

Originally Posted by Exitilus (Post 1165227)
1.) Edit Button not displaying for users

I'm having this problem, too.

mwsforums 01-23-2007 08:38 PM

I just installed this, and when I go to mysite.com/groups/ I'm getting a vbulletin message that I don't have permission to access the page, and can't for the life of me figure out where to adjust permissions.

nul7 01-23-2007 08:47 PM

Quote:

Originally Posted by mwsforums (Post 1165980)
I just installed this, and when I go to mysite.com/groups/ I'm getting a vbulletin message that I don't have permission to access the page, and can't for the life of me figure out where to adjust permissions.

Edit each of your usergroups.... at the very bottom is the section regarding GRPS.

nul7 01-23-2007 08:53 PM

Quote:

Originally Posted by sabret00the (Post 1165069)
in one of your proceeding posts you mention that the problem is common (Navbar linking to forums directory), can you please show me examples.

I meant that it was common that there is no breadcrumb for the groups home.

I'm not at home right now so I don't know the exact edit I made, but for the renaming thing I had to do a file edit and comment out one of the find/replace items. For some reason it was changing all instances of links on the screen that were just my site name and adding "groups" after it. But then it would link back to the homepage and not to the groups page.

For example, if I had a link labled "MySite.com" and it linked to www.mysite.com (e.g. - in the navbits and footer), it would replace the label to "MySite.com Groups" but not update the actual link to www.mysite.com/groups, instead it left the link pointing to the homepage.

JOOC, why are you renaming all links to the homepage and adding "Groups"? lol Just wondering if there was a purpose to that and I'm just not understanding.

Exitilus 01-24-2007 03:01 AM

Quote:

Originally Posted by sabret00the (Post 1165718)
basically create a new template called 'exitilus_postbit' which should be a stripped down, vanilla version of your current postbit, or even just the original postbit that comes with vBulletin. and then create the plugin, the plugin hook is: 'postbit factory' with the contents from above.
PHP Code:

if (THIS_SCRIPT == 'groupsdiscussion')
{
$handled_type TRUE;
$out 'exitilus_postbit';


and then all should work.

I do appreciate the help you've given me. I've been playing around for a while with what you put and getting a couple of errors on line 328 of viewthread.php. Also I figured that I should also cache the template so I added it with the rest of them in viewthread.php.

Anyways if I use
PHP Code:

if (THIS_SCRIPT == 'groupsdiscussion')
{
$handled_type TRUE;
$out 'postbit_groups';


I get Fatal error: Call to a member function on a non-object in viewthread.php on line 327

If I use
PHP Code:

if (THIS_SCRIPT == 'groupsdiscussion')
{
    
$handled_type true;
    
$out->templatename 'postbit_groups';


Fatal error: Call to undefined function: construct_postbit() in viewthread.php on line 328

Spin Doctor 01-24-2007 09:50 AM

i have tried and tried, cant get rid of this error on the installer

Quote:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/hiphopsp/public_html/forum/groups/includes/config_grps.php on line 15

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/hiphopsp/public_html/forum/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/hiphopsp/public_html/forum/groups/tools/grps_installer.php on line 36

Exitilus 01-24-2007 11:52 AM

did you configure config_grps.php ?

pkallberg21 01-25-2007 04:00 PM

Hey!

I am having trouble installing this mod. I have done everything correctly, and then when I get to the install.php part I only get a blank page when I go to the url. What could the problem be?

Thanks, and great mod btw.

Exitilus 01-25-2007 07:59 PM

I think that is what it is suppose to do :)

aacircle 01-26-2007 12:19 PM

I would like to know what tables are altered and created please. Is all data related to this addon in their own tables or do they manipulate vbulletin tables?

If I don't like this product, what steps are required to uninstall it totally? I hope you can continue to support this product for years to come and even perhaps get a team to take it under their wings should you not have the time.

Thank you.


All times are GMT. The time now is 03:41 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.03466 seconds
  • Memory Usage 1,886KB
  • 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
  • (7)bbcode_php_printable
  • (35)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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