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)

Lionel 09-23-2006 10:07 AM

Looks good. You forgot to include the function grps_rewrite_links

sabret00the 09-23-2006 10:24 AM

Quote:

Originally Posted by Milad
your ad-on need some improving
For example:
you ask us to edit the file ROOT/forums/includes/xml/cpnav_vbulletin.xml
but you can add a file and call it for ex: cpnav_groupscommune.xml

and it contains the following
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<navgroups product="groupscommune">

        <navgroup phrase="moderation" displayorder="70">
                <navoption displayorder="70">
                        <phrase>moderate_groups</phrase>
                        <link>grps_moderate.php?do=groups</link>
                </navoption>
        </navgroup>
       
</navgroups>

then add it in the directory: ROOT/forums/includes/xml/

Thank you, i've learned something new.

Quote:

Originally Posted by Milad
and you can include your installation and unistallation script in the product xml file.

i had the option too, i chose not too.

Quote:

Originally Posted by Milad
and you have to use the table prefix in the whole script mysql queries.

why? it's a major addition, in short, i don't want to.

Quote:

Originally Posted by Milad
I advise you to use the Advanced Product Manager, you can find it in this forum, it will help you very much.

why?

Quote:

Originally Posted by Milad
I will click install to track your product, but won't install it untill it follows the vbulletin ad-ons standards.

that's your decision.

Quote:

Originally Posted by Milad
Regards

aye.

sabret00the 09-23-2006 10:25 AM

Quote:

Originally Posted by Lionel
Looks good. You forgot to include the function grps_rewrite_links

lines 324-378 in the forums/includes/functions_grps.php.

Neal-UK 09-23-2006 10:34 AM

Quote:

Originally Posted by sabret00the
if your forums are in the site root then your config should have something like
PHP Code:

chdir('../'); 


done that, can't get it to install on here www.meeting4fun.com

sabret00the 09-23-2006 10:42 AM

Quote:

Originally Posted by Neal-UK
done that, can't get it to install on here www.meeting4fun.com

try
PHP Code:

chdir('public_html'); 

and let me know the result please Neal.

Neal-UK 09-23-2006 10:54 AM

Quote:

Originally Posted by sabret00the
try
PHP Code:

chdir('public_html'); 

and let me know the result please Neal.

No, same errors. No such file or directory.....

PHP Code:

// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("public_html");
// ## Set's the base root directory back to the forums for all images ##
$img_forums "public_html";
// ## Set GRPS to rewrite links and images automatically
$rewrite_links TRUE


Lionel 09-23-2006 11:00 AM

The index page throws an error and says that function does not exists. It does though.

Also in admin_cateditor (i believe) you forgot to add "as icon" in the table join, so that throws a table does not exists error.

sabret00the 09-23-2006 11:02 AM

Quote:

Originally Posted by Neal-UK
No, same errors. No such file or directory.....

PHP Code:

// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("public_html");
// ## Set's the base root directory back to the forums for all images ##
$img_forums "public_html";
// ## Set GRPS to rewrite links and images automatically
$rewrite_links TRUE


one more quick off the cuff try at something

PHP Code:

// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("/home/radscan/public_html/");
// ## Set's the base root directory back to the forums for all images ##
$img_forums "../";
// ## Set GRPS to rewrite links and images automatically
$rewrite_links TRUE


Neal-UK 09-23-2006 11:38 AM

No, same errors. The install file is located in /groups/tools folder by the way, different according to your instructions.

Thanks for the help though and good mod!

sabret00the 09-23-2006 11:38 AM

Quote:

Originally Posted by Lionel
The index page throws an error and says that function does not exists. It does though.

Also in admin_cateditor (i believe) you forgot to add "as icon" in the table join, so that throws a table does not exists error.

what's the exact error message?

sabret00the 09-23-2006 11:47 AM

Quote:

Originally Posted by Neal-UK
No, same errors. The install file is located in /groups/tools folder by the way, different according to your instructions.

Thanks for the help though and good mod!

i thought we were talking about the normal groups files, ok if it's an install file problem, go to your groups/tools/grps_installer.php and manually enter the chdir stated above. i'll update the instructions after the football.

leave your config as is, having just checked, it's found your global.php

Neal-UK 09-23-2006 12:02 PM

ok, installed now and will play around later with it.

ecansel 09-23-2006 12:15 PM

Quote:

Warning: chdir(): No such file or directory (errno 2) in /home2/ecansel/public_html/groups/tools/grps_installer.php on line 45

Warning: main(./global.php): failed to open stream: No such file or directory in /home2/ecansel/public_html/groups/tools/grps_installer.php on line 65

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/ecansel/public_html/groups/tools/grps_installer.php on line 65

i cant fix... can you help me please?

Neal-UK 09-23-2006 12:51 PM

Quote:

Originally Posted by ecansel
i cant fix... can you help me please?

Here:

Quote:

Originally Posted by sabret00th
i'll update the instructions after the football.


Lionel 09-23-2006 01:03 PM

Quote:

Originally Posted by sabret00the
what's the exact error message?

table icon does not exists. I fixed by adding AS icon in the left join statement

ericgtr 09-23-2006 01:38 PM

Quote:

Originally Posted by sabret00the
one more quick off the cuff try at something

PHP Code:

// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("/home/radscan/public_html/");
// ## Set's the base root directory back to the forums for all images ##
$img_forums "../";
// ## Set GRPS to rewrite links and images automatically
$rewrite_links TRUE


Try it like this (no trailing slash)
PHP Code:

chdir("/home/radscan/public_html"); 

This worked for me.

bada_bing 09-23-2006 03:13 PM

Quote:

Originally Posted by sabret00the
from what? 3.0.x or RC1 to RC1b?

No My question was for upgrading from RC1 to RC1b but what I did was reuploaded all the files and installed the plugin with override to yes

bada_bing 09-23-2006 03:15 PM

Quote:

Originally Posted by sabret00the
globalize(); does not exist in any of the files. not even commented out. reupload all of the files.

sabret00the

I have uploaded all the files again and uninstalled the plugin and re-installed the plugin and same thing? I also tried to run the install file but I got an error because the tables exist already in the database..

Any other ideas

bada_bing 09-23-2006 03:17 PM

Quote:

Originally Posted by sabret00the
if you wanna click uninstall go ahead, but at 5am in the morning when i'm firmly in bed making silly threats i won't see for atleast another five hours anyway is rather pointless.

Hehe sorry man I just was up late trying to get this to work... Was a bit axious..

DivisionByZero 09-23-2006 05:00 PM

for everyone still having problems, just run the queries by hand... thats what I did and it works fine for me.

sabret00the 09-23-2006 05:48 PM

New Zip:
RC2 Released.

This release fixes some problems regarding table prefixes and also clarifies the installation instructions.

In order to upgrade working installations, just replace the files, no need to reinstall the plugin at all.

Anybody having problems with the config and it's failure to find your forums, please try using the full path.

Oddjob 09-23-2006 06:01 PM

Got this working correctly. Sweet mod.

Only problem is that im using a custom style and all my images dont work. Where and how do i fix this?

sabret00the 09-23-2006 06:06 PM

Quote:

Originally Posted by Oddjob
Got this working correctly. Sweet mod.

Only problem is that im using a custom style and all my images dont work. Where and how do i fix this?

Your images in your css or your stylevars?

tako 09-23-2006 06:10 PM

i have my forum at root .com/ and your groups at .com/groups/
I installed css prefix plugin.

Now I have two problems

1. post icons and smilies (I thought you mention something in install.txt but couldn't get it work.)

2. Group reader avatar shows up but newest members avatar doesn't.

Thanks

Oddjob 09-23-2006 07:02 PM

Quote:

Originally Posted by sabret00the
Your images in your css or your stylevars?

Yea...stylevars, i got it fixed....all perfect now.......except for my avatars. Cant seem to get them working on there.

sabret00the 09-23-2006 07:04 PM

Quote:

Originally Posted by tako
i have my forum at root .com/ and your groups at .com/groups/
I installed css prefix plugin.

Now I have two problems

1. post icons and smilies (I thought you mention something in install.txt but couldn't get it work.)

2. Group reader avatar shows up but newest members avatar doesn't.

Thanks

1. you definately have the full url to images set up via your full style options?

2. what's the url shown to the dead avatar images?

Milad 09-23-2006 09:25 PM

Quote:

Originally Posted by sabret00the
i had the option too, i chose not too.

You can skip some steps if you choose to.

Quote:

Originally Posted by sabret00the
why? it's a major addition, in short, i don't want to.

These are the standards

Quote:

Originally Posted by sabret00the
why?

It makes your product managing easist rather than the default vbulletin manager, try it.

Thank you.

Hornstar 09-23-2006 10:37 PM

This seems very popular ^^ I will have to try this out later. Nice work.

hippsta 09-23-2006 11:36 PM

ok i'm a retard, i got this installed, but i can't figure out how to access it lol...

i go to http://mysite.com/groups/*index.php,*groups.php... i only get a blank page...

i am totally noobing this one, any ideas?

sabret00the 09-23-2006 11:52 PM

Quote:

Originally Posted by hippsta
ok i'm a retard, i got this installed, but i can't figure out how to access it lol...

i go to http://mysite.com/groups/*index.php,*groups.php... i only get a blank page...

i am totally noobing this one, any ideas?

did you install the plugin?

cd1986 09-23-2006 11:57 PM

Just installed RC2, but when i go to the groups index page (i have the groups folder in my forum directory - the root directory) all the links have /groups/ missing. Any ideas what the problem could be? I don't much fancy having to edit all the templates to include /groups/ in the urls. :p

For example, instead of mysite.com/groups/browse.php?c=2 i get mysite.com/browse.php?c=2

hippsta 09-24-2006 12:15 AM

Quote:

did you install the plugin?
yeppers, sure did...

.Tim 09-24-2006 12:24 AM

Quote:

Originally Posted by hippsta
yeppers, sure did...

I'm having the same problem.

hippsta 09-24-2006 12:30 AM

could the fact that i have VB 3.6.0 have any bearing?

sabret00the 09-24-2006 08:35 AM

Quote:

Originally Posted by cd1986
Just installed RC2, but when i go to the groups index page (i have the groups folder in my forum directory - the root directory) all the links have /groups/ missing. Any ideas what the problem could be? I don't much fancy having to edit all the templates to include /groups/ in the urls. :p

For example, instead of mysite.com/groups/browse.php?c=2 i get mysite.com/browse.php?c=2

sadly people installing this in their forums directory or root wasn't something i forsaw, thus sadly you're going to have to edit the templates, i apologise for that. a quick method would be to make all the changes in the products xml file using find and replaces of the file names and then just overwriting the existing installation.

sabret00the 09-24-2006 08:36 AM

Quote:

Originally Posted by hippsta
yeppers, sure did...

please check that the templates are present.

sabret00the 09-24-2006 08:37 AM

Quote:

Originally Posted by .Tim
I'm having the same problem.

please check to make sure the templates are present.

sabret00the 09-24-2006 08:37 AM

Quote:

Originally Posted by hippsta
could the fact that i have VB 3.6.0 have any bearing?

nope, this even works on 3.5.x

soletrader 09-24-2006 09:05 AM

Anyone have a live demo that I can see? Thank you

hippsta 09-24-2006 09:47 AM

Quote:

please check to make sure the templates are present.
They are, "groups_browse" through "groups_usercp_groupsbit"


All times are GMT. The time now is 11:54 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.02609 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (8)bbcode_php_printable
  • (35)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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