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 06-06-2008, 05:14 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
Junior Member
 
Join Date: Jul 2006
Posts: 22
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default Permissions on custom fields

Forgive me if I'm missing something obvious ...

I'd love to apply permissions to custom fields. I'm using GARS to improve a product support forum, where I want to collect things like version info and test case URL's on support requests.

Some of the information I'd like to collect needs to be visible only to the thread starter and 'staff'.

Any ideas?

The simplest way I see is to hack on mods/display/custom_fields.php a little, and just globally hide or show the entire custom fields table accordingly. Not quite ideal (doesn't give me fine grain control on individual fields), but would work.

But I'd love to see custom fields extended on a per-field basis, to allow 'private' fields. I'd see this working as a global setting for 'staff usergroup ids', and a 'private' checkbox on the custom field definition. Only the thread starter and whatever groups are specified as 'staff' would see 'private' fields.

-- hugh
Reply With Quote
  #2  
Old 06-08-2008, 07:08 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

Untested but another idea would be to go to the ACP -> GARS -> Modules -> click the module set with custom fields -> click the Custom Fields link -> set a special template in the 'custom field template' box and use template conditionals in that special template so values are only displayed to certain usergroups, perhaps with the following:
Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)">

</if>
__________________
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 06-08-2008, 08:16 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
Junior Member
 
Join Date: Jul 2006
Posts: 22
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Yeah, that'd probably be the better way to go.

Thanks,

-- hugh
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
Custom fields attroll Geek Article and Review System 1 06-24-2008 05:56 PM
Custom Fields Damir Geek Article and Review System 27 10-13-2006 05:38 PM
cant see custom fields wildo69 Geek Article and Review System 14 09-05-2006 08:00 AM
Custom Fields utw-Mephisto Geek Article and Review System 3 07-14-2006 07:59 AM
Upload Custom Submission Avatars and custom fields question. Praetorian Geek Article and Review System 1 06-14-2006 02:50 PM


All times are GMT. The time now is 08:15 AM.


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