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 09-29-2006 04:50 PM

Quote:

Originally Posted by Lionel
I altered the the description column in grps_categories to make it mediumtxt. It did not make sense that nice big editor box for varchar (250). Indeed my first real group got created and the description got cut-off, making it very brief next to a large group image.

originally i had that field set at 500 but upon installing it on my liveboard, it appears MySQL 4 isn't in favour of that.

sabret00the 09-29-2006 04:51 PM

Quote:

Originally Posted by Snake
I get this error while running the installer file. Any idea?

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

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

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

did you edit your grps_installer.php?

if your config.php is set to
PHP Code:

chdir('../forums'); 

then your grps_installer.php should be set to
PHP Code:

chdir('../../forums'); 


Lionel 09-29-2006 05:43 PM

Quote:

Originally Posted by sabret00the
it definately shouldn't do that.

are you sure it's (the groupid) not within the grps array within the user table?


I also had to change invitations url in invitations.php

homeurl points to www.site.com
bburl correctly points to www.site.com/forums/ where the group folder is located

In all instances I was getting www.site.com/groups/ cannot find

Lionel 09-29-2006 05:45 PM

I hope you don't mind all my reportings. I am not trying to be smart. I simply love your hack and am trying to help.

Lionel 09-29-2006 06:12 PM

While putting a padding around image in groups_display_main, I saw this

Quote:

<if condition="$grps_plugin[gallery]"><div$grps_gallery[style]>
What is the group gallery?

Snake 09-29-2006 07:17 PM

Quote:

Originally Posted by sabret00the
did you edit your grps_installer.php?

if your config.php is set to
PHP Code:

chdir('../forums'); 

then your grps_installer.php should be set to
PHP Code:

chdir('../../forums'); 


It is set to that already.

Quote:

// ################ SET SCRIPT LOCATION ENVIRONMENT ######################
chdir('../../forums/groups/tools/grps_installer.php');
Still getting the same error.

:Judge: 09-29-2006 07:44 PM

Ok my issues are taken care of, thank you for the help. Can't wait to see some addons, it's nice as is but it could be a hell of alot better.

If your charging for addons let me know what you have and what they are running.

Thanks

ChurchMedia 09-29-2006 08:37 PM

I'm still getting a few DB errors in admincp -- missing table prefixes.

This hack is a great idea. My members are going to love it when I get it up and running! :)

Lionel 09-29-2006 08:39 PM

Please, although it is saying username all over on the invitation form, I already have people trying to put email addresses and of course, they get

Quote:

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 779
is there a way to verify a username in the below and display a vb error if not found?

Thanks.

PHP Code:

 foreach ($vbulletin->GPC['invite_username'] as $key => $invite)
 {
  if (!empty(
$invite))
  {
   
// create the DM to do error checking and insert the new PM
   
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
   
$pmdm->set('fromuserid'$vbulletin->userinfo['userid']);
   
$pmdm->set('fromusername'$vbulletin->userinfo['username']);
   
$pmdm->set('title'$newpmtitle);
   
$pmdm->set('message'$message);
   
$pmdm->set_recipients($invite$botpermissions);
   
$pmdm->set('dateline'TIMENOW);
   
$pmdm->save();  
  }
 } 


whitetigergrowl 09-29-2006 10:26 PM

Quote:

Originally Posted by sabret00the
what's the exact database error? and what's the url or the 404?

url:

http://www.powerrangerempire.com/com....php?do=groups

^^^ Its to moderate the groups.

database error:

Quote:

Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT grps.groupid, grps.title, grps.description, grps.leaderid, user.username, grps_categories.catid, grps_categories.title AS catname
FROM grps
LEFT JOIN user ON (user.userid = grps.leaderid)
LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
WHERE approved != '1';

MySQL Error : Table 'powerran_vb.user' doesn't exist
Error Number : 1146
Date : Friday, September 29th 2006 @ 06:25:22 PM
Script : http://www.powerrangerempire.com/com....php?do=groups
Referrer : http://www.powerrangerempire.com/groups/index.php?
IP Address : xxxxxxxxxxxxxxxxx
Username :xxxxxxxx
Classname : vB_Database


All times are GMT. The time now is 07:40 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.02039 seconds
  • Memory Usage 1,764KB
  • 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
  • (5)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