Can someone screen print or tell me setting for main shout box please? My shout box shows as (2) and never shows forum threads nor replies and iv changed it around loads but never work
I have an issue when posting:
When I post a message, it doesn't show properly in the chatbox. It's there, but it's the window that doesn't scroll properly, so the most recent message is hidden slightly and I have to scroll just a tiny bit to see it. What would cause that? CSS?
hi there i have bought your add on and love it but my question is where do i have to go if i want to add it to almost everywhere in the forums on my site ?
Just downloaded this software- thanks.
I was able to put a chat box on the sidebar with no problem (I would like to change the background color though) .
However the full page Nav Tab one has a large error. I have attached a screen shot. It appears the whole page is faded and if I put anything in the chat it appears outside the chat box.
here is the error code:
htmlspecialchars() expects parameter 1 to be string, array given in /home/bluechum/public_html/beta/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 1018:
1017: $__compilerVar12 .= '
1018: <h3><a href=\'' . XenForo_Template_Helper_Core::link(htmlspecialchars($taigachat['route'], ENT_QUOTES, 'UTF-8'), false, array()) . '\'>' . 'Chum Chat' . ' (<span id="taigachat_count">0</span>)</a>
1019: ';
htmlspecialchars() expects parameter 1 to be string, array given in /home/bluechum/public_html/beta/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 1254:
1253: $__compilerVar15 .= ';
1254: var taigachat_speedurl = "' . htmlspecialchars($taigachat['speedurl'], ENT_QUOTES, 'UTF-8') . '";
1255: var taigachat_url = "' . XenForo_Template_Helper_Core::link('taigachat/list.json', false, array()) . '";
htmlspecialchars() expects parameter 1 to be string, array given in /home/bluechum/public_html/beta/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 1269:
1268: $__compilerVar15 .= ';
1269: var taigachat_timedisplay = "' . htmlspecialchars($taigachat['timedisplay'], ENT_QUOTES, 'UTF-8') . '";
1270: var taigachat_canModify = ';
htmlspecialchars() expects parameter 1 to be string, array given in /home/bluechum/public_html/beta/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 1316:
1315: {
1316: $__compilerVar15 .= 'taigachat_customColor = "' . htmlspecialchars($taigachat['color'], ENT_QUOTES, 'UTF-8') . '";';
1317: }
View attachment 82742
Where is the option to unban someone? I used the regular ban and now cannot find a place to unban.
public function getActivityUserList(array $viewingUser=array())
{
$records = $this->_getDb()->fetchAll(
"
SELECT *
FROM dark_taigachat_activity AS activity
LEFT JOIN xf_user AS user ON
(user.user_id = activity.user_id)
WHERE activity.date > UNIX_TIMESTAMP()-150
ORDER BY activity.date DESC
"
);
$output = array(
'guests' => 0,
'members' => 0,
);
foreach ($records AS $key => &$record)
{
if(!$record['visible']){
unset($records[$key]);
continue;
}
$output['members']++;
}
$output['limit'] = 99999999;
$output['total'] = $output['members'];
$output['records'] = $records;
return $output;
}
public function getActivityUserList(array $viewingUser=array())
{
$visitor = XenForo_Visitor::getInstance();
$sessionModel = $this->getModelFromCache('XenForo_Model_Session');
$onlineUsers = $sessionModel->getSessionActivityQuickList(
$visitor->toArray(),
array('cutOff' => array('>', $sessionModel->getOnlineStatusTimeout())),
($visitor['user_id'] ? $visitor->toArray() : null)
);
$onlineHere = array();
foreach($onlineUsers['records'] AS $key=>$value) { //meh, just to make the filtering later on easier
$onlineHere[$value['user_id']] = $value['user_id'];
}
$records = $this->_getDb()->fetchAll("SELECT *
FROM dark_taigachat_activity AS activity
LEFT JOIN xf_user AS user ON (user.user_id = activity.user_id)
WHERE activity.date > UNIX_TIMESTAMP()-150
ORDER BY user.username");
$output = array(
'guests' => 0,
'members' => 0,
);
foreach ($records AS $key => &$record)
{
if(!$record['visible'] || !isset($onlineHere[$record['user_id']])){
unset($records[$key]);
continue;
}
$output['members']++;
}
$output['limit'] = 99999999;
$output['total'] = $output['members'];
$output['records'] = $records;
return $output;
}
<xen:foreach loop="$taigachat.online.records" value="$user" i="$i">
<xen:if is="{$i} <= {$taigachat.online.limit}">
<div style="margin-bottom:2px">
<li>
<xen:if is="{$user.user_id}">
<xen:avatar user="$user" size="s" img="true" class="_plainImage taigachat_avatar" />
<a href="{xen:link members, $user}"
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUsername, $user}</a><xen:if is="{$i} < {$taigachat.online.total}"><br/></xen:if>
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$taigachat.online.limit}">,</xen:if>
</xen:if>
</li>
</div>
</xen:if>
</xen:foreach>
My opinion, it's useless.@Luke Foreman could you add the ability to 'like' someones message? Similar to how groupme does it? Would be a very cool feature.
My opinion, it's useless.
I have a couple of questions about Speed Mode:
1. My forum is encrypted via SSL, can it protect the security issue of this mode?
2. If the chat in this mode is in a static HTML file, can I protect it via htaccess? Maybe can you please give me the location of the static file?
Thanks.
We use essential cookies to make this site work, and optional cookies to enhance your experience.