Here is something else you can either add to, or alter how you see fit.
Edit search.php
Find:
PHP Code:
// #############################################################################
if ($_REQUEST['do'] == 'finduser')
{
globalize($_REQUEST, array('userid' => INT, 'forumid' => INT));
replace with:
PHP Code:
// #############################################################################
if ($_REQUEST['do'] == 'finduser')
{
globalize($_REQUEST, array('userid' => INT, 'forumid' => INT,'GAS'=>INT));
if($GAS AND !$forumid){
$GAS_result=$DB_site->query_first("SELECT data FROM " . TABLE_PREFIX . "datastore WHERE title='GAS_settings'");
$GAS_setting=unserialize($GAS_result['data']);
if ($GAS_setting['forums']){
$forumid=explode(",",$GAS_setting['forums']);
}
}
Then you can stick something like:
PHP Code:
<a href="search.php?do=finduser&u=$bbuserinfo[userid]&GAS=1">Find all of $bbuserinfo[username]'s articles</a>
I know that wont get you the article count - but its alomst there