vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   GRPS: Commune For Groups (Dev:Beta) (https://vborg.vbsupport.ru/showthread.php?t=78838)

sabret00the 03-25-2005 10:00 PM

GRPS: Commune For Groups (Dev:Beta)
 
It's in beta but it's only on like beta 3 lol, basically it's got a few bugs in it, i couldn't fix and i knew that their were one or two people that wanted this, as it's more a dev version i'm gonna forego the big sale and just tell you what it does

what's it do: it enables groups to talk.

live demo: www.ebslive.com/groups

spawning: https://vborg.vbsupport.ru/showthread.php?t=58283

ok now you've checked all that info out, let's get on with it, i'm posting this here simply because i need the help of the coders here, it's no one of those hacks where you can install, report a bug and expect a fix in a matter of hours, infact it's more like report a bug and post the fix with it.

known bugs:
postings.php: let's just say the file don't work at all
viewthread.php: can't get the posting behaviour right, you can't quote at the moment for some reason and the quick reply is just generally quirky, the WYSIWYG don't work so right now it loads the Enhanced instead.


ok regarding credit: i need to thank everyone here, marco, kirby, dean, stefan, revan, filburt, amy, noppid, brad and many more, a second thanks to stefan and marco who seemed more than willing to help me with so much including stupid questions i should've known, the everybody who's a mod of the php forum who didn't ban me.

ok now to get on with it.

here you go, test and hopefully i'll be able to get a final out sometime soon :)

latest upload: 06/05/05 12:52 (GMT)

AN-net 03-26-2005 06:47 PM

does this use public usergroups built into vb or this completely separate?

Deaths 03-26-2005 06:52 PM

Cool hack.

I'll wait for the final release though ;)

sabret00the 03-26-2005 06:58 PM

Quote:

Originally Posted by AN-net
does this use public usergroups built into vb or this completely separate?

completely seperate.

new "root/groups/viewgroups.php": it's not in the zip and it fixes a problem with viewing groups.

Deaths 03-26-2005 07:03 PM

Meh, got yourself an install anyway, I'm in a good mood today :D

nexialys 03-26-2005 07:06 PM

/me as usual, will make a comment...

<< hum ?! >>

ok, let's see if i can fix this thing out! -- will have to make a clean install of vB though.. lol

sabret00the 03-26-2005 07:14 PM

the more the merrier :)

nexialys 03-26-2005 07:57 PM

first impressions:

1- i really appreciate the independance of the code structure...
2- good to have a startup pack of images...
3- good to use the HIS!

.. i did not even installed it, and i love it. ;)
[high]* nexialys will take the supper time to install and see what are the bugs...
[/high]

@sabre, can you list the entire list of bugs ?! (known ones!)

sabret00the 03-26-2005 08:01 PM

will do but i'm just on my way out so i will get onto it when i get back (probably the morning as i'm in the uk and it's like 10 pm already)

note to self: zip up the text-free images.

Lionel 03-26-2005 08:58 PM

Quote:

Originally Posted by Deaths
Meh, got yourself an install anyway, I'm in a good mood today :D

I am dying to install this. How did it go for you?

nexialys 03-26-2005 09:42 PM

FIRST DEBUG SESSION:
in the install process:

file to edit:
install/hacks/GRPS/x/queries.php

$query['new'][] = 'ALTER TABLE ' . TABLE_PREFIX . 'usergroup ADD arcadepermissions INT(10) UNSIGNED DEFAULT 0 NOT NULL';

is useless, and try to override some ARCADE permission.. ;)
EDIT: not useless, just error:
$query['new'][] = 'ALTER TABLE ' . TABLE_PREFIX . 'usergroup ADD grpspermissions INT(10) UNSIGNED DEFAULT 0 NOT NULL';


also, change the " ` " for " \' " .. or the queries does not finish in some mysql servers.
.. and these queries at the end ... $query['new'][] = 'INSERT INTO grps_categories
are missing their ending " ) " ...

OTHER EDIT:

??In your /forums/includes/functions_bbcodeparse.php file:

.. there is two occurences of what you need to replace... this is not stated in the process...

??In your /forums/clientscript/vbulletin_editor.js.php file:

this thing to modify:

window.open("../forums/misc.php

you need to edit it more properly and indicate the proper url to your forum, the ../forum is not the same for everyone!

??In your /forums/admincp/adminfunctions_template.php file:

'groups' => 'GRPS', <<< add the " ' " please... to be PHP perfect!

??In your /forums/includes/functions.php file:

\/\/ declares the arcade image directory <<< ARCADE ghost ?!
these \/\/ are not legal comments... use // always !!!



??In your navbar template:

search have to be modified for a default install (missing the accesskey thing!):
<span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span>

and replaced by this:
<span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[hometitle]<if condition="THIS_AREA == groups"> Groups<else /> $vboptions[bbtitle]</if></a></span>

(btw, will need a $vbphrase for the title!)

nexialys 03-26-2005 10:50 PM

ok, more debugs:

big problem about urls and paths... on a clean install, there is no modification forcing to add complete paths for images and javascripts, even if you added some in this install...

you will need something like in vBadvanced... ya know, this:
PHP Code:

    $navreplace['find'] = array(
        
'"clientscript',
        
'\'misc.php',
        
'>$vboptions[bbtitle]',
        
'"$vboptions[forumhome].php'
    
);
    
    
$navreplace['replace'] = array(
        
'"' $vboptions['bburl'] . '/clientscript',
        
'\'' $vboptions['bburl'] . '/misc.php',
        
'>$vboptions[hometitle]',
        
'"$vboptions[homeurl]'
    
);
    
$navreplace construct_replacement_array($navreplacearray$navreplace);
    
    
$templatecache['navbar'] = str_replace($navreplace['find'], $navreplace['replace'], $templatecache['navbar']); 

...

Lionel 03-27-2005 01:37 AM

so, nexialys, does it have your blessing now?

Boofo 03-27-2005 03:35 AM

Looking forward to this when all the bugs are worked out. ;)

Lionel 03-27-2005 03:40 AM

more debugging...

grps_catergories in cat_editor has to be fixed. Table name is grps_categories

you have that typo in all admin files, search.php and index.php

Where are the settings phrases?

a lot of the phrases should in front-end error messages instead of redirect

mysql error: Unknown column 'grps_setting.hide_image' in 'field list' in group.php for table grps_setting

I wonder what this 'grps_setting.hide_image' is? I encountered it twice. I removed in groups.php so I could explore further... then it came back again in invitation.php

The whole idea is great, but as posted above, paths and urls are a nightmare.

Deaths 03-27-2005 07:01 AM

I just realised it overwrites some arcade permitions, had to uninstall...

sabret00the 03-27-2005 09:26 AM

ok re-uploaded with all the simpler stuff, also fixed the problem with the hide_image it was added inbetween builds so was only in the update thus never made it into the original installer. the arcade thing is sorted and that's set back to grpspermissions, saying that deaths it should've never actually tried to use the arcade permissions, it should've just not saved permissions.

Quote:

Originally Posted by nexialys
ok, more debugs:

big problem about urls and paths... on a clean install, there is no modification forcing to add complete paths for images and javascripts, even if you added some in this install...

you will need something like in vBadvanced... ya know, this:
PHP Code:

$navreplace['find'] = array(
        
'"clientscript',
        
'\'misc.php',
        
'>$vboptions[bbtitle]',
        
'"$vboptions[forumhome].php'
    
);
    
    
$navreplace['replace'] = array(
        
'"' $vboptions['bburl'] . '/clientscript',
        
'\'' $vboptions['bburl'] . '/misc.php',
        
'>$vboptions[hometitle]',
        
'"$vboptions[homeurl]'
    
);
    
$navreplace construct_replacement_array($navreplacearray$navreplace);
    
    
$templatecache['navbar'] = str_replace($navreplace['find'], $navreplace['replace'], $templatecache['navbar']); 

...

did the stuff in the functions_grps.php not fix the image problem, i'll definately have to look into it for the jscript and will do the images too if that didn't work.

Quote:

Originally Posted by lsmba
If I may...sounds good...thanks for the contribution! But, is this like a "partitioning off" so-to-speak of the existing vbulletin forum?

And can't this be done already with the existing vbulletin 3.07? Just a little confused as to what this hack "really" can do...thanks for the input.

lsmba

yup alot like partitioning off the forums, if you have loads of sub-forums this is designed to remove them to something more managable :ermm: lol.

and nope the existing vB3 setup doesn't offer this functionality. though the groups thing is available , it doesn't offer the groups pages with the same effectivenes :nervous:

i'll get round to working on documenting stuff and explaining stuff in the installer a bit later today, just in the middle of trying to find my bug logs :(

Lionel 03-28-2005 02:38 AM

in editgroup.php, I don't understand why


PHP Code:

 if ($bbuserinfo[groupid] == 6)
 {
  if (
$groupinfo['hidden_group'])
  {
   
$checked['hidden_group'] =HTML_CHECKED;
  }
 } 

This is causing the checkbox not to be marked check for hidden group, even for the admin who created group.

I commented out //if ($bbuserinfo[groupid] == 6) and checkbox displays properly. I failed to see the logic of that line. If a group owner who is the only one who has access to the group magement wants to know the status of his group, why can't he?

Polo 03-28-2005 04:08 AM

Look really nice!!! thanks sabret00the for releaseing it... will give it a try once most of the bugs are fixed ;) again... thanks it looks great!

phreak420 03-28-2005 04:12 AM

Quote:

Originally Posted by Polo
Look really nice!!! thanks sabret00the for releaseing it... will give it a try once most of the bugs are fixed ;) again... thanks it looks great!

I second that.

Lionel 03-28-2005 04:26 AM

I've sorted out all the paths, got 70% of the bugs removed. I am stucked at appendpost.php. There are a bunch of java errors in there and I cannot edit. Will not allow me to go in the textarea.

nexialys 03-28-2005 09:40 AM

you know what would be the best for the java thing ?!

simply recreate these javascripts in the GRPS directory... the urls are never properly set because they are located underneath the script, and as we can "move" the script where we want, it's impossible to make it fix in the calls...

sabret00the 03-28-2005 10:39 AM

Quote:

Originally Posted by Lionel
in editgroup.php, I don't understand why


PHP Code:

 if ($bbuserinfo[groupid] == 6)
 {
  if (
$groupinfo['hidden_group'])
  {
   
$checked['hidden_group'] =HTML_CHECKED;
  }
 } 

This is causing the checkbox not to be marked check for hidden group, even for the admin who created group.

I commented out //if ($bbuserinfo[groupid] == 6) and checkbox displays properly. I failed to see the logic of that line. If a group owner who is the only one who has access to the group magement wants to know the status of his group, why can't he?

the ability to hide groups from all listings is like if you wanted an "Admin Discussion" group instead of an "Admin Discussion" forum then you wouldn't want all your users knowing that it exists in the same way you wouldn't have such a group visible on the forumhome, so i thought it should only be an option for admins?

sabret00the 03-28-2005 10:41 AM

Quote:

Originally Posted by nexialys
you know what would be the best for the java thing ?!

simply recreate these javascripts in the GRPS directory... the urls are never properly set because they are located underneath the script, and as we can "move" the script where we want, it's impossible to make it fix in the calls...

i think you might be right, especially as i think the inability to get the WYSIWYG-Quick-Reply to post the data is because of something in the jscript.

Lionel 03-28-2005 11:54 PM

!!!! you are a genius! All I did was copy the clientscript folder in the groups directory... and they all work!!!



Quote:

Originally Posted by nexialys
you know what would be the best for the java thing ?!

simply recreate these javascripts in the GRPS directory... the urls are never properly set because they are located underneath the script, and as we can "move" the script where we want, it's impossible to make it fix in the calls...


cosmin 03-29-2005 03:04 AM

--
this would be a perfect fit for our online community as it has grown to almost 12,000 members...an area to form specific 'groups' is awesome. looking forward to a final release or when it is all de-bugged. :) .... excellent idea and work everyone!

sabret00the 03-29-2005 08:34 AM

Quote:

Originally Posted by Lionel
!!!! you are a genius! All I did was copy the clientscript folder in the groups directory... and they all work!!!

of the bugs you've come across how many have been fixed?

nexialys 03-29-2005 10:08 AM

Quote:

Originally Posted by Lionel
!!!! you are a genius! All I did was copy the clientscript folder in the groups directory... and they all work!!!

[high]* nexialys loves when others are calling him genius without having to be paid!!!
[/high]

btw, with that fix, you don't need to add anyother modification to the .js files in the original install... will help the others!

Lionel 03-29-2005 02:00 PM

Quote:

Originally Posted by sabret00the
of the bugs you've come across how many have been fixed?

I'd say I have a working version. Lots of hardcoding for images, both in php and templates. I had to forget avout avatars. Now all that's left to deal with is the navbar, which I 'll probably hardcode too.

sabret00the 03-29-2005 04:17 PM

Quote:

Originally Posted by Lionel
I'd say I have a working version. Lots of hardcoding for images, both in php and templates. I had to forget avout avatars. Now all that's left to deal with is the navbar, which I 'll probably hardcode too.

can you make a zip with your updated templates, files and file structure so i can try and compile a friendlier version?

Lionel 03-29-2005 04:28 PM

Sure not a problem, but I am warning you, this have been customized... plenty of hardcoding all over...

Got your email. I'll do it later tonight.

On an unrelated note, I got the other hack you emailed me to work too.

sabret00the 03-29-2005 06:01 PM

so just to confirm, all the quoting workings perfectly now?

Lionel 03-29-2005 06:12 PM

Before I send it back to sabret00the, can some abuse this please? Only the navbar does not work. I made it so guest could temporarily post. But I'd appreciate a quick registration as guests will not be allowed to post in real life.

Lionel 03-30-2005 03:56 AM

Sent the zip by email. So far so good for me.

Polo 04-18-2005 02:55 PM

Any updates on this?

sabret00the 04-18-2005 03:07 PM

I've played with the code a bit but near enough haven't touched any code since, today was the first time i wrote a line of code for a while, the next release will sort out the discussion page problems so if theirs any bugs bar that i'd appreciate if they were reported now, as i'm hoping to do this all in the next few days :)

Polo 04-18-2005 03:10 PM

how is this hack working on your site sabret00te?? 70%, 80% looks really nice ;)

sabret00the 04-18-2005 03:15 PM

yeah it's mostly working great, i just gotta get the full paths working but due to a template mod i made for getting photopost to work, the fix breaks other stuff, just gotta try out one or two things (i hope) if all leads well i'll be putting some real time into this by the end of the week :)

Polo 04-18-2005 03:23 PM

so if I install the GRPS 1.0 beta 3 it should work on my site at lets say 90, 95%?

sabret00the 04-18-2005 03:25 PM

yup as it is yep but i would say wait till the end of the week to see if i'm able to get a beta 4 out or not.


All times are GMT. The time now is 04:49 PM.

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.02396 seconds
  • Memory Usage 1,856KB
  • 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
  • (4)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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