Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
i want to show something extra in pending chat list like url from where user is coming , so i wrote {{chat}} , i can not get user url . based on previous question , i tried making changes to "lhchat/syncadmininterface.php" but i do not see any changes to {{chat }}, how can i show user current url from where he is doing chat basically i just want to show domain name as used in embed script
please guide me
Offline
If you make changes to syncadmininterface.php you have to clear cache.
https://livehelperchat.com/article/view/40
Offline
hi cache is disabled
Offline
i have set this
'templatecache' => false,
'templatecompile' => false,
'modulecompile' => false,
Offline
Most likely you forgot to tweak
https://github.com/LiveHelperChat/liveh … ce.php#L88 this part. It adds list of fields which should be ignored. Perhaps in your case it should be logical just remove this part. But it will increase bandwidth because all fields will be selected from DB.
Offline
thanks a lot i just want extra "referrer" field not all how can i do this so that bandwidth will not be affected
Offline
Perhaps just comment this line
https://github.com/LiveHelperChat/liveh … at.php#L55
Offline
thanks for that now i got refferer, now i want to make some chnages to refferer value like getting mapped value of reffere from my custom table,
i worte below code below the line "$pendingChats = erLhcoreClassChat::getPendingChats(10,0,$additionalFilter);"
$pendingChats['refferer']='new test';
nothing changed
Offline
If you don't know how to debug i'm afraid not very mutch help you will get here, like first thing you had to do was
print_r($pendingChats);
it's an array not single element.
Offline
i treid that print_r but where can i see print_r output
Offline
https://livehelperchat.com/how-to-use-d … -291a.html
In chrome debug console.
Offline
when i wrote below code and enable debug output, it does not show array and also pending chats disappared
echo 'ddsddddddddd<pre>';
print_r($pendingChats);
echo '</pre>';
Offline
thanks a lot i got
Offline