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 10-20-2006 09:25 PM

ok, i think i finally solved it, i think the problem was that i was trying to do too much. sadly it's taken this long due to a sleeping brain on friday nights :(

ChurchMedia 10-20-2006 09:55 PM

You rock! It's solved. Thanks a bazillion. I'll go live with it tonight. The members are going to love it! :D

Quote:

Originally Posted by sabret00the
ok, i think i finally solved it, i think the problem was that i was trying to do too much. sadly it's taken this long due to a sleeping brain on friday nights :(

Yeah -- I looked at the code and it was way over my head. Great job! I'm sure you'll make HOTM.

Thanks again

Melissa Miller 10-21-2006 03:51 PM

Thank you so much for this. I plan on making a donation.

I read this thread, and tried to figure it out, however a lot of the lingo is over my head. I have it installed and working.

My only issue is my banner image does not take you to my home page like it does everywhere else. It takes you to the groups home page.

And my forums link in my nav bar doesnt work. It tries to go to groups/index.php instead of just /index.php. Same thing with my chat and journal links in my nav bar.

Can you tell me what I need to edit to fix these links?
Thanks!!!!

I would love to be able to invite people using an email address which would then take them to a forum registration page. When they registered they would be part of that group and a new member. It would encourage new members and I have people who want invite people who are not yet registered like you can on Yahoo groups. Would this be impossible?

Renada 10-21-2006 05:37 PM

solved database error

ChurchMedia 10-21-2006 06:27 PM

Quote:

Originally Posted by Melissa Miller
Thank you so much for this. I plan on making a donation.

My only issue is my banner image does not take you to my home page like it does everywhere else. It takes you to the groups home page.

And my forums link in my nav bar doesnt work. It tries to go to groups/index.php instead of just /index.php. Same thing with my chat and journal links in my nav bar.

Take a look in the functions_grps.php in the /forums/include directory. Find this code:

PHP Code:

    $template str_replace(
        array(
            
// navbar replacements
            
'register.php',
            
'profile.php',
            
'usercp.php',
            
'faq.php',
            
'calendar',
            
'memberlist.php',
            
'search.php',
            
'profile.php',
            
'private.php',
            
'online.php',
            
'subscription.php',
            
'login.php',
            
'forumdisplay.php',
            
'member.php',
            
'ushop.php',
            
//' class="navbar"><a href="index.php" accesskey="1">',
            
$vbulletin->options['bbtitle'],
            
// footer replacements
            
'sendmessage.php',
            
'admincp/index.php',
            
'modcp/index.php',
            
'archive/index.php',
            
// headinclude replacements
            
'<script type="text/javascript" src="clientscript',
            
// other replacements
            
'arcade.php',
            (
$hook vBulletinHook::fetch_hook('grps_rewrite_links_find')) ? eval($hook) : false
        
),
        array(
            
// navbar links
            
$vbulletin->options['bburl'] . '/register.php',
            
$vbulletin->options['bburl'] . '/profile.php',
            
$vbulletin->options['bburl'] . '/usercp.php',
            
$vbulletin->options['bburl'] . '/faq.php',
            
$vbulletin->options['bburl'] . '/calendar',
            
$vbulletin->options['bburl'] . '/memberlist.php',
            
$vbulletin->options['bburl'] . '/search.php',
            
$vbulletin->options['bburl'] . '/profile.php',
            
$vbulletin->options['bburl'] . '/private.php',
            
$vbulletin->options['bburl'] . '/online.php',
            
$vbulletin->options['bburl'] . '/subscription.php',
            
$vbulletin->options['bburl'] . '/login.php',
            
$vbulletin->options['bburl'] . '/forumdisplay.php',
            
$vbulletin->options['bburl'] . '/member.php',
            
$vbulletin->options['bburl'] . '/ushop.php',
            
//' class="navbar"><a href="' . $vbulletin->options['bburl'] . '/index.php" accesskey="1">',
            
$vbulletin->options['hometitle'] . ' Groups',
            
// footer replacements
            
$vbulletin->options['bburl'] . '/sendmessage.php',
            
$vbulletin->options['bburl'] . '/admincp/index.php',
            
$vbulletin->options['bburl'] . '/modcp/index.php',
            
$vbulletin->options['bburl'] . '/archive/index.php',
            
// headinclude replacements
            
'<script type="text/javascript" src="' $vbulletin->options['bburl'] . '/clientscript',
            
// other replacements
            
$vbulletin->options['bburl'] . 'arcade.php',
            (
$hook vBulletinHook::fetch_hook('grps_rewrite_links_replace')) ? eval($hook) : false
        
),
    
$template); 

The first array is what your links might be. The second array is what those links will be replaced with. Delete or add any replacements as needed.

All of my links are hard links, so I basically deleted everything except the hook. But that was just in MY case. Yours may be different.

Jealousy10312 10-21-2006 08:36 PM

Is there a better readme for the install?

Exitilus 10-22-2006 12:43 AM

NM About my post ... I should really learn to upgrade to the newest version.

Shack Networks 10-22-2006 10:55 AM

Unknown column 'grpspermissions' in 'field list' when trying to alter permissions

TRR 10-22-2006 12:04 PM

I just tried to create a thread inside of a user's group, and got the following error:

n/m.... I goofed a directory... sorry

Renada 10-22-2006 04:28 PM

Hi,

I have a problem with my links, do you think you could help please?

My forums are www.mysite.com/xxx/boards
My groups are www.mysite.com/xxx/groups

When clicking on "Create new group" (or any of the other links) they go to www.mysite.com/xxx/boards/browse.php instead of www.mysite.com/xxx/groups/browse.php

Does anyone know which file/template I need to edit to hardcode my links?

Renada


All times are GMT. The time now is 11:59 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.02634 seconds
  • Memory Usage 1,781KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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