View Single Post
Old 12-09-2009, 05:43 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 

As previously mentioned, when I am available, I answer these threads. If I'm not available, then I'll answer them when I am again available. Bumping doesn't get an answer any faster but it does put your query later in the queue, as oldest are answered first. As to your question, are the keywords in more than one category? I don't see a reason for what you describe, but the code that handles this is in the gal_class_core.php file:
    		$catid = $this->cached[$id]['catid'];

    		if (!$this->cat_usergroups[$catid]['ini'])
    			$this->cat_usergroups[$catid]['ini'] = true;
    			$this->cat_usergroups[$catid]['exempt'] = is_member_of($this->user, explode(",", $this->cached[$id]['usergroups']));
    			if ($this->cat_usergroups[$catid]['exempt'])
    				$this->cat_usergroups[$catid]['exempt'] = strtolower($this->core->userinfo['field' . $this->cached[$id]['profile']]) == strtolower($this->cached[$id]['field_value_yes']);

    		if (!$this->cat_usergroups[$catid]['exempt'])
If you want to edit the file, you could change this part:
    		if (!$this->cat_usergroups[$catid]['exempt'])
To this"
    		if (!$this->cat_usergroups[$catid]['exempt'] AND !in_array($this->user['userid'], array(X, Y, Z)))
Where X, Y, Z are the user IDs of the members who you want to not see GALs.
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