Forum
Welcome, Guest
Please Login to access forum.
Re:Anonymous Users (1 viewing) 
Go to bottom
TOPIC: Re:Anonymous Users
#7009
John Dagelmore
Admin
Posts: 3881
User Online Now
Re:Anonymous Users Karma: 84  
I'm not sure how that could work.

Try to modify the code in the stream.php at line 814 to use the id, from:

Code:

// Search filter for registered users / override name guests if($searchFilter && $searchFilter != JText::_('COM_JCHAT_SEARCH')) { $logicAND .= "\n AND(" . "\n CASE" . "\n WHEN (u.$userFieldName != '' OR (ccs.override_name != '' AND ccs.override_name IS NOT NULL))" . "\n THEN (u.$userFieldName LIKE '%" . $searchFilter . "%'OR ccs.override_name LIKE '%" . $searchFilter . "%')" . "\n ELSE sess.session_id != ''" . "\n END)"; }
to
Code:

// Search filter for registered users / override name guests if($searchFilter && $searchFilter != JText::_('COM_JCHAT_SEARCH')) { $logicAND .= "\n AND(" . "\n CASE" . "\n WHEN (u.id != '')" . "\n THEN (u.id = " . (int)$searchFilter . ")" . "\n ELSE sess.session_id != ''" . "\n END)"; }
I'm contrary to this kind of customizations, take care they will be overwritten at every update.
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    thread link
Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread link Re:Anonymous Users
John Dagelmore
    thread link
thread linkthread linkthread link Re:Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread linkthread linkthread link Re:Anonymous Users
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread link Re:Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:Anonymous Users
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread link Re:Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread linkthread link Re:Anonymous Users
John Dagelmore
    thread link
thread linkthread linkthread linkthread link Re:Anonymous Users
Digital Enterprise Engineering
    thread link
thread linkthread linkthread linkthread linkthread link Re:Anonymous Users
John Dagelmore
Go to top