News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

nneonneo's Shoutbox

Started by nneonneo, December 26, 2006, 06:58:11 PM

Previous topic - Next topic

turtleautos

Quote from: cieplutki on November 28, 2010, 07:53:35 AM
unofficial to 2.0 rc 4 and 1.1.12 with some change to smf.pl and friedns
it's look that :



included:
scrollbar, sound and some more

uploaded and installed on rc4 and it doesnt show is there a check box or menu option somewhere ???

cieplutki

@turtleautos if you use smf 1.1.* chek default theme  ;) or if use 2.0 only admins -> Permissions
Shoutbox
View shoutbox
Post in shoutbox
Moderate shoutbox




.

Arebias


Can someone who has got the shout box collapse shrink/unshrink to work with RC4 please attach a copy of the default theme index.template.php so I can have a reference. I have tried just about everything I can and still can't get that to work with RC4.


turtleautos

Quote from: cieplutki on November 28, 2010, 03:46:50 PM
@turtleautos if you use smf 1.1.* chek default theme  ;) or if use 2.0 only admins -> Permissions
Shoutbox
View shoutbox
Post in shoutbox
Moderate shoutbox


all i get when installed is the title shout box with the option of smileys etc but no atual box and no where to shout ????

aniket786

hey guys plz help its too urgent i installed  nneonneo's Shoutbox
only me the admin can see it. others are not able to see it help me what and where to do. plz help me
:'( :'( :'( :-[ :-[ :-[ :-[.

aniket786

help yaar im waiting . plz someone pm me

emonk

Quote from: aniket786 on December 15, 2010, 11:38:46 AM
help yaar im waiting . plz someone pm me
look at permissions groups in administrator panel.

aniket786

hey dude what and where to permission set. only administrator can see it. plz tell where to change

cieplutki





.

AliG

Hi guys ;)

Just a small question ...

Haven't you had a problem with high server load / overload?
Is it possible to load it from some cache?


THX

eyo

Quote from: cieplutki on December 16, 2010, 11:13:43 AM
Try:




i have the same problem with turtle, its just a bar with smiley options and some language i dont understand. no chatting is seen anywhere

cieplutki

#5951
To change
.:: Shoutbox - Tu nie zadajemy pytañ, od tego jest forum! ::.
and
Poka¿ Emotki | Zamknij
BoardIndex.template.php  near line 232 and 237
        <center>.:: Shoutbox - Tu nie zadajemy pytań, od tego jest forum! ::.</center>
and
<div class="smalltext" style="padding-left:25px;"><a href="javascript:collapse1.slidedown()">Pokaż Emotki</a> | <a href="javascript:collapse1.slideup()">Zamknij</a>';

Quoteecho'<table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">
                   <div class="tborder" style="margin-top: 0;">
       <div class="catbg" style="padding: 5px 5px 5px 10px;">
        <center>.:: Shoutbox - Tu nie zadajemy pytań, od tego jest forum! ::.</center>
       </div>
        <tr>
         <td class="windowbg">
          <div id="yshout"', empty($options['collapse_header']) ? '>' : ' style="display: none;">',$txt['yshout_loading'],'</div>
<div class="smalltext" style="padding-left:25px;"><a href="javascript:collapse1.slidedown()">Pokaż Emotki</a> | <a href="javascript:collapse1.slideup()">Zamknij</a>';

all it's polish lang
Pokaż Emotki = Open Emoticon
Zamknij = Close
demo

Change:
.:: Shoutbox - Tu nie zadajemy pytań, od tego jest forum! ::. to .:: Shoutbox ::.
Pokaż Emotki to Open
Zamknij to Close

new sb on attach




.

eyo

will this new zip be working(different) already? the previous one just didnt have a bar to type chat in, but it installed flawlessly on rc4 curv

cieplutki





.

eyo

#5954
Quote from: cieplutki on December 18, 2010, 03:41:11 PM
Working on smf 2.0 RC4 living demo


its all in english now but still no chatbar


the instructions you gave, do i replace something or add before or after? there's some code here similar but i have no idea what to do with your instructions

eyo

Quote from: -Underdog- on September 18, 2010, 01:44:52 PM
The version attached to this post is for use with a portal

nneonneo shoutbox for -SMF 2.0 rc3 with a portal installed- is attached.
This is the regular version with smileys.

block codes are shown during install.  (you can not use the old initialize code)

The following index.template style edit must be performed to all your theme's like files...  (installation already places this edit for your default theme)




Navigate to:  Themes -> YOUR_THEME -> index.template.php

Find:

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="', $scripturl, '?board=', $context['current_board'], '.0" />';



Add this after the above code:

/* YSHOUT START */
/* Set    $action_b    to the url (whole or in part) to flag when you want the specific style to take effect */
$action_a = $_SERVER["REQUEST_URI"];
$action_b = "action=CHOOSE_BOARD_OR_URL";
global $boardurl,$shoutFile;
/* Yshout START <head> code for specified action */
if ((strstr($action_a,$action_b)))
{
   $shoutFile='home';
   $scripturlparsed = parse_url($scripturl);
   $scriptpath=isset($scripturlparsed['path'])?$scripturlparsed['path']:'/';
   $args='';
   foreach($_GET as $key => $value) // passthrough $_GET
      $args.='&'.urlencode($key).'='.urlencode($value);
   echo '
   <script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
   <script src="',$boardurl,'/yshout/settings.js" type="text/javascript"></script>
   <script type="text/javascript"><!-- // --><![CDATA[
   window.onload=function(){loadChat();};
   var shoutFile="',$shoutFile,'";
   var yshout_php="',$scriptpath,'?yshout',$args,'";
   // ]]></script>
   <script src="',$boardurl,'/yshout/js/yshout.js?July062008" type="text/javascript"></script>
   <style type="text/css">
      #yshout {
         font-size: 13px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }
      #yshout #shouts {
                         overflow: visible;
                         width: 100%;     
                         height: 300px;                     
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
                        font-size: 0pt;
         font-style: normal;
         font-weight: normal;
      }
      #yshout .shout-adminlinks { /* del and ban buttons */
         font-size: 6pt;
         color: #141414;
      }
      #yshout #shout-form {
         margin: 0;
         padding: 0;
      }
      #yshout #shout-form fieldset {
         border: none;
      }
      #yshout #forum-name {
         color: #cccccc;
         width: 90px;
         margin-right: 2px;
      }
      #yshout #shout-text {
         width: 130px;
         margin-right: 2px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>'; 
}
/* YSHOUT END -  <head> code for specific action  */

/* YSHOUT START - <head> code for regular style setup  */
else
{
   $shoutFile='home';
   $scripturlparsed = parse_url($scripturl);
   $scriptpath=isset($scripturlparsed['path'])?$scripturlparsed['path']:'/';
   $args='';
   foreach($_GET as $key => $value) // passthrough $_GET
      $args.='&'.urlencode($key).'='.urlencode($value);
   echo '
   <script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
   <script src="',$boardurl,'/yshout/settings.js" type="text/javascript"></script>
   <script type="text/javascript"><!-- // --><![CDATA[
   if (window.addEventListener){
      window.addEventListener("load", function(){loadChat();}, false);
   } else if (window.attachEvent){
      window.attachEvent("onload", function(){loadChat();});
   }
   var shoutFile="',$shoutFile,'";
   var yshout_php="',$scriptpath,'?yshout',$args,'";
   // ]]></script>
   <script src="',$boardurl,'/yshout/js/yshout.js?July062008" type="text/javascript"></script>
   <style type="text/css">
      #yshout {
         font-size: 11px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
     
      }
      #yshout #shouts {                       
                         font-size: 13px;
                        overflow: visible;
                         width: 100%;     
                         height: 100%; 
                           
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         font-size: 6pt;
         font-style: normal;
         font-weight: normal;
      }
      #yshout .shout-adminlinks { /* del and ban buttons */
         font-size: 6pt;
         color: #141414;
      }
      #yshout #shout-form {
         margin: 0;
         padding: 0;
      }
      #yshout #shout-form fieldset {
         border: none;
      }
      #yshout #forum-name {
         width: 90px;
         margin-right: 5px;
      }
      #yshout #shout-text {
         width: 310px;
         margin-right: 5px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>';   
}
/* YSHOUT END - <head> code for regular style setup */
/* YSHOUT END */





That code can be edited so the first set of style attributes pertain to certain boards (side blocks perhaps).
The default setup is for top/bottom blocks.

so i install this after installing the neoneo shoutbox?
im using ezportal what do i put in the php block?

eyo

im almost there!!! shoutbox has bar and commands and i can type already and see results! :)but this error loads each time i refresh page...


Notice: Undefined index: modsettings_title in /home/myname/public_html/Sources/Subs.php on line 4162

Notice: Undefined variable: chatButton in /home/myname/public_html/Sources/Subs.php on line 4386

Notice: Undefined variable: chatLink in /home/myname/public_html/Sources/Subs.php on line 4387

Thrilling

QuoteFatal error: Call to undefined function preparsecode() in /home/geeksoup/public_html/yshout/yshout.php on line 611

I get the above error when posting, anyone got any ideas? Thanks.
Geeksoup.net - Free Technical Support

Redefining tech support..

Chen Zhen

Quote from: ggman on December 19, 2010, 02:24:06 AM
so i install this after installing the neoneo shoutbox?
im using ezportal what do i put in the php block?

that code is an insert for all your themes index.template.php files (default theme edit is done during install).
That install requires you to manually edit all the different themes.


You know most portals have their own built in shoutboxes that are fairly decent. Have you tried the one in the portal you are using?
You may like it.





My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

eyo

anyone? really this is the last mod ill ever need in my site :(
the last is always the toughest lol

Advertisement: