Current date/time is May 22nd 2022, 3:27 am

Search found 3 matches for 222222

Deletes are chat history.

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:
by smurfavr
on March 18th 2016, 10:58 am
 
Search in: Garbage
Topic: Deletes are chat history.
Replies: 15
Views: 2062

Requesting a full kit images

Creation Type : Forum Kit images
Dimensions : ---
Primary Colors : [You must be registered and logged in to see this link.]
Secondary Colors : [You must be registered and logged in to see this link.]
Images to include :
Images:

Text to insert : ---
Font : ---
Font Color : [You must be registered and logged in to see this link.]
Link to my Forumotion forum : [You must be registered and logged in to see this link.]
Username on the forum : Admin
Link to last graphic request : ---
Detail description : Hello dear Designers,

I would like to request a kit with images for my forum. I need some buttons and icons for my forum if you may. If possible i don't want any images in the buttons but only the text. Only the forum icons i would like somehow special and more 'inspiring' if you like to attract my members.
The images i would like to have are:
  • Category No-New (as an image) - preferably as a circle and with color [You must be registered and logged in to see this link.]
  • Category New (as an image) - circle colored [You must be registered and logged in to see this link.]
  • Category Locked (as an image) - circle colored [You must be registered and logged in to see this link.]
  • Topic Hot (as an image) - circle colored gold-ish
  • New Topic
  • Post Reply
  • Locked (text with red color please)
  • New PM
  • Quote
  • Edit
  • Thanks
  • Thanked (less opacity)
  • X (for delete)
  • ? (for IP)
  • ! (send a report)
  • ! (report sent with less opacity)
  • a figure (for profile icon)
  • PM (for pms)
  • folder (for email)
  • globe (for website)


You have as much time as you need!

I am not in a hurry!

Thanks a lot for whoever takes time and completes my request!
Much appreciated,
Luffy

by TheCrow
on November 26th 2015, 2:46 pm
 
Search in: Completed Graphic Requests
Topic: Requesting a full kit images
Replies: 20
Views: 1096

Chat box: problems with HTML!

Hello everybody!

I posted the following message in the chat:
Tag code test: [ code]if (_userdata.session_logged_in) { console.log('Ok!') };[/ code]

And the result is in the picture below:
Topics tagged under 222222 on The forum of the forums 36ZvsZm

Note that the HTML of BBCode is outside of the block <span style = "color: #222222"> </ span>

I noticed this problem on various forums, not only on my forum, this also happens with a test forum that I have without any JavaScript added!

The correct way should look like this:
Topics tagged under 222222 on The forum of the forums ZaSZVOj

For reference, here's the JSON returned in the message:
Code:

<span style="color: #222222">Tag code test:
    <dl class="codebox contcode">
        <dt>Code:</dt>
        <dd>
            <code>if (_userdata.session_logged_in) { console.log(&apos;Ok!&apos;) }</code>
        </dd>
    </dl>
</span>

Topics tagged under 222222 on The forum of the forums BStInH3

JS
by JScript
on May 13th 2015, 3:10 am
 
Search in: Garbage
Topic: Chat box: problems with HTML!
Replies: 13
Views: 1350

Back to top

Jump to: