The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Auto-Linker

Geek Auto-Linker GAL automatically links keywords that users type in posts to advertising hover pop-ups.

This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Thread Tools Display Modes
Old 01-26-2008, 02:43 AM
Billspaintball's Avatar
Billspaintball Billspaintball is offline
Join Date: Jan 2006
Posts: 37
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default Filter Issues

Most of my GALs only show if the filter is set to "Auto-Links & Dictionary".
Is there anyway to make this the default filter setting?

I did try just disabling the filter but that meant pretty much nothing was shown in glossary.php.
Reply With Quote
Old 01-26-2008, 10:49 PM
Morgan's Avatar
Morgan Morgan is offline
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 

Untested but in the gal_class_vb_db_dictionary file, look for the following and change the default to what is in case two:
        function fetch_view_clause($view = 0)
		$view = intval($view);
		$and = '';

        	switch ($view)
        		case 1:
        			$and = " AND status = 1 AND asdic = 0 AND asgal = 1 ";

        		case 2:
        			$and = " AND status = 1 AND (asdic = 1 OR asgal = 1) ";

        		case 3:
        			$and = " AND status = 3 AND asdic = 1 ";

        		case 4:
        			$and = " AND status = 0 AND asdic = 1 ";

        			$and = " AND status = 1 AND asdic = 1 AND asgal = 0 ";


        	return $and;
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

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
Need Help With The Filter Feature Kryptonit3 Geek Article and Review System 3 08-12-2009 05:37 PM
Filter Damir Geek Article and Review System 5 06-28-2007 01:50 PM
Filter Module nymyth Geek Article and Review System 3 06-05-2007 04:44 PM
Filter This! The Geek Tutorials 19 01-20-2007 03:15 PM
GARS filter osirisjem Geek Article and Review System 1 01-09-2006 09:05 AM

All times are GMT. The time now is 05:31 AM.

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