Shoutbox issue on mr3040 January 07, 2015 08:38PM |
Registered: 9 years ago Posts: 6 |
Re: Shoutbox issue on mr3040 January 07, 2015 09:09PM |
Admin Registered: 13 years ago Posts: 4,680 |
cat /etc/pbx_custom_image cat /etc/openwrt_release cat /opt/piratebox/version cat /etc/config/network cat /etc/config/wireless
Re: Shoutbox issue on mr3040 January 07, 2015 10:51PM |
Registered: 9 years ago Posts: 6 |
Re: Shoutbox issue on mr3040 January 08, 2015 12:33AM |
Registered: 9 years ago Posts: 6 |
Language: PHPcat /etc/pbx_custom_image PBX_auto_Image_2.2 cat /etc/openwrt_release DISTRIB_ID="OpenWrt_backports" DISTRIB_RELEASE="12.09.2" DISTRIB_REVISION="r42647" DISTRIB_CODENAME="attitude_adjustment" DISTRIB_TARGET="ar71xx/generic" DISTRIB_DESCRIPTION="OpenWrt_backports Attitude Adjustment 12.09.2" DISTRIB_BACKPORT="V0.2.1" cat /opt/piratebox/version piratebox-ws_1.0.2 cat /etc/config/network config interface ';loopback'; option ifname ';lo'; option proto ';static'; option ipaddr ';127.0.0.1'; option netmask ';255.0.0.0'; config interface ';lan'; option ifname ';eth0'; option type ';bridge'; option proto ';static'; option ipaddr ';192.168.1.1'; option netmask ';255.255.255.0'; cat /etc/config/wireless config wifi-device ';radio0'; option type ';mac80211'; option channel ';11'; option hwmode ';11ng'; option macaddr ';c4:6e:1f:39:51:be'; option htmode ';HT20'; list ht_capab ';SHORT-GI-20'; list ht_capab ';SHORT-GI-40'; list ht_capab ';RX-STBC1'; list ht_capab ';DSSS_CCK-40'; option disabled ';0'; config wifi-iface option device ';radio0'; option network ';lan'; option mode ';ap'; option encryption ';none'; option ssid ';PirateBox - Share Freely';
Re: Shoutbox issue on mr3040 January 08, 2015 10:28AM |
Admin Registered: 13 years ago Posts: 4,680 |
without any issues?Language: PHPhttp://piratebox.lan/chat_content.html
Re: Shoutbox issue on mr3040 January 08, 2015 01:33PM |
Registered: 9 years ago Posts: 6 |
Re: Shoutbox issue on mr3040 January 11, 2015 09:53AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Shoutbox issue on mr3040 January 11, 2015 10:18AM |
Registered: 9 years ago Posts: 6 |
Re: Shoutbox issue on mr3040 January 11, 2015 11:51AM |
Registered: 9 years ago Posts: 6 |
shows the message.Language: HTMLhttp://piratebox.lan/chat_content.html
Re: Shoutbox issue on mr3040 January 11, 2015 12:27PM |
Registered: 9 years ago Posts: 5 |
Re: Shoutbox issue on mr3040 February 06, 2015 08:24AM |
Re: Shoutbox issue on mr3040 February 06, 2015 09:40AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Shoutbox issue on mr3040 February 11, 2015 08:47AM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 February 19, 2015 02:29AM |
Re: Shoutbox issue on mr3040 February 19, 2015 07:51AM |
Admin Registered: 13 years ago Posts: 4,680 |
vi /opt/piratebox/www/scripts.jsLine 113 , the time is in ms
Re: Shoutbox issue on mr3040 February 19, 2015 08:26AM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 February 19, 2015 01:30PM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 February 19, 2015 04:51PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Shoutbox issue on mr3040 February 20, 2015 09:53AM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 February 20, 2015 10:43AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Shoutbox issue on mr3040 February 20, 2015 12:31PM |
Registered: 9 years ago Posts: 10 |
Language: HTML<!DOCTYPE html> </ul> </nav> </div> </header> <section id="content"> <div class="container"> <div id="welcome" class="card"> <h2>Welcome</h2> <p>Now, first of all, there is nothing illegal or scary going on here. This is a social p lace where you can chat and share files with people around you, <strong>anonymously</strong>! This is an off-line network, specially designed and developed for file-sharing and chat services. Staying off the grid is a precauti on to maintain your full anonymity. Please have fun, chat with people, and feel free to share any files you may l ike.</p> <input id="thanks" class="button" type="submit" value="Thanks"> </div> <div id="sidebar"> <div id="upload" class="card"> <h2>Upload</h2> <iframe width="100%" height="80" src=';http://sharebox.lan:8080';> Your browser does not support iframes.. If you want to upload something, follow this <a href=';http://sharebox.lan:8080';>Link</a>. </iframe> <h3><a href="/Shared">Browse Files -></a></h3> </div> </div> <div id="main"> <br> <iframe name="psoread" src="/cgi-bin/psoread.py" width="95%" height="275" frameBorder="1" #ccc> Your browser does not support inline frames or is currently configured not to dis play inline frames.</iframe></p> <script language="javascript"> <!-- function reset() { self.document.psowrte.data.value=""; self.document.psowrte.data.focus(); } --> </script> <form method="POST" action="/cgi-bin/psowrte.py" target="psoread" name="psowrte" onsubmit ="setTimeout(';reset()';,10)"> <b>Name:</b><input type="text" value="anonymous" name="name" size="10"> <b>Me ssage:</b><input type="text" name="data" size="20"> <input type="submit" value="PirateBox Chat" name="submit"><br> <b>Color:</b> Default<input type="radio" value="def" name="color" checked> | <font color="#0000FF">Blue</font><input type="radio" value="blue" name="color"> | <font color="#008000">Green</font><input type="radio" value="green" name="color"> | <font color="#FF8040">Orange</font><input type="radio" value="orange" name="color"> | <font color="#FF0000">Red</font><input type="radio" value="red" name="color"></p> </form> </div> </div> </section> <footer id="about"> <div class="container"> <p class="to-top"><a href="#header">Back to top</a></p> <h2>About ShareBox</h2> <p>Inspired by pirate radio and the free culture movement, ShareBox (original PirateBox) is a sel f-contained mobile collaboration and file sharing device. ShareBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, d ocuments, and other digital content.</p> <p>ShareBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.</p > <small>PirateBox is licensed under GPLv3.</small> </div> </footer> </body> </html>
Re: Shoutbox issue on mr3040 February 20, 2015 01:38PM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 February 20, 2015 01:53PM |
Admin Registered: 13 years ago Posts: 4,680 |
Language: HTML<h2 data-l10n-id="mainChatChat">Chat</h2> <div id="shoutbox" class="shoutbox_content"> <iframe name="psoread" src="/chat_content.html" width="100%" height="100%" frameBorder="1" > Your browser does not support inline frames or is currently configured not to dis play inline frames.</iframe> </div>
Language: Javascriptfunction refresh_shoutbox () { // $.get(';chat_content.html';, function(data) { // $(';div#shoutbox';).html(data); // }); }
Language: Pythonhtmlstring = "<html><head><meta http-equiv=';cache-control'; content=" \ "';no-cache';><meta name=';GENERATOR'; content=';PyShoutOut';><meta http-equiv=';refresh'; content=';10'; />" \ "<title>Shout-Out Data</title><body>" htmlstring += content
Re: Shoutbox issue on mr3040 February 20, 2015 02:00PM |
Admin Registered: 13 years ago Posts: 4,680 |
Language: Javascriptfunction refresh_shoutbox () { $.get(';chat_content.html';, function(data) { $(';div#shoutbox';).html(data); }); } function refresh_time_sb () { // Refresh rate in milli seconds mytime=setTimeout(';display_shoutbox()';, 10000); } function post_shoutbox () { $.post("/cgi-bin/psowrte.py" , $("#sb_form").serialize()) .success(function() { refresh_shoutbox(); }); $(';#shoutbox-input .message';).val(';';); }
Re: Shoutbox issue on mr3040 February 20, 2015 02:21PM |
Registered: 9 years ago Posts: 10 |
Language: Javascriptfunction refresh() { frame = document.getElementsByName( ';psoread'; )[0]; frame.contentWindow.location.reload() }
Re: Shoutbox issue on mr3040 February 20, 2015 02:25PM |
Registered: 9 years ago Posts: 10 |
Language: Javascript<script type="text/javascript"> function refresh() { frame = document.getElementsByName( ';psoread'; )[0]; > frame.contentWindow.location.reload() } interval = window.setInterval( ';refresh()';, 8000 ); </script> <script language="javascript"> <!-- function reset() { self.document.psowrte.data.value=""; self.document.psowrte.data.focus(); refresh(); } --> </script>
Re: Shoutbox issue on mr3040 February 20, 2015 02:34PM |
Admin Registered: 13 years ago Posts: 4,680 |
Language: Javascript$(document).ready(function() { ..... refresh_time_sb(); display_shoutbox(); ... } function refresh_time_sb () { // Refresh rate in milli seconds interval = window.setInterval( ';refresh_shoutbox()';, 10000 ); } function display_shoutbox() { refresh_shoutbox(); }
Re: Shoutbox issue on mr3040 February 20, 2015 03:06PM |
Registered: 9 years ago Posts: 10 |
Re: Shoutbox issue on mr3040 March 05, 2015 11:10PM |
Registered: 10 years ago Posts: 6 |
Re: Shoutbox issue on mr3040 March 09, 2015 11:52AM |
Admin Registered: 13 years ago Posts: 4,680 |