The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

problem for shoutbox

Go down

Solved problem for shoutbox

Post by GAMSgr on January 31st 2017, 6:17 pm

Code:
<!--
// Copyright? (c) 2013 JScript <jscriptbrasil at live.com>
// This work is free. You can redistribute it and/or modify it
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
      <title>Chatbox</title>
      <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
      <meta content="text/javascript" http-equiv="content-script-type"/>
      <meta content="text/css" http-equiv="content-style-type"/>
      <link href="http://illiweb.com/fa/favicon/write.ico" type="image/x-icon" rel="shortcut icon"/>
      <link type="text/css" href="https://googledrive.com/host/0BywKunb3ieyDdVlWcUlScmk2SlE/ShoutBox.css" rel="stylesheet"/>        
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
      <!--<script type="text/javascript" src="http://illiweb.com/rsc/54/frm/lang/pt.js"></script>-->

        <script type="text/javascript" src="https://googledrive.com/host/0BywKunb3ieyDdVlWcUlScmk2SlE/lz-string-1.3.0-rc1.js"></script>

<script type="text/javascript" src="https://googledrive.com/host/0B1KYB697LuNxVUlqTDVLTXNHSkU"></script>

        <!-- Include the editors JS
        <link rel="stylesheet" href="https://googledrive.com/host/0BywKunb3ieyDdjQzQW43bUtndnM/office-toolbar.min.css" type="text/css" media="all" />
        <script type="text/javascript" src="https://googledrive.com/host/0BywKunb3ieyDYTRDTVAxX1N2MGM/jquery.sceditor.bbcode.min.js"></script>
        <script type="text/javascript" src="https://googledrive.com/host/0BywKunb3ieyDR2FvbUdPLVczTjQ/pt-BR.js"></scrip>
        -->
      <script type="text/javascript">
        //<![CDATA[
        var params = '?archives=1';
        var smilies_sid = '';
        var url_chat = '/chatbox/index.forum';

                        function updateParent() {
                parent.updateIframeSize('iframe_shoutbox', $('html').height());
            }            
            /*
            $(function() {
                $("#editarea").sceditor({
                    plugins: "bbcode",
                    toolbar: "source,removeformat,maximize|font,size,color,emoticon|cut,copy,paste,pastetext|bold,italic,underline,strike,subscript,superscript|code,quote,image,email,link,unlink|left,center,right,justify",
                    fonts: "Arial,Arial Black,Courier New,Sans-serif,Times New Roman,Trebuchet MS",
                    locale: "pt",
                    emoticonsRoot: "https://googledrive.com/host/0BywKunb3ieyDeXo0RF93Z1BXd3M/",
                    resizeEnabled: false,
                    autofocus: true
                });
            });*/
        //]]>
      </script>



      <style type="text/css">
        * {margin: 0;padding: 0;}
        html, body {overflow: hidden;}
        body {padding: 0;margin: 0;background-color: #fbfbfb; font-family: helvetica,arial,sans-serif !important}
        .fontbutton {border:0;}
            #ajax_loading {
                background: -moz-linear-gradient(center top , #95C715 0%, #7BA60D 100%) repeat scroll 0 0 transparent;
                border: 1px solid #7BA60D;
                border-radius: 0 0 5px 5px;
                box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(255, 255, 255, 0.2) inset;
                color: #FFFFFF;
                left: 46%;
                padding: 5px 0 8px;
                position: fixed;
                text-align: center;
                top: 0;
                width: 8%;
                z-index: 10000;
            }            
.punbbtop button {
display: none !important;
}
      </style>
  </head>
  <body vlink="" text="#333333" link="#225985" bgcolor="#fbfbfb" onload="parent.updateIframeSize('iframe_shoutbox', $('html').height());">
      <div id="ajax_loading" style="display: none;"><img alt="Loading..." src="http://i69.servimg.com/u/f69/18/17/62/92/ajax_l10.gif"/></div>
      <div id="shoutbox-temp-msgs" style="display: none;"></div>
        <div id="shoutbox-temp-imgs" style="display: none;"></div>
      <div id="category_shoutbox" class="category_block block_wrap" style="min-height: 300px; min-width: 720px; width: 100%;">
        <h3 class="maintitle">
            <a title="View Main Shoutbox" href="/forum" target="_top">Shoutbox </a>
        </h3>
        <div role="tablist" class="cke_dialog_tabs" id="cke_dialog_tabs_200">
            <a role="tab" hidefocus="true" tabindex="-1" id="cke_general_207" title="General" cke_first="" class="cke_dialog_tab" style="-moz-user-select: none;">
            General
            </a>
        </div>
        <div class="ipsBox table_wrap">
            <div class="ipsBox_container">
              <table class="ipb_table shoutbox_table" style="height: 230px; min-height: 230px;">
                  <tbody>
                    <tr class="row2" id="shoutbox-announcement-row">
                        <td valign="middle" colspan="2" class="altrow">
                          <div class="message" id="shoutbox-announcement-text">
              No spamming and offensive words. <strong class="bbc">Support is not allowed in Shoutbox!</strong>
                          </div>
                        </td>
                    </tr>
                    <tr class="row1">
                        <td valign="top" colspan="2" class="altrow">
                          <div id="shoutbox-shouts" style="overflow: auto; overflow-x: hidden; left: 0px; top: 0px; height: 169px; min-height: 128px;">
                              <p id="shoutbox-inactive-prompt" style="display: none; height: 126px;" class="altrow short">
                                <br>We've noticed that you've been inactive for over 10 minutes.<br>
                               The shoutbox has stopped running due to your inactivity.<br>
                                  If you are back again, please click the button below <u>I'm back!</u>.
                                <br><br>
                                <input type="button" onclick="I_am_back();" class="input_submit" value="I am Back!">
                              </p>
                              <p id="shoutbox-service" style="display: none; height: 126px;" class="altrow short">
                                <br><br>Our shoutbox is currently undergoing maintenance, we appreciate your understanding!<br>
                                The shoutbox has stopped running due to technical reasons.<br>
                                We will be back later. Thank you for understanding!
                                <br>
                              </p>
                              <table id="shoutbox-shouts-table" style="display: ;">
                                <div id="chatbox_members" style="display: none;" increment="10" pageincrement="144" maxpos="460" curpos="0"></div>
                                <tbody id="chatbox_general" class="chat_toggle" style="display: ;" curpos="188" maxpos="325" pageincrement="0" increment="10">
                                    <!-- General ChatBox content -->
                                </tbody>
                              </table>
                          </div>
                          <div id="shouts-global-resizer" title="Clique para redimensionar o ShoutBox!" onmousedown="resizeElement();"></div>
                          <div style="display: none;" class="message error block_wrap" id="shoutbox-inline-error-glb"></div>
                        </td>
                    </tr>
                    <!-- Buttons -->
                    <tr class="row1">
                        <td valign="top" colspan="2" class="altrow">
                          <form onsubmit="submitmsg('?archives=1');return false;" method="post" action="" name="post">
                              <div id="chatbox_messenger_form" style="display: ">
                                <div align="center" onclick="document.post.message.focus();timer_count=0;">
                                    <input type="text" id="message" name="message" size="70" maxlength="1024" class="input_text" autocomplete="off" style="width: 98%; margin-bottom: 10px;" onkeydown="number_of_refresh=0;timer_count=0;" />
                                    <input type="submit" class="input_submit" value="Send Shout" id="submit_button" name="submit_button"/>
                                    <input type="button" class="input_submit alt" value="Clear" id="shoutbox-clear-button" onclick="document.getElementById('message').value = '';">
                                    <input type="button" class="input_submit alt" value="Refresh" id="shoutbox-refresh-button" style="" onclick="refresh_chatbox('?archives=1');"/>
                                </div>
                              </div>
                          </form>
                        </td>
                    </tr>
                  </tbody>
              </table>
            </div>
        </div>

                 </div>

        <div class="popupWrapper" id="editShout_popup" style="display: none; top: 50%; left: 50%; width: 650px; height: 245px; margin:-135px 0 0 -325px; position: absolute;">
        <div class="popupInner" id="editShout_inner" style="width: 650px; height: 245px;">
            <h3>Edit Shout</h3>
            <div class="message error block_wrap" id="shoutbox-inline-error-editShout" style="display:none;"></div>
            <div class="ipsPad">
                <span class="cke_wrapper cke_ltr" role="presentation">
                <form onsubmit="submitEditedMsg('?archives=1');return false;" method="post" action="" name="editpost">              
              <table border="0" cellpadding="0" cellspacing="0" class="cke_editor">
                  <tbody>
                    <tr>
                        <td class="cke_contents" style="height: 100px; padding: 0px ! important;">
                                    <textarea class="input_text" id="editarea" name="editarea" 
                                        style="width: 98%; height: 89%; resize: none; outline: medium none; text-align: left;" onkeydown="number_of_refresh=0;timer_count=0;">
                                    </textarea>
                                </td>
                    </tr>
                            <!--
                    <tr>
                        <td class="cke_contents">
                                    <textarea class="input_text" id="editarea" name="editarea" 
                                        style="width: 625px; height: 78px; resize: none; outline: medium none; text-align: left;" onkeydown="number_of_refresh=0;timer_count=0;">
                                    </textarea>
                                </td>
                    </tr>
                            -->
                  </tbody>
              </table>
              <div class="short ipsPad">
                        <div onclick="document.editpost.editarea.focus();timer_count=0;">
                            <input type="submit" class="input_submit" value="Send Shout" id="submit_button" name="submit_button"/>
                            <input type="button" class="input_submit alt" value="Clear" id="shoutbox-clear-button" onclick="document.getElementById('editarea').value = '';">
                            <input type="button" class="input_submit alt" value="Cancel" id="shoutbox-refresh-button" onclick="$('#editShout_popup').toggle();">
                        </div>
              </div>
                </form>
                </span>                
            </div>
        </div>
        <div class="popupClose clickable" id="editShout_close" onclick="$('#editShout_popup').toggle();"><img alt="x" src="http://i81.servimg.com/u/f81/17/45/75/97/cat_mi10.png"></div>
      </div>

        
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Welcome to Coding Support!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// --> 
</script>

  </body>
</html>



and http://fmdesign.forumotion.com/t318-forumotion-shoutbox
Good evening, I put this code in html page but do not appear correctly


http://www.best-gaming.net/h11-page

also no messages appear
I tried the driver from another forum but to that it showed me all the skoutvoch, can you please help me thank you.


Last edited by GAMSgr on February 4th 2017, 6:20 pm; edited 2 times in total

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by Draxion on January 31st 2017, 6:31 pm

Hello.

Use the code tags instad of posting the entire thing on the message.
Code:
[code][/code]


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1912
Reputation : 238
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on January 31st 2017, 6:44 pm

edit-ok Smile

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by Draxion on January 31st 2017, 6:46 pm

Have you tried putting that into a widget? That's what I use.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1912
Reputation : 238
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on January 31st 2017, 6:47 pm

yes

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by carmenta on January 31st 2017, 10:04 pm

Hello. If you use it in widget, are you sure that it's in editor mode? That paper image above. It's a basic mistake some people too. If it's not in editor mode, when you copy code, it ruins it n.n

avatar
carmenta
Forumember

Posts : 32
Reputation : 3
Language : Turkish/English

http://www.hogwarts-rpg.com

Back to top Go down

Solved Re: problem for shoutbox

Post by APE on January 31st 2017, 10:12 pm

Also make sure you have the following settings turned on in your ACP and user profile.

ACP >> General tab >> Messages and e-mails >> Configuration >>
Allow HTML : YES
Allow BBCode : YES
Activate the WYSIWYG mode by default in the posts : YES

SAVE

Members profile:
in your Nav bar click Profile
Preferences Tab >>
Always allow BBCode : YES
Always allow HTML : YES

SAVE






avatar
APE
Manager
Manager

Male Posts : 11637
Reputation : 1134
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on February 1st 2017, 6:00 am

hello, there are all settings are correct, but appears wrong

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by SLGray on February 1st 2017, 9:54 am

Wait a minute! The JavaScript you posted in the first post is by JScript, but then you linked a tutorial on a different forum by someone different.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 41903
Reputation : 2881
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on February 1st 2017, 2:08 pm

please help me!


Last edited by GAMSgr on February 1st 2017, 3:17 pm; edited 1 time in total

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by skouliki on February 1st 2017, 2:43 pm

@GAMSgr wrote:Σε παρακαλώ βοήθησέ με

hello @GAMSgr this is an English support forum, so please speak in English
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3346
Reputation : 527
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on February 1st 2017, 3:04 pm

τι δε καταλαβαίνεται;

--
what do not you understand?

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by Van-Helsing on February 1st 2017, 11:23 pm

Hello,
The author of this project has been abandoned it and it has been discontinued as this project was worked with previous versions of forumotion chatbox.
avatar
Van-Helsing
Hyperactive

Male Posts : 2407
Reputation : 111
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: problem for shoutbox

Post by GAMSgr on February 2nd 2017, 6:22 am

good morning, ok is there something similar? thanks

GAMSgr
Forumember

Posts : 53
Reputation : 1
Language : greek,english

http://www.best-gaming.net/forum

Back to top Go down

Solved Re: problem for shoutbox

Post by APE on February 4th 2017, 6:17 pm

That system no longer works and it will not work as the chatbox system changed.

So no sorry that code will not work and there is no other code to do this.



avatar
APE
Manager
Manager

Male Posts : 11637
Reputation : 1134
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Solved Re: problem for shoutbox

Post by APE on February 5th 2017, 5:47 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules



avatar
APE
Manager
Manager

Male Posts : 11637
Reputation : 1134
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Back to top


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