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?


All times are GMT. The time now is 12: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.01628 seconds
  • Memory Usage 1,763KB
  • 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
  • (6)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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