TSUKI NO ME KEIKKAKU
Sorry But This Site Is Restricted To View,Only Members Who Join Can View.
Create A Account Now!.

After Creating Account And Joining This Site,Make Sure You Read Rules And Regulation,So That You Know The Rules,If You Un-Followed The Rules It May Cause You A Account Banned.
Navigation
 Portal
 Indeks
 Anggota
 Profil
 FAQ
 Pencarian
Language Translator
Login

Lupa password?

Latest topics
» Waterloo AquiferTest Pro 2018.v8.0
Wed May 09, 2018 9:41 am by higher86

» RISA Foundation v10.03
Wed May 09, 2018 8:25 am by higher86

» RISA Floor v12.03
Wed May 09, 2018 7:07 am by higher86

» Processing Modflow X v10.0.13 x64
Wed May 09, 2018 5:43 am by higher86

» Intergraph.GeoMedia.Desktop.2015
Wed May 09, 2018 4:19 am by higher86

» Dodging v4.5
Sat Jan 28, 2017 6:50 pm by ryosukeanbu

» DHI-WASY FeFlow v7.0.10.15489
Thu Jan 12, 2017 11:30 pm by higher86

» Global.Mapper.v17.2.2h.b070216.Win32 64
Tue Jan 10, 2017 11:11 pm by higher86

» Carlson.SurvPC.v5.03
Tue Jan 10, 2017 1:45 am by higher86

» Carlson.Precision.3D.Topo.2016.2.38453
Tue Jan 10, 2017 1:30 am by higher86

Statistics
Total 1198 user terdaftar
User terdaftar terakhir adalah samuelgegeh

Total 13309 kiriman artikel dari user in 3130 subjects

Mobile Chat Box here Forum

Go down

Mobile Chat Box here Forum

Post by Nakushi on Tue Feb 05, 2013 7:39 am

Sorry my english, I'm brazilian, I took a tutorial Brazilian and translate to English ...

In the first place did it because I saw many people in online chat more, are never at home, always are browsing the forum, well here's something that will facilutar you are in chat, this chat is going on all pages forum.



Chatbox retractable corner Forum

Ever thought of taking the chatbox the bottom of the page, or the beginning and put elsewhere? In this tutorial we will learn to put the chatbox elsewhere on the forum so simple.

-> Tutorials tips and tricks <-
Chatbox retractable corner Forum


1ยบ - Create an HTML page:
Let's create a custom page, and put the code below:
Control Panel - >> Modules - HTML >> - >> Management of HTML pages - >> Create a new HTML page - >>



Let's add the code below:

Code:
var cb_new=1;
var cbmp3='http://tinyurl.com/ma-musique-fa';

jQuery(document).ready(function(){
  jQuery('body').append('<span id="cbalarm"></span>');
});

$('body').append('<div style="border-top: 7px solid #000;border-left: 7px solid #000; border-radius: 20px 0 0 0; z-index: 10000; -moz-border-radius: 20px 0 0 0; -webkit-border-radius: 20px 0 0 0; background-color: #000; position: fixed; bottom: 0; right: 0;" onMousever="stopINT()" onClick="stopINT()" onClick="stopINT()" onMouseOut="stopINT()" id="chatbox_ret_cont"><div style="font-size: 12px; font-family: \'trebuchet ms\', serif; cursor: pointer; padding: 3px;"  onClick="(document.getElementById(\'chatbox_ret\').style.display==\'block\')?my_setcookie(\'chatbox_ret\',\'0\',0,0):my_setcookie(\'chatbox_ret\',\'1\',1,0); $(\'#chatbox_ret\').toggle(\'normal\');"><span style="color:#22ec3a" id="chatbox_ret_online">?</span> & <span style="color:#ff4037" id="chatbox_ret_offline">?</span></div><iframe src="/chatbox/chatbox.forum" id="chatbox_ret" name="chatbox_ret" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="width: 740px; height: 400px; display: none;" onLoad="if(cb_new) { cb_start(); cb_new=0; }"></iframe></div>')

if(parseInt(my_getcookie('chatbox_ret'))==1) document.getElementById('chatbox_ret').style.display='block';
if(!document.getElementById('i_icon_mini_login')){var oldCCB;var oldDCB;var pageTitle=document.title; var INTCB;function stopINT(){ if(INTCB!=undefined){clearInterval(INTCB);document.title=pageTitle;} return true;} function checkCB(){ if(parent.chatbox_ret.connected){ if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length==2) { if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[0].className=='member-title away') { document.getElementById('chatbox_ret_online').innerHTML=0;document.getElementById('chatbox_ret_offline').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[1].childNodes.length; } else { document.getElementById('chatbox_ret_offline').innerHTML=0;document.getElementById('chatbox_ret_online').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[1].childNodes.length; } } else if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length>2) { document.getElementById('chatbox_ret_online').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[1].childNodes.length;document.getElementById('chatbox_ret_offline').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[5].childNodes.length; }
document.getElementById('chatbox_ret_cont').style.backgroundColor='#0b940b';document.getElementById('chatbox_ret_cont').style.borderColor='#0b940b'; parent.chatbox_ret.document.getElementById('refresh_auto').checked=true; var newDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML; if(newDCB!=oldDCB){oldDCB=newDCB;var newCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; stopINT();if(newCCB!=oldCCB){ oldCCB=newCCB; jQuery('#cbalarm').html('<object id="cbalarm" type="application/x-shockwave-flash" data="http://tinyurl.com/minidew-fa" width="0" height="0" style="visibility:hidden"><param name="movie" value="http://tinyurl.com/minidew-fa" /><param name="flashvars" value="mp3='+cbmp3+'&autoplay=1" /></object>');INTCB=setInterval("document.title=(document.title==pageTitle)?'!!! New Message !!!':pageTitle;",500); setTimeout('stopINT()',300000);}}}else { document.getElementById('chatbox_ret_cont').style.backgroundColor='#940b0b';document.getElementById('chatbox_ret_cont').style.borderColor='#940b0b'; stopINT();}} function cb_start() { if(parent.chatbox_ret.connected) { oldDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML;oldCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; } else { oldDCB=''; oldCCB=''; } setInterval('checkCB()',1000); parent.chatbox_ret.onfocus= parent.chatbox_ret.onkeypress= parent.chatbox_ret.onclick= parent.chatbox_ret.onblur=stopINT;}}

Soon, we will indulge:
Control Panel - >> General - >> Forum - >> Configuration - >>
As default, when you create a custom page HTML forum displays a number, which is also the page number on the control panel as well as the external number (number of external link). Let's put this code in the field of "Site description":


Modifying the value in "Red," let's put the number of the HTML page that your forum managed. Already, we can see the code like that shown below:

Code:
<script src=-h1.htm></script>

What is the result?






Credit: Luciano98
avatar
Nakushi
Certified Members
Certified Members

Jumlah posting : 15
Join date : 23.01.13
Age : 20
Lokasi : Brazil

Lihat profil user

Kembali Ke Atas Go down

Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik