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)

Merriweather 03-08-2007 03:07 AM

On the avatar thing, I've checked my replacement variables, and I've got src="customavatars/ being replaced with src="$vbulletin->options['bburl']/customavatars/, so I see no reason why some groups aren't doing that! Ugh.

***UPDATE***

I found the common thread between the groups that don't show custom avatars! If the group leader does not have an avatar, those with avatars won't show properly. If the group leader DOES have an avatar, then everyone else's avatars show properly. Hopefully that's enough enough to get it fixed! :) No matter what the group leader's avatar situation is, users without avatars correctly show the noavatar.gif image.

Merriweather 03-08-2007 03:22 AM

I have found that the grps table has no info for any group in the replycount or lastpost column. Not sure it that's intentional or the possible sounce of some of these issues.

Martin Belak 03-08-2007 06:58 AM

Quote:

Originally Posted by sabret00the (Post 1193976)
1/ fixed

2/ i'm not sure what that problem revolves around, but i'm guessing it is your SEO mod.

Thanks for the quick fixes sabret00the!

But I have still some small issues.. I've blacklisted the GRPS-pages in vBSEO but the [i m g]-tag is still parsed as <a href="....></a>.

And a second issue is the thread title in editpost.php. I have the name/title of the group instead of the thread title in the "title" input-box when i try to edit a post, and the input box doesn't work when saving the edited post. The thread title doesn't change.

/M

sabret00the 03-08-2007 08:26 AM

Quote:

Originally Posted by Merriweather (Post 1198514)
While I was investingating this via the DB, I found a really strange issue. I saw that in the grps_grouptext table, the edit_userid only allows 4 integers. Well my site's userids are 6 digits, so I changed it to 6, but no matter what I enter if I edit a row, it comes back with "127"! Why the heck 127? Here is an exampe query, yet the row shows 127 as the edit_userid:

Code:

UPDATE `grps_grouptext` SET `edit_userid` = '101524' WHERE `grps_grouptext`.`groupid` =75 LIMIT 1 ;
But the row shows "127" for the edit_userid.

run this query then try the above query again [sql]ALTER TABLE `grps_grouptext` CHANGE `edit_userid` `edit_userid` TINYINT( 10 ) NULL DEFAULT NULL; [/sql]

can i also confirm that you're using PHP5 on your server?

sabret00the 03-08-2007 08:28 AM

Quote:

Originally Posted by skorzguy (Post 1198497)
I install the GRPS and set the usergroups. It shows everything but will not let me log in. I must have a permission problem somewhere unless its because I am using Vbulletin 3.6. Has anyone managed to install this on 3.6?

Set your usergroup permissions in the admincp.

sabret00the 03-08-2007 08:28 AM

Quote:

Originally Posted by Merriweather (Post 1198284)
Code:

=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>=>
I selected a post icon and saved the post. Ran the test and got the above. Went back to edit the post and the post icon was back to the default, so it never saved it. The post title was there, however, but doesn't show on the post.

and checking the database, the posticon didn't save there either?

Merriweather 03-09-2007 12:40 AM

Quote:

Originally Posted by sabret00the (Post 1198620)
run this query then try the above query again [sql]ALTER TABLE `grps_grouptext` CHANGE `edit_userid` `edit_userid` TINYINT( 10 ) NULL DEFAULT NULL; [/sql]

can i also confirm that you're using PHP5 on your server?

Still can't update the userid, it always says 127. And it appears I am on php 4.3.10, though I can upgrade if needed -- not sure if/how that will affect the rest of my site.

Merriweather 03-09-2007 12:40 AM

Quote:

Originally Posted by sabret00the (Post 1198622)
and checking the database, the posticon didn't save there either?

Not for replies. It's only there for new threads, if one is selected.

skorzguy 03-09-2007 02:05 AM

I tried installing this following the directions but I could not get it to work correctly. I tried following the directions but I was unable to login into the groups to create a group: I checked the premissions in the admincp. I managed to get the groups mod to work correctly by installing the groups folder inside of my forums folder. Everything and all features are working correctly but I am unable to see posts a user creates. The post is added and it shows on the groups page but unable to view it. I get the following error when trying to view the post. I have alot of other mods on my forum and this might be the problem.

--------------------------------------------------------------------------------------------

Fatal error: Call to a member function query_first() on a non-object in /home/allswac1/public_html/forums/includes/class_postbit.php(294) : eval()'d code on line 20

I am not sure what this error message means, I am guessing I need to add a piece of code here but unsure what to add.

--------------------------------------------------------------------------------------------

if (!isset($GLOBALS['vbulletin']->db))
{
exit;
}


define('POST_FLAG_INVISIBLE', 1);
define('POST_FLAG_DELETED', 2);
define('POST_FLAG_ATTACH', 4);
define('POST_FLAG_GUEST', 8);


***** I think I need to define something? not sure

The only other feature not working correctly is the groups photos. It appears to be 8 different gifs but am not sure. You only have 3 gifs in your folder.

******A cool option idea

It would be cool if one could add a box showing groups one belongs too or is a member of in the members template. Its probably a simple piece of code.

Here is a link to where I have the groups mod installed to see the problem.

http://www.allstarchat.com/forums/groups/groups.php?g=2

sabret00the 03-09-2007 08:26 AM

Quote:

Originally Posted by Merriweather (Post 1199235)
Still can't update the userid, it always says 127. And it appears I am on php 4.3.10, though I can upgrade if needed -- not sure if/how that will affect the rest of my site.

please upgrade if possible. i'm not sure what other mods you have installed but this mod was specifically designed for PHP 5. To the point i took my site offline for two days just waiting for it to be upgraded by the host. However, of course i suggest you check PHP 5 compatibility with any other mods you have installed first.

and run this query and it should fix [sql]ALTER TABLE `grps_grouptext` CHANGE `edit_userid` `edit_userid` INT( 10 ) NULL DEFAULT NULL; [/sql]


All times are GMT. The time now is 11:34 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.02267 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (7)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