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)

bada_bing 10-09-2006 11:34 AM

Quote:

Originally Posted by MissKalunji
n e one has it on demo so i can see plz

You can check out my site its working well...
www.seekingadultfriends.com or to go right to the groups
www.seekingadultfriends.com/groups/

tidy_boy 10-09-2006 11:45 AM

Quote:

Originally Posted by Jay-MOB
When i do the installation file, it gives me this error.

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/internat/public_html/groups/tools/grps_installer.php on line 45

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/internat/public_html/groups/tools/grps_installer.php on line 65

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

i can access the homepage for the group now, but i do not have the permission, however if i want to change the acess for usergroups i am getting this error. i have tried your suggestion from the post previously to this, however still not working.

Code:

Database error in vBulletin 3.6.2:

Invalid SQL:
UPDATE vusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Administrators',
        `description` = '',
        `usertitle` = 'Administrator',
        `opentag` = '<font color=\"#FF0000\"><b>',
        `closetag` = '</b></font>',
        `passwordexpires` = '180',
        `passwordhistory` = '360',
        `arcadepermissions` = '255',
        `vbghsepermissions` = '15',
        `forumpermissions` = '1048575',
        `genericpermissions` = '1073741759',
        `attachlimit` = '0',
        `pmquota` = '50',
        `pmpermissions` = '7',
        `pmsendmax` = '5',
        `calendarpermissions` = '63',
        `wolpermissions` = '31',
        `adminpermissions` = '3',
        `genericoptions` = '63',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '80',
        `avatarmaxheight` = '80',
        `avatarmaxsize` = '20000',
        `signaturepermissions` = '237567',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '2000',
        `sigmaxrawchars` = '0',
        `sigmaxchars` = '0',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '0',
        `grpspermissions` = '3'
WHERE usergroupid=6;

any way to fix this?

my site is www.internationalmedics.org/groups/


I am still having this problem can someone help me please

Connector 10-09-2006 11:59 AM

Can't you add some feature like MSN Group or Yahoo Group .. ?

Thanks anyway i been waiting for something like this long time ago : )

MissKalunji 10-09-2006 12:10 PM

Quote:

Originally Posted by bada_bing
You can check out my site its working well...
www.seekingadultfriends.com or to go right to the groups
www.seekingadultfriends.com/groups/

Thanks! now i have another question when you post in the group does it count towards your post?

sabret00the 10-09-2006 08:45 PM

Quote:

Originally Posted by Mr. Boo
Thanks for this it looks like a really awesome mod, Im having a problem with installation though :( I get the following error...

PHP Code:

Fatal errorCannot redeclare fetch_avatar_url() (previously declared in /home/killah03/public_html/forums/includes/functions_user.php:259in /home/killah03/public_html/forums/includes/functions_grps.php on line 53 

Could it be another mod interfering with this one?

you have vBredux installed or something similar?

in your functions grps, find:
PHP Code:

// ###################### Start getavatarurl #######################
function fetch_avatar_url($userid)
{
    global 
$session$vbulletin;

    if (
$avatarinfo $vbulletin->db->query_first("
        SELECT user.avatarid, user.avatarrevision, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
        FROM " 
TABLE_PREFIX "user AS user
        LEFT JOIN " 
TABLE_PREFIX "avatar AS avatar ON (avatar.avatarid = user.avatarid)
        LEFT JOIN " 
TABLE_PREFIX "customavatar AS customavatar ON (customavatar.userid = user.userid)
        WHERE user.userid = " 
intval($userid)))
    {
        if (!empty(
$avatarinfo['avatarpath']))
        {
            return 
$avatarinfo['avatarpath'];
        }
        else if (
$avatarinfo['hascustomavatar'])
        {
            if (
$vbulletin->options['usefileavatar'])
            {
                return 
$vbulletin->options['avatarurl'] . "/avatar" $userid "_" $avatarinfo['avatarrevision'] . ".gif";
            }
            else
            {
                return 
$vbulletin->options['bburl'] . "/image.php?u=" $userid "&amp;dateline=" $avatarinfo['dateline'];
            }
        }
        else
        {
            return 
'';
        }
    }


and replace with
PHP Code:

if (!function_exists('fetch_avatar_url'))
{
    function 
fetch_avatar_url($userid)
    {
        global 
$session$vbulletin;

        if (
$avatarinfo $vbulletin->db->query_first("
            SELECT user.avatarid, user.avatarrevision, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
            FROM " 
TABLE_PREFIX "user AS user
            LEFT JOIN " 
TABLE_PREFIX "avatar AS avatar ON (avatar.avatarid = user.avatarid)
            LEFT JOIN " 
TABLE_PREFIX "customavatar AS customavatar ON (customavatar.userid = user.userid)
            WHERE user.userid = " 
intval($userid)))
        {
            if (!empty(
$avatarinfo['avatarpath']))
            {
                return 
$avatarinfo['avatarpath'];
            }
            else if (
$avatarinfo['hascustomavatar'])
            {
                if (
$vbulletin->options['usefileavatar'])
                {
                    return 
$vbulletin->options['avatarurl'] . "/avatar" $userid "_" $avatarinfo['avatarrevision'] . ".gif";
                }
                else
                {
                    return 
$vbulletin->options['bburl'] . "/image.php?u=" $userid "&amp;dateline=" $avatarinfo['dateline'];
                }
            }
            else
            {
                return 
'';
            }
        }
    }



sabret00the 10-09-2006 08:46 PM

Quote:

Originally Posted by KevNJ
* votes for mod of the month *

have 0 problems the one i had was cause of something i did wrong. everything is great. although maybe an easier to understand install directions.

is is possible for each group catagory to have its own picture uploaded ? instead of grps_noimage_2.gif and it being random. can we set those to be a default image?

For example in the automtive area if I make a Mustang group, can we make the "default" mustang group image an actual image of a mustang? Seems now the images are chosen at random.




edit - forgot to mention. it calls for images of grps_noimage_*.gif where the star is it was calling for 4,5,6,7,8,9 which are not included in the zip file. should include those or make a not in the orginal post or install file cause now at 25 pages deep theres a bit to read for some users.

in your vBulletin options, change the number of random images down to 3.

sabret00the 10-09-2006 08:48 PM

Quote:

Originally Posted by tidy_boy
Hi mate

My config is set to what you said and my installer is set to what you said. I still get the same db error when I try to change the usergroup permissions

Any Ideas?

run the installer, you're missing your table alteration to the usergroup table.

sabret00the 10-09-2006 08:51 PM

Quote:

Originally Posted by Neutral Singh
This gr8 piece of coding makes changes in the core vb database files like usergroups... so i thought it would be nice to have uninstaller just in case somebody wants to reinstall or uninstall the plugin.

How do we update Templates after every upgrade. I installed a new skin after installing groups addon but its not showing up the right path for images. I dont want to manually edit the templates to achieve this... Please guide me;... http://www.sikhphilosophy.net/groups/

One thing more that i like to report is that once we are in Groups Module there is no way to get back to the forums as all links are suffixed with groups directory.

Regards

hmm, the last person that reported that had a ZSEO problem, i notice, you don't have ZSEO but instead vBSEO, try disabling that and checking whether or not that works (as to identifying your problem) as for the templates, the only way is to uninstall and reinstall at present. though now i know what you mean regarding an installer, it's a good idea, but a little more work than i'm willing to put in right now.

sabret00the 10-09-2006 08:52 PM

Quote:

Originally Posted by Jay-MOB
When i do the installation file, it gives me this error.

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/internat/public_html/groups/tools/grps_installer.php on line 45

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/internat/public_html/groups/tools/grps_installer.php on line 65

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

i can access the homepage for the group now, but i do not have the permission, however if i want to change the acess for usergroups i am getting this error. i have tried your suggestion from the post previously to this, however still not working.

Code:

Database error in vBulletin 3.6.2:

Invalid SQL:
UPDATE vusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Administrators',
        `description` = '',
        `usertitle` = 'Administrator',
        `opentag` = '<font color=\"#FF0000\"><b>',
        `closetag` = '</b></font>',
        `passwordexpires` = '180',
        `passwordhistory` = '360',
        `arcadepermissions` = '255',
        `vbghsepermissions` = '15',
        `forumpermissions` = '1048575',
        `genericpermissions` = '1073741759',
        `attachlimit` = '0',
        `pmquota` = '50',
        `pmpermissions` = '7',
        `pmsendmax` = '5',
        `calendarpermissions` = '63',
        `wolpermissions` = '31',
        `adminpermissions` = '3',
        `genericoptions` = '63',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '80',
        `avatarmaxheight` = '80',
        `avatarmaxsize` = '20000',
        `signaturepermissions` = '237567',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '2000',
        `sigmaxrawchars` = '0',
        `sigmaxchars` = '0',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '0',
        `grpspermissions` = '3'
WHERE usergroupid=6;

any way to fix this?

my site is www.internationalmedics.org/groups/

you need to edit your grps_installer.php.

sabret00the 10-09-2006 08:53 PM

Quote:

Originally Posted by Connector
Can't you add some feature like MSN Group or Yahoo Group .. ?

Thanks anyway i been waiting for something like this long time ago : )

what kind of features are you referring to?


All times are GMT. The time now is 07:37 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.02411 seconds
  • Memory Usage 1,818KB
  • 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_code_printable
  • (3)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
  • (4)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