Chat box: Codes to personalize it
2 posters
Page 1 of 1
Chat box: Codes to personalize it
Hello everybody!
Introduction:
First I'll explain the reason of my code that customize the chat be formulated as follows:
1- These functions belong to https://illiweb.com/.../frm/lang/XX.js language file and are automatically called to insert the chat in the forum;
2- They are called even when we click on the links "Archives" and then on "Back to the Chat";
3- Thus, it is clear and evident that the personalization codes will always run because they will be within the native function!
About the other codes::
I will comment on the codes relating to this link: https://help.forumotion.com/t139284-codes-to-personalize-your-chatbox?highlight=chatbox+codes
Question: You already tried to add some code and click on "Archives" and then on "Back to the Chat" and verify that the code is still working?
-> Well, with me only work when I update the browser page...
Anyone else confirm this?
Thanks everyone for the feedback,
JS
Introduction:
First I'll explain the reason of my code that customize the chat be formulated as follows:
- Code:
function insertChatBox(chatbox_id, chatbox_url) {
return insertChatBoxNew(chatbox_id, chatbox_url);
}
function insertChatBoxNew(chatbox_id, chatbox_url) {
document.getElementById(chatbox_id).innerHTML = '<iframe src="/chatbox/index.forum?archives=1" id="frame_chatbox" scrolling="no" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>';
frames["frame_chatbox"].onload = function() {
// Your code here!
};
}
1- These functions belong to https://illiweb.com/.../frm/lang/XX.js language file and are automatically called to insert the chat in the forum;
2- They are called even when we click on the links "Archives" and then on "Back to the Chat";
3- Thus, it is clear and evident that the personalization codes will always run because they will be within the native function!
About the other codes::
I will comment on the codes relating to this link: https://help.forumotion.com/t139284-codes-to-personalize-your-chatbox?highlight=chatbox+codes
Question: You already tried to add some code and click on "Archives" and then on "Back to the Chat" and verify that the code is still working?
-> Well, with me only work when I update the browser page...
Anyone else confirm this?
Thanks everyone for the feedback,
JS
Re: Chat box: Codes to personalize it
In the tests I did, it would suffice that the codes stay within that function below and thus when the iframe is updated, the code comes back into operation!Wagner' wrote:The same here.. (Sorry for late response)
- Code:
frames["frame_chatbox"].onload = function() {
// Your code here!
};
JS
Similar topics
» Attempting to Personalize Chatbox with Codes not Working
» Chat built with codes other than standard not visible ( Punbb)
» Immediate Removal of FM Chat & Validate Registration Field Tutorial Codes
» How to remove the @ in the Chat box/ How to make the default chat box on every page of forum?
» Hide chat/Ban all users chat (except Admin/Mods/Group)
» Chat built with codes other than standard not visible ( Punbb)
» Immediate Removal of FM Chat & Validate Registration Field Tutorial Codes
» How to remove the @ in the Chat box/ How to make the default chat box on every page of forum?
» Hide chat/Ban all users chat (except Admin/Mods/Group)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum