Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hey there,
I just set-up the livehelper chat. It works fine!
I noticed in the documentation for additional informations to online visitors.
https://livehelperchat.com/how-to-pass- … -302a.html
I've added the code from the Example to my script.
Now I can seen in the new heading "Additional information" at the online visitor info page.
But there are no informations.
I saw in another thread a suggestion.
Use:
[== HTML ==]
<pre>
<ul class="list-unstyled">
<?php
foreach (json_decode($online_user->online_attr) as $custom_attribute) {
echo "<li>".$custom_attribute."</li>";
}
?>
</ul>
</pre>
instead of:
[== HTML ==]
<pre>
<?php echo htmlspecialchars(json_encode(json_decode($online_user->online_attr),JSON_PRETTY_PRINT));?>
</pre>
So I've copied online_user_info.tpl.php the file from "defaulttheme/tpl/lhchat/online_user/" to "customtheme/tpl/lhchat/online_user/".
I've added some "Hello"-Lines on several postions in this file.
I've also added the custom output for these additional informations.
But I cant see any changes in the page. It seems that my custom file will not be used.
What am i doing wrong? Can somebody help me?
Bye
c2o
Offline
I don't want to annoy someone, but does anyone got a solution or an idea for my problem?
Offline
Hi,
I ques you have not disabled cache while developing.
https://livehelperchat.com/article/view/40
Offline
Pages: 1