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)

ChurchMedia 10-20-2006 03:52 PM

Sorry -- I slept in ;). My avatar URL is set to:

Avatars are currently being served from the filesystem at ./customavatars.

Should that be changed to a hard link?

sabret00the 10-20-2006 03:59 PM

Quote:

Originally Posted by ChurchMedia
Sorry -- I slept in ;). My avatar URL is set to:

Avatars are currently being served from the filesystem at ./customavatars.

Should that be changed to a hard link?

i was up at 5am for no good reason at all :(

try this functions_grps.php and let me know if it fixes your problem please.

ChurchMedia 10-20-2006 04:18 PM

Sorry -- still the same problem:

http://www.churchmedia.net/groups/groups.php?g=1

The URLs in the thread list is:
Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
So it's tripled.

The URL in the "Newest Members" box and in the postbit are:
Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
(doubled)

Thanks for looking into this.

vphost 10-20-2006 05:46 PM

Quote:

Originally Posted by sabret00the
Attachment 54903 fixes problem of not displaying forms.

Seems to fix my problem, thanks

sabret00the 10-20-2006 06:03 PM

Quote:

Originally Posted by ChurchMedia
Sorry -- still the same problem:

http://www.churchmedia.net/groups/groups.php?g=1

The URLs in the thread list is:
Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
So it's tripled.

The URL in the "Newest Members" box and in the postbit are:
Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
(doubled)

Thanks for looking into this.

can you try this one and let me know the results please.

ChurchMedia 10-20-2006 07:54 PM

Quote:

Originally Posted by sabret00the
can you try this one and let me know the results please.

Uploaded that one -- unfortunately it didn't work. It output a bunch of URLs at the top of the page. Check it out:

http://www.churchmedia.net/groups/groups.php?g=1

Weird...

sabret00the 10-20-2006 08:19 PM

Quote:

Originally Posted by ChurchMedia
Uploaded that one -- unfortunately it didn't work. It output a bunch of URLs at the top of the page. Check it out:

http://www.churchmedia.net/groups/groups.php?g=1

Weird...

nope, that's right, it's debug info ok one more, this will let me know how to fix it. just need you to let me know the result.

ChurchMedia 10-20-2006 08:57 PM

Quote:

Originally Posted by sabret00the
nope, that's right, it's debug info ok one more, this will let me know how to fix it. just need you to let me know the result.

Cool! Here you go:

http://www.churchmedia.net/groups/groups.php?g=1

Code:

http://www.churchmedia.net/CMN/customavatars
1http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
--------------------------------------------------------------------------------
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
1http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
--------------------------------------------------------------------------------
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
1http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars


sabret00the 10-20-2006 09:07 PM

sorry to do this to you churchmedia, i think this one's the fix. i just need you to be the guinea pig.

ChurchMedia 10-20-2006 09:21 PM

Quote:

Originally Posted by sabret00the
sorry to do this to you churchmedia, i think this one's the fix. i just need you to be the guinea pig.

No problem. I appreciate the help. Here are the results:

Code:

http://www.churchmedia.net/CMN/customavatars
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
--------------------------------------------------------------------------------
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
--------------------------------------------------------------------------------
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars
http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars


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

redlabour 10-22-2006 07:23 PM

Anything new about the request for the permission to translate this Hack in different Languages ?

Melissa Miller 10-22-2006 10:46 PM

Church Media, either that didnt work Im too stupid to do it.
It seems like it would be easy to fix, I just cant figure out where.

When I click on my forums link in the nav bar, it goes to a bad page.

ChurchMedia 10-22-2006 11:42 PM

Quote:

Originally Posted by Melissa Miller
Church Media, either that didn't work I'm too stupid to do it.
It seems like it would be easy to fix, I just cant figure out where.

When I click on my forums link in the nav bar, it goes to a bad page.

I didn't explain it very well. There are "relative links" and "hard links". A relative link assumes that you are in your forums directory, so going from index.php to showthread.php is no problem. But the "groups" directory is not relative to your forums directory, so that's why the replacement code is in there. The first line in the first array is 'register.php'. If you were in your forums directory it would be okay; but since you're in the groups directory it gets replaced by $vbulletin->options['bburl'] . '/register.php' (the first line in the second array), which will point it back to your forums directory.

So if you have a link that is going to the wrong place -- like chat.php might point to /groups/chat.php -- then you can either a) put in a replacement into the arrays or b) change that link to http://www.yoursite.com/forums/chat.php.

Now, with index.php you can't really do a replacement, because index.php is such a common file name. So edit your header or navbar template (or wherever it is) and add http://www.yoursite.com/forums/ to your link.

I hope this makes sense. Feel free to PM me if you want to figure it out off-forum.

Melissa Miller 10-23-2006 12:18 AM

Ok Ill pm you, you lost me at "I didnt explain it very well"

Now its not working when people try to join a group.
It used to work before I upgraded it, so I might have messed something up.

Exitilus 10-23-2006 01:08 AM

I have this working pretty darn good. The only problem I've run into so far is I've created a Test Group that requires membership moderation. I sent out requests to a couple people to join it. Well they click the link to join but they never show up when I try to Moderate them.

sabret00the 10-23-2006 08:38 AM

Hey folks, i'm back after a weekend out of the house. anyway i'll deal with all issues in this thread over the next hour or so.

sabret00the 10-23-2006 11:27 AM

Quote:

Originally Posted by ChurchMedia
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.

bad idea, there's also a link to index.php in the navbar.

sabret00the 10-23-2006 11:36 AM

Quote:

Originally Posted by Melissa Miller
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?

For your banner image, i would suggest editing the header template in your forums and suffixing the link with
PHP Code:

$vboptions[bburl]/ 

it is by far the easiest solution. though if i find one easier (a plugin) i'll be sure to release it as a plugin.

for your chat link and journal link, i suggest using a plugin to fix these as opposed to editing the files. in version 2.0.1 (to be released in about an hour). this has been simplified, so it's literally just a matter of making a new plugin, applying it to the grps_rewrite_links (plugin) and entering the following contents
PHP Code:

$find[] = 'chat.php';
$find[] = 'journal.php';
$replace[] = $vbulletin->options['bburl'] . '/chat.php';
$replace[] = $vbulletin->options['bburl'] . '/journal.php'

and that should sort that out for you. I would suggest the same treatment as in the previous paragraph for your link to your forums (in your navbar) as opposed to the plugin method.

That isn't currently an option, the invite system is all quite internal at the moment, though i will consider it for a future release.

sabret00the 10-23-2006 11:39 AM

Quote:

Originally Posted by Exitilus
I have this working pretty darn good. The only problem I've run into so far is I've created a Test Group that requires membership moderation. I sent out requests to a couple people to join it. Well they click the link to join but they never show up when I try to Moderate them.

That's currently the behaviour by design, remember that any member can invite any board user to a group, if member moderation is in affect it's to safe guard the gated community. think of it like getting an invite to the white house, you still have to pass security.

sabret00the 10-23-2006 11:40 AM

Quote:

Originally Posted by redlabour
Anything new about the request for the permission to translate this Hack in different Languages ?

Nope. I did say way back when. That if anyone wanted to translate it, then feel free to fully phrase it. no one took up the offer, thus i'll be fully phrasing it as soon as i get time. i'll be slowly working on it over the coming week or so.

sabret00the 10-23-2006 11:41 AM

Quote:

Originally Posted by Renada
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

do you have an SEO mod installed at all?

sabret00the 10-23-2006 11:44 AM

Quote:

Originally Posted by Shack Networks
Unknown column 'grpspermissions' in 'field list' when trying to alter permissions

please run the installer. if you have previously done then uninstall and reinstall. if you're adept in running queries you can simply run the following query [sql]ALTER TABLE `__TABLE_PREFIX__usergroup` ADD `grpspermissions` INT(10) UNSIGNED DEFAULT 0 NOT NULL[sql] though it's a little worrying as the permissions column is the first to go into your db.

Exitilus 10-23-2006 11:56 AM

Quote:

Originally Posted by sabret00the
That's currently the behaviour by design, remember that any member can invite any board user to a group, if member moderation is in affect it's to safe guard the gated community. think of it like getting an invite to the white house, you still have to pass security.

Well the thing is. They accept the invite but they never get to join the group. It doesn't add them to it. Nor under member moderation does it say they are awaiting approval.

sabret00the 10-23-2006 12:08 PM

Quote:

Originally Posted by Exitilus
Well the thing is. They accept the invite but they never get to join the group. It doesn't add them to it. Nor under member moderation does it say they are awaiting approval.

My apologies, you missed the patch i posted over the weekend for membership.php, however i'm just about to release an update (2.0.1) which will fix this problem.

sabret00the 10-23-2006 12:16 PM

New Zip/Release:
Groups v2.0.1.zip:
removes one hook, fixes problem with membership.php, fixes problem editgroup.php not remembering options and fixes avatar problem.

Renada 10-23-2006 12:21 PM

Quote:

Originally Posted by sabret00the
do you have an SEO mod installed at all?

Hi,

No, no SEO installed but I do have vBAdvanced, would that affect it? Thanks for looking at this :)

Exitilus 10-23-2006 12:35 PM

Thanks Sabre. i'll check it out. :)

sabret00the 10-23-2006 12:51 PM

Quote:

Originally Posted by Renada
Hi,

No, no SEO installed but I do have vBAdvanced, would that affect it? Thanks for looking at this :)

Not that i know of, do you have any .htaccess in place for urls like removing index.php at all?

sorry for the delay, stepped out for lunch.

Exitilus 10-23-2006 01:05 PM

Well it fixed the member thing Sabre :) Though there is a few other things i have noticed.

I've setup the groups to be parallel to my forums. I've also set it up to be it's own domain at the same time. IE My forums is http://forums.houseofcrazed.com and the groups wil be groups.houseofcrazed.com

I've noticed I get the IE Java Script Error when viewing it at groups.houseofcrazed.com mentioning something about Permission Denied. Though if i view it as houseofcrazed.com/groups/ that doesn't display .... Hope this makes sense *L*

Another thing too ... Since my forums are setup as it's own domain. And I also have a gallery I have to use exact links to certain things because obviously the directory changes. I've noticed that for some odd reason for the logout and contact us links in Header / Footer when viewing the groups adds a extra forum link O.o

Meh .. I'm really tired so hope any of this makes sense....

Anyways this is a absolutely beautiful and wonderful Addon for VB. You've done amazing work with it.

Renada 10-23-2006 01:14 PM

Quote:

Originally Posted by sabret00the
Not that i know of, do you have any .htaccess in place for urls like removing index.php at all?

sorry for the delay, stepped out for lunch.

Not that I know - would it help to give you admin access or something so you could see?

Regards,
Renada


All times are GMT. The time now is 08:41 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.02806 seconds
  • Memory Usage 1,936KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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