Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Search and Latest shows section I dont want to sho (1 viewing) (1) Guest
TOPIC: Search and Latest shows section I dont want to sho
#55172
Search and Latest shows section I dont want to sho 5 Months, 1 Week ago  
Hey all,

I just became aware of a problem that, even though certain sections of my forum are only allowed access by certain people, if you search or go to Latest Discussions, you can see the topics in those sections (or categories) and also if you go to latest discussion you can see the topics and parts of the message within the post.

Two questions,

I figured the easiest way to do this is by telling the search and latest functions to search the database but not for this one specific section (which has multiple categories within it).
Is that possible?

And then two, where can I edit the search and latest functions?

Thanks for the help!
nowwecanmakewar (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#55218
Re:Search and Latest shows section I dont want to 5 Months, 1 Week ago  
I think I am getting close: This is from the fb_search.class.php.

Code:


/* get allowed forums */
        $allowed_forums = '';

        if ($uid > 0)
        {
            $database->setQuery('SELECT allowed FROM #__fb_sessions WHERE userid=' . $uid);
            $result = $database->loadResult();

            if ($result != 'na')
                $allowed_forums = $result;
        }





If anyone can fill me in one a query string that would allow me to not select a certain table or even section, that would help a lot.

If not, ill post back if I figure it out.
nowwecanmakewar (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top