The vB Geek

Go Back   The vB Geek > vB Geek Modifications > Tutorials

Tutorials Tutorials and articles on using vB Geek stuff.

Advertisement
  Learn how to remove ads

 
 
Tutorial Tools Display Modes
Prev Previous Post   Next Post Next
Filter This!
Filter This!
How to filter by custom fields
Published by The Geek
12-13-2006
Default Filter This!

Please note that this tutorial pertains to GARS 2.1.1 and GARS 2.1.2
Earlier versions will not have the filter module and later versions may be slightly different (but how the hell do I know that as I haven't written any newer versions yet!).

The custom field

The filter module is a new module and feature in GARS that will enable you to filter a forum by a custom field. The custom field MUST be a 'Select Box' type. A select box is a drop down list of pre-defined text. You define the text when you create (or edit) a Select Box custom field

filter-selectbox.jpg
A select box custom field

Adding to your type

Then your type must have the select box custom field associated with it. To do this, edit the correct type and scroll to the bottom. You will notice that there will be a tick box to associate the custom field to your type. There will also be an additional tick box (only available with select box custom fields) to allow users to filter by the field.

filter-type.jpg
Allow users to filter by field

Setting up the module

You need to add the filter module to your module set in order for it to appear. It is important to note that the filter module only works on forumdisplay pages so don't add it to the showthread page!

filter-select.jpg
Editing the modules settings

You can currently only filter by 1 select field at a time.

Want an example? The forum this tutorial in is set up to filter between GARS, GAL and GAB tutorials

nJoy
Tutorial for
GARS

Tutorial Tools
Show Printable Version  Email this Page 

 

Tutorial 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
Tutorial Tutorial Starter Category Comments Last Post
Need Help With The Filter Feature Kryptonit3 Geek Article and Review System 3 08-12-2009 06:37 PM
Filter Problem Varsh Geek Article and Review System 4 07-14-2009 11:47 PM
Filter Issues Billspaintball Geek Auto-Linker 1 01-26-2008 11:49 PM
Filter Damir Geek Article and Review System 5 06-28-2007 02:50 PM
GARS filter osirisjem Geek Article and Review System 1 01-09-2006 10:05 AM


All times are GMT. The time now is 02:01 PM.


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

Tutorial powered by GARS 2.1.9 ©2005-2006