|
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 |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Help with Permissions
Hello,
I would like to limit the use of the "new tutorial" or "new guide" buttons to a certain usergroup, how would I go about doing that? I have looked through the templates but I cannot find the correct link to put this permission on. Any help very appreciated! Thanks. |
#2
|
||||
|
||||
Buttons are changes on the fly, depending on whether you set a 'New thread button' and/or 'New reply button' for the term set.
There is one change located in the gars_class_list.php file: Code:
if ($this->terms['new_button']) { $this->vb->templatecache['FORUMDISPLAY'] = str_replace("newthread.gif", $this->terms['new_button'], $this->vb->templatecache['FORUMDISPLAY']); } Code:
if ($this->terms['reply_button']) { $this->vb->templatecache['SHOWTHREAD'] = str_replace("reply.gif", $this->terms['reply_button'], $this->vb->templatecache['SHOWTHREAD']); } Alternatively, you could leave 'New thread button' and/or 'New reply button' blank and then use template conditionals in whatever templates you are using for the type.
__________________
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
|
|||
|
|||
Thanks for your response. Could you tell me specifically what code changes need to be made?
Preferably you could give me some code and tell me what to replace Thanks again! |
#4
|
||||
|
||||
You might want to try the alternative method and use is_member_of in the template conditional, but sorry, I'm not offering individual customizations as part of support. Here are a couple of links that explain is_member_of usage in templates:
__________________
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 |
Permissions problem? | rockinaway | Geek Article and Review System | 4 | 04-06-2009 03:47 PM |
Permissions Bug Or Maybe Not | azn_romeo_4u | Geek Article and Review System | 4 | 07-01-2006 07:39 PM |
Permissions HELP! | tommy | Geek Article and Review System | 1 | 05-30-2006 04:46 PM |
Permissions | Seeker | Geek Advertising Banner System | 2 | 03-05-2006 10:13 PM |
admin permissions | FD929 | GeekMart | 0 | 11-22-2005 03:13 AM |