collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 492
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]  (Read 123544 times)

0 Members and 2 Guests are viewing this topic.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Smart Shoutbox Detection Block
[Ajax Chat] | [nneonneo's Shoutbox]

Description: A smart block that detects if you are using Ajax Chat or nneonneo's Shoutbox and then it shows a nice top/bottom block or a side block.

nneonneo's Shoutbox

Screenshots:

[TOP/BOTTOM Block]


[SIDE Block]


Note: There is no need to change or replace any source file. Just use the code in a php block!

Ajax Chat

Screenshots:

[TOP/BOTTOM Block]


[SIDE Block]


Note: For the top/bottom block, you don't have to change or replace any source files. But for side block you need to replace shoutbox.html from (boarddir/chat/lib/template) for the one attached.

SMART BLOCK CODE
Code: [Select]
<?php
global $txt,$context,$boarddir;

//Ajax Chat | belongs to Smart Shoutbox Detection Block for Simple Portal <> by Blue @ Chrome!
if (file_exists($boarddir '/chat/lib/'))
{
if (allowedTo('shout_access')){
echo'
<div id="ShoutBox">
'
getShoutBoxContent() ,'
</div>'
;
}
}
//YSHOUT HERE | belongs to Smart Shoutbox Detection Block for Simple Portal <> by Blue @ Chrome!
if (file_exists($boarddir '/yshout/yshout.php'))
{
   if(
allowedTo('yshout_view'))
   {     
echo '<div id="yshout">';
      include_once(
$boarddir.'/yshout/yshout.php');
      echo 
'</div>';
   }
   elseif(
$context['user']['is_guest'])
      echo 
$txt['yshout_no_guests'];
}
?>


I hope you like ;D


IMPORTANTE

If you are experiencing problems in IE7 with the Lateral Ajax block you can use this fix:
Click here -> Thanks to mrtrc266 ;)

And this is how It'll look: Click here
« Last Edit: June 20, 2009, 08:44:24 AM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Blue,  your turning into a maker of very cool blocks!  :applause:

I just tried it but it is not working on my forum. 

http://gwgoodolddays.net/forums/index.php

I have nneonneo's Advanced Shoutbox version 1.22 installed..

I have it working as a side block with the following code

Code: [Select]
   // 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" />';   

// YSHOUT HERE - <head> code
   global $boardurl,$shoutFile;
   $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>

<script src="',$boardurl,'/yshout/js/soundmanager2.js" type="text/javascript"></script>
   <script type="text/javascript">soundManager.url="',$boardurl,'/yshout/";
soundManager.debugMode = false;
soundManager.consoleOnly = false;
soundManager.onload = function() {
soundManager.createSound({id:"sound", url:"', $boardurl, '/yshout/chat.mp3", autoPlay:false});
}</script>

   <style type="text/css">
      #yshout #shouts {
         overflow: auto;
         width: 170px;       /* the width you want to display */
         height: 450px;     /* the height you want to display */
}
         font-size: 12px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }

      #yshout #shouts { /* main shouts area */
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         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: 50px;
         margin-right: 5px;
      }
      #yshout #shout-text {
         width: 150px;
         margin-right: 2px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>';
   // YSHOUT END - <head> code

   // YSHOUT HERE - shoutbox code
   global $txt,$context,$boarddir;
   if(allowedTo('yshout_view'))
   {
      echo '<div id="yshout">';
      include_once($boarddir.'/yshout/yshout.php');
      echo '</div>';
   }
   elseif($context['user']['is_guest'])
      echo $txt['yshout_no_guests'];
   // YSHOUT END - shoutbox code

I have no idea if I needed all of that or not.. but it has always worked.  I have always had one complaint about that block though.. It is set to a fixed width.. so it you look at it on a 800x600 resolution monitor it makes all the left side blocks really wide and if you look at it with a large high res monitor it just looks stupid.

Anyway.. I have added your code as a new left side block at the end (currently your code is only set to show on the portal page) the block is titled simply "Shout".. check it out.
« Last Edit: May 07, 2009, 05:26:32 PM by amlucent »

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #2 on: May 07, 2009, 05:28:47 PM »
Have you tried the code of the first post? It's working in my website so it's very strange it does not work in yours :(

Hum... Try this:
Code: [Select]
global $txt,$context,$boarddir;
 
 if(allowedTo('yshout_view'))
   {    
echo '<div id="yshout">';
      include_once($boarddir.'/yshout/yshout.php');
      echo '</div>';
   }
   elseif($context['user']['is_guest'])
      echo $txt['yshout_no_guests'];

Does it work?

And yes, that's a lot of code, you don't need that all :P

I think I know how to fix your width problem but first try the code ;)
« Last Edit: May 07, 2009, 05:32:32 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #3 on: May 07, 2009, 05:33:26 PM »
same result   :(

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #4 on: May 07, 2009, 05:39:13 PM »
I have been contemplating switching to ajax chat anyway.. or perhaps wait for the new simple portal shoutbox to be released.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #5 on: May 07, 2009, 05:42:01 PM »
Ah! I know what's happening. You don't have the first code above installed in your index.template.php, am I right? When you did the shoutbox installation you forgot to tick "install in other templates".

And the code on my first post only works if you have the yshout installed in the templates.

Nevermind, try this (it includes the fix for your width, I hope)
Code: [Select]
  // YSHOUT HERE - <head> code
   global $boardurl,$shoutFile;
   $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 #shouts {
         overflow: auto;
         height: 180px;     /* the height you want to display */
         width: 150px;
  }
  #yshout {
         font-size: 10px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }
      #yshout #shouts { /* main shouts area */
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         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: 70px;
         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

I have been contemplating switching to ajax chat anyway.. or perhaps wait for the new simple portal shoutbox to be released.

SP Shoutbox isn't going to be release soon so, and in my opinion, try Ajax Chat. As you can see I tried to do a great work in the Side Block of it :)
« Last Edit: May 07, 2009, 05:44:40 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #6 on: May 07, 2009, 05:46:19 PM »
you know.. i think your right.. I think when i installed it I decided I just wanted it set as a permanent block visible in all areas.. so I did not place the code in that file.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #7 on: May 07, 2009, 05:47:22 PM »
you know.. i think your right.. I think when i installed it I decided I just wanted it set as a permanent block visible in all areas.. so I did not place the code in that file.

eheh :P Have you tried the code I gave you in the post above? Does it work? Does it fixes your width problem?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #8 on: May 07, 2009, 05:52:25 PM »
I disabled my normal (ugly) shout block to make sure theres no confusion.. I placed that code into a block titled "New Shout"... it displays nothing.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #9 on: May 07, 2009, 05:52:59 PM »
Sorry Sorry! I forgot to add something:

I'm a bit distracted :-[ :-[ :-[

Here it is:
Code: [Select]
// YSHOUT HERE - <head> code
   global $boardurl,$shoutFile;
   $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>

<script src="',$boardurl,'/yshout/js/soundmanager2.js" type="text/javascript"></script>
   <script type="text/javascript">soundManager.url="',$boardurl,'/yshout/";
soundManager.debugMode = false;
soundManager.consoleOnly = false;
soundManager.onload = function() {
soundManager.createSound({id:"sound", url:"', $boardurl, '/yshout/chat.mp3", autoPlay:false});
}</script>

   <style type="text/css">
      #yshout #shouts {
         overflow: auto;
         width: 150px;       /* the width you want to display */
         height: 450px;     /* the height you want to display */
}
         font-size: 12px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }

      #yshout #shouts { /* main shouts area */
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         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: 50px;
         margin-right: 5px;
      }
      #yshout #shout-text {
         width: 150px;
         margin-right: 2px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>';
   // YSHOUT END - <head> code

   // YSHOUT HERE - shoutbox code
   global $txt,$context,$boarddir;
   if(allowedTo('yshout_view'))
   {
      echo '<div id="yshout">';
      include_once($boarddir.'/yshout/yshout.php');
      echo '</div>';
   }
   elseif($context['user']['is_guest'])
      echo $txt['yshout_no_guests'];
   // YSHOUT END - shoutbox code

Edited I see that maybe I fixed your width to much :P In the code:
Code: (find) [Select]
      #yshout #shouts {
         overflow: auto;
         width: 150px;       /* the width you want to display */
         height: 450px;     /* the height you want to display */
}
         font-size: 12px;
         overflow: hidden;
      }

Code: (replace) [Select]
      #yshout #shouts {
         overflow: auto;
         height: 180px;     /* the height you want to display */
width: 160px;
  }
  #yshout {
         font-size: 10px;
         overflow: hidden;
      }
« Last Edit: May 07, 2009, 05:58:28 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #10 on: May 07, 2009, 05:57:09 PM »
That worked! its awkward sized.. Are you saying that if I just remove that "width" line in the code it will have a "fluid" width?

nvm.. i just tried removing that width line and it worked!

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #11 on: May 07, 2009, 06:02:09 PM »
No, not at all. It worked :P But I don't know if that will fix. I thought it didnt

First, you have an error on the code. On my post above find the code I gave you and replace it for the other one.

And try replacing
Code: [Select]
width: 160px;
to

Code: [Select]
width:auto;
Instead of removing the width. I think if it's auto it will "float" depending on your screen resolution.
« Last Edit: May 07, 2009, 06:07:10 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #12 on: May 07, 2009, 06:09:59 PM »
yep.. still looks great!  ;D


Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #13 on: May 07, 2009, 06:11:21 PM »
eheh :) I'm glad I helped you ;D

Oh, and thanks for the:
Blue,  your turning into a maker of very cool blocks!  :applause:

:P :P :P
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline amlucent

  • Jr. Member
  • **
  • Posts: 65
  • Gender: Male
    • The Good Old Days [Old] Guild
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #14 on: May 07, 2009, 06:19:58 PM »
you are! as of recently I tried learning this php nd xml stuff so I could port this phpbb mod.   Anyway, ever since then I have been gathering heeps of respect for those who can do what I have great trouble with...  so ppl like [SiNaN] are gods.

Thanks for all your help Blue!
« Last Edit: May 07, 2009, 06:22:27 PM by amlucent »

Offline tfs

  • Jr. Member
  • **
  • Posts: 64
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #15 on: May 07, 2009, 08:49:31 PM »
BEST.  BLOCK.  EVER.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #16 on: May 07, 2009, 09:37:36 PM »
BEST.  BLOCK.  EVER.

LOL! Thanks but this is the easiest I've done :P

But I'm glad you liked that much ;D ;D
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline tfs

  • Jr. Member
  • **
  • Posts: 64
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #17 on: May 07, 2009, 09:46:39 PM »
LOL! Thanks but this is the easiest I've done :P

But I'm glad you liked that much ;D ;D

I've been wanting to get the AJAX shoutbox off to the side ever since I installed it.  I don't suppose you'd know how to make it just a tad taller would you?

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #18 on: May 07, 2009, 09:54:14 PM »
hum... I think I know how to make it taller but you would need to change another source file. If you don't mind with that, I can tell you how you can do it :P

Replace the shoutbox.css file from (boarddir/chat/css) for the one attached.

If you want more / less just say so ;)
« Last Edit: May 07, 2009, 10:03:51 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline tfs

  • Jr. Member
  • **
  • Posts: 64
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #19 on: May 07, 2009, 11:13:42 PM »
hum... I think I know how to make it taller but you would need to change another source file. If you don't mind with that, I can tell you how you can do it :P

Piece of cake.  Though it was easier to just change it online than upload/overwrite.  So I opened yours and mine in a file comparison util to see the difference.  No big deal.  I appreciate it!
I'll go make a post with a link to this thread in the AjaxChat Integration thread on the SMF forum.  There's lots of people who've been looking for this for a long time.