The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2008, 01:52 PM
playeradvance playeradvance is offline
Junior Member
 
Join Date: Nov 2006
Posts: 24
Geek Article and Review System License Holder 
Default [Support] Bugs with GARS and postbit_legacy

Hello,

I'm using GARS 1.8.m.
When I used postbit_legacy to display comment, message id are not show and, a little more serious, group permissions are not correct, my members normally can't delete their message but in GARS forums they can

Can you tell me what is the problem ?
__________________
Sorry for my English, but I'm french
Reply With Quote
  #2  
Old 07-01-2008, 06:37 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

GARS should not be changing usergroup permissions like that, so double check the permissions for those usergroups under Usergroups -> Usergroup Manager -> Edit Usergroup as well as under Usergroups -> Forum Permissions for specific forums.

As for the count, it does not show on non GARS templates. The first post is the article, the second post is the first comment, the third post is the second comment, etcetera, and if there are multiple pages in the thread, the first post on a subsequent page in a thread would be out of order, so the counts don't show.

Not saying that they cannot be edited to show correctly, just why they were not showing, so try replacing the GARS - Process Postbit plugin with the following code and see if the counts show correctly.
Code:
global $vbulletin;
if (is_object($vbulletin->gars))
{
	$this->templatename = $vbulletin->gars->process_postbit();

	if ($show['postcount_garstemp'])
	{
		$show['postcount'] = $show['postcount_garstemp'];
		$post['postcount'] = $post['gar_postcount'];
	}
	if (!eregi('gars', $this->templatename))
	{
		$show['postcount_garstemp'] = $show['postcount'];
		if ($post['postcount'] - $post['gar_postcount'] == 2)
		{
			$show['postcount'] = 0;
		}
	}
}
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 07-03-2008, 10:20 AM
playeradvance playeradvance is offline
Junior Member
 
Join Date: Nov 2006
Posts: 24
Geek Article and Review System License Holder 
Default

hum... I'm not able to redo the bug of permissions

For the code you give me, it's works but the two post after the first post have the id 2
__________________
Sorry for my English, but I'm french
Reply With Quote
  #4  
Old 07-07-2008, 07:00 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Not sure. The GARS - Process Postbit plugin is as in post two on this site now, but I'm not getting any duplicate IDs. There is a temporary example here using postbit_legacy to display comments.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postbit_legacy and GARS_pb AFG Geek Article and Review System 4 08-02-2010 10:51 PM
[Support] Error on created a new GARS thread Next Geek Article and Review System 3 07-01-2008 05:03 PM
GARS Video Support? waltercat Geek Article and Review System 1 03-30-2008 10:22 PM
GAZ: When will we have GARS support? pixie Geek Gazette 2 07-15-2007 09:48 PM
GARS LITE Manual bugs? Marris Geek Article and Review System 3 02-27-2006 03:12 AM


All times are GMT. The time now is 07:44 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.