|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
This is an HTML example. Isn't it just wonderful?!?!
|
|
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
[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 |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
postbit_legacy and GARS_pb | AFG | Geek Article and Review System | 4 | 08-02-2010 09:51 PM |
[Support] Error on created a new GARS thread | Next | Geek Article and Review System | 3 | 07-01-2008 04:03 PM |
GARS Video Support? | waltercat | Geek Article and Review System | 1 | 03-30-2008 09:22 PM |
GAZ: When will we have GARS support? | pixie | Geek Gazette | 2 | 07-15-2007 08:48 PM |
GARS LITE Manual bugs? | Marris | Geek Article and Review System | 3 | 02-27-2006 02:12 AM |