The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Deletes are chat history.

4 posters

Go down

In progress Deletes are chat history.

Post by smurfavr March 18th 2016, 10:58 am

After some time everything written in the chat will be deleted.How to fix it not to erase the history of chat.
I use a modified chat @JScript.

/*** * Application: chatbox8 - Edit Messages * Description: Support for editing messages in chat box! * Version: 0.05072015-jq1.9.1 * RC1 (Release candidate 1!) - Mahabharata * Author: JScript - 2015-05-07 * Copyright (c) 2015 JScript <jscriptbrasil at live dot com> * This work is free. You can redistribute it and/or modify it * under the terms of the WTFPL, Version 2 */ // Redefine function! function insertChatBox(chatbox_id, chatbox_url) { return insertChatBoxNew(chatbox_id, chatbox_url); } // Redefine function! function insertChatBoxNew(chatbox_id, chatbox_url) { // Put the chat box on top of widgets! //$('#' + chatbox_id).parent().detach().prependTo('#wrapper'); document.getElementById(chatbox_id).innerHTML = '<iframe style="visibility: hidden;" src="/chatbox/index.forum?archives=1" id="frame_chatbox" scrolling="no" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>'; // Loader 1 var iFrame = document.getElementById('frame_chatbox').contentWindow; var frame_chatbox_document = setInterval(function() { try { if (iFrame.jQuery) { clearInterval(frame_chatbox_document); chat_edit(); } } catch (e) {} }, 50); } // Loader 2 $(function() { if (_userdata.session_logged_in) { $('#frame_chatbox').load(function() { if (typeof document.getElementById('frame_chatbox').contentWindow['chatEdit'] == 'undefined') { chat_edit(); } }); } }); function chat_edit() { var oIframe = (document.getElementById("frame_chatbox").contentWindow.document || document.getElementById("frame_chatbox").contentDocument), script = oIframe.createElement("script"), chatbox_script = function() { window.chatEdit = { locale: { Remove: "Сигурни ли сте, че искате да премахнете това съобщение?", Save: "Запази", Cancel: "Откажи", }, config: { // Change your chatbox title, default is "" = (locale title!) Title: "", // ligns "joined" and "logged off": 1 = Remove Notice: 0, // Change the moderator prefix Prefix: "@", // Automatic login: 0 = Disable autoLogin: 1, // Limit the amount of messages to show, default is 60 limitOfMsg: 60, // Open "smiles" in a pop up window? Default is 0 = no pop up! smilePopUp: 0, /*** * New Chatbox pseudo commands (Beta test and staff only!) * Command Explanation * ------------------------------------------------------------------------------- * /shake "Username" shook the chat window to catch everyone's attention! */ shakeMsg: "agitou a janela de bate-papo para chamar a atenção de todos!" }, interval: 0, isStorage: (typeof(Storage) == "undefined") ? 0 : 1, oBBCode: { patt: [ /\[b](.*?)\[\/b]/gi, /\[i](.*?)\[\/i]/gi, /\[u](.*?)\[\/u]/gi, /\[s](.*?)\[\/s]/gi, /\[center](.*?)\[\/center]/gi, /\[size=(.*?)](.*?)\[\/size]/gi, /\[url](.*?)\[\/url]/gi, /\[url=(.*?)](.*?)\[\/url]/gi, /\[color=(.*?)](.*?)\[\/color]/gi, /\[img](.*?)\[\/img]/gi, /\[spoiler](.*?)\[\/spoiler]/gi, /\[code](.*?)\[\/code]/gi, /\[quote](.*?)\[\/quote]/gi ], html: [ "<strong>$1</strong>", "<i>$1</i>", "<span style='text-decoration:underline;'>$1</span>", "<span style='text-decoration:line-through'>$1</span>", "<div style='margin:auto;text-align:center;width:100%'>$1</div>", "<span style='font-size: $1;'>$2</span>", "<a rel='nofollow' target='_blank' href='$1'>$1</a>", "<a rel='nofollow' target='_blank' href='$1'>$2</a>", "<span style='color: $1'>$2</span>", "<img src='$1' style='max-width:120px;max-height:120px;'/>", "<dl class='codebox spoiler'><dt style='cursor: pointer;'>Spoiler:</dt><dd><div class='spoiler_content'>$1</div></dd></dl>", "<dl class='codebox'><dt>Code:</dt><dd class='cont_code'><code>$1</code></dd></dl>", "<blockquote><div>$1</div></blockquote>" ] }, oHTML: { patt: [ /<strong>(.*?)<\/strong>/gi, /<i>(.*?)<\/i>/gi, /<span style="text-decoration:underline;">(.*?)<\/span>/gi, /<span style="text-decoration:line-through;">(.*?)<\/span>/gi, /<div style="margin:auto;text-align:center;width:100%">(.*?)<\/div>/gi, /<span style="font-size: (.*?);">(.*?)<\/span>/gi, /<a href="(.*?)"><\/a>/gi, /<a href="(.*?)">(.*?)<\/a>/gi, /<span style="color: (.*?)">(.*?)<\/span>/gi, ///<img(?:.*)src="(.*?)"(?:.*)>/gi, /<dl class="codebox spoiler"><dt style="cursor: pointer;">Spoiler:<\/dt><dd><div class="spoiler_content">(.*?)<\/div><\/dd><\/dl>/gi, /<dl class="codebox"><dt>Code:<\/dt><dd class="cont_code"><code>(.*?)<\/code><\/dd><\/dl>/gi, /<blockquote><div>(.*?)<\/div><\/blockquote>/gi ], bbcode: [ '[b]$1[/b]', '[i]$1[/i]', '[u]$1[/u]', '[s]$1[/s]', '[center]$1[/center]', '[size=$1]$2[/size]', '[url]"$1"[/url]', '[url="$1:
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by SLGray March 18th 2016, 7:45 pm

Is it not in the archives (chatbox)?


d2d2d2 - Deletes are chat history. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Deletes are chat history.

Post by smurfavr March 19th 2016, 11:10 am

No.

Chronology stay a while and then vanishes.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by Take Notes March 19th 2016, 6:19 pm

If I understand what you are saying, this happens to all Chatboxes. Sometimes it does this, especially on mobile. All you need to do is scroll on the Chatbox or send a message and there it is.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

In progress Re: Deletes are chat history.

Post by smurfavr March 19th 2016, 7:01 pm

You do not understand me. I say that alone chat deletes a specified time what we wrote.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by Take Notes March 19th 2016, 7:06 pm

smurfavr wrote:You do not understand me. I say that alone chat deletes a specified time what we wrote.
Do you mean all of the chat?
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

In progress Re: Deletes are chat history.

Post by Guest March 19th 2016, 7:07 pm

@smurfavr , since this is something @Jscript produced, I frankly feel like you should ask the one that created your chat. FM support staff did their best here to be of help. I really think you should ask Jscript for help in the right section: https://help.forumotion.com/f37-community-coding-and-analysis-zone . Thank you.

Samantha.


Last edited by RoXaNNeX on March 19th 2016, 7:10 pm; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

In progress Re: Deletes are chat history.

Post by SLGray March 19th 2016, 7:09 pm

Are you saying when you are using it the messages are being deleted when you full the chatbox space?


d2d2d2 - Deletes are chat history. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Deletes are chat history.

Post by Take Notes March 19th 2016, 7:11 pm

RoXaNNeX wrote:@smurfavr , since this is something @Jscript produced, I frankly feel like you should ask the one that created your chat. FM support staff did their best here to be of help. I really think you should ask Jscript for help in the right section: https://help.forumotion.com/f37-community-coding-and-analysis-zone . Thank you.

Samantha.

SLGray wrote:Guys since JScript has not been on for a ling time, it might be a good idea to wait until he returns to post your questions.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

In progress Re: Deletes are chat history.

Post by Guest March 19th 2016, 7:14 pm

Exactly, and to give you a hint, it's got something to do with the 'interval' setting, but since the code Smurfavr gave isn't at all complete, I can't figure out what it is.

Samantha.

@ FM Staff, please pass this topic along to JScript's section. Thanks Wink X
avatar
Guest
Guest


Back to top Go down

In progress Re: Deletes are chat history.

Post by smurfavr March 19th 2016, 8:27 pm

I give an example.
In the chat there are 50 messages for one week and after a certain time of 45 messages disappear.

chat box code
LINK REMOVED A PHISHING / HACKING SITE
PLEASE DO NOT USE THIS SITE ON ANY FORUM.

psp
Code chat is not all because the forum does not allow to place large size codes.


Last edited by APE on March 20th 2016, 3:15 pm; edited 1 time in total (Reason for editing : REMOVED LINK (LINK NOT SAFE))
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by SLGray March 19th 2016, 9:58 pm

I do not believe that the chatbox stores messages forever.


d2d2d2 - Deletes are chat history. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Deletes are chat history.

Post by smurfavr March 20th 2016, 2:15 pm

If the chat is not modified messages keep more than 1-2 years.

If modified chat messages do not keep more than one month
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by Ape March 20th 2016, 3:23 pm

smurfavr wrote:I give an example.
In the chat there are 50 messages for one week and after a certain time of 45 messages disappear.

chat box code
LINK REMOVED  A PHISHING / HACKING SITE
PLEASE DO NOT USE THIS SITE ON ANY FORUM.

psp
Code chat is not all because the forum does not allow to place large size codes.

@smurfavr I Removed your link in your thread as it is seen as a  PHISHING / HACKING SITE
PLEASE DO NOT USE THIS SITE ON ANY FORUM.

I have looked in to the site and seen it is not safe at all.

Please Do a check on links before posting them or using them on your forums.

 NOTE:


  • We are not held responsible for any codes you add to your forum that are not made by Forumotion or its team members.




d2d2d2 - Deletes are chat history. Left1212d2d2d2 - Deletes are chat history. Center11d2d2d2 - Deletes are chat history. Right112
d2d2d2 - Deletes are chat history. Ape_b110
d2d2d2 - Deletes are chat history. Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Deletes are chat history.

Post by smurfavr March 20th 2016, 8:12 pm

@APE
Code is made up of members of your team. @Jscript

Site where I had an attachment to it no nai HACKING This is the largest Bulgarian site email mail abv.bg.
The problem is in your computer. Ask little site that says Hacker and then blame me.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

In progress Re: Deletes are chat history.

Post by Ape March 20th 2016, 8:59 pm

There is no Blame on no one i just removed the URL of the site as we had a warning.

Its better safe then sorry there is no warning gave to you or any one else its just to keep others from seeing the same as we did.


d2d2d2 - Deletes are chat history. Left1212d2d2d2 - Deletes are chat history. Center11d2d2d2 - Deletes are chat history. Right112
d2d2d2 - Deletes are chat history. Ape_b110
d2d2d2 - Deletes are chat history. Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum