News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Shoutbox

Started by Deep, March 15, 2006, 08:09:52 AM

Previous topic - Next topic

softtouch

I have a problem with the shoutbox related to FF and IE
In FF, the shouts in the shoutbox are left aligned, as they should (I believe), but in IE, they are all centered, which is annoying and hard to read.
Where and how can I fix this?

Basie

How do I change the title? I want it to say "mysite shoutbox", not SMF shoutbox.

FotoZone

yes, i need  moved chat

FotoZone


DarkAngel612

Hi Fotozone...

To change the name of your shoutbox is not hard to do at all ...

you need to go to your sbox.english.php file, I think it is in the theme folder

find: $txt['sbox_ModTitle'] = 'SMF Shoutbox';

Just highlight the name only and change it to whatever you want it to be.

Once you make your change-----on a duplicate in case it messes up----then upload the edited file to overwrite the one on your server....refresh your page and the name should be different on the screen.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

robos85

Can anyone post how to install it step by step ?

waste2

#1366
After I send a message to shoutbox I see this:
Notice: Undefined variable: divclass in /www/usr/home/2/9/wb49292/www/-/a/Sources/sboxDB.php on line 206

Something is wrong with the code. At line 206 script is trying to use $divclass variable which wasn't previously set.

Version: last version from sbox_v1.16b.zip. Unmodified.

__( edit )______________________________
I can't also see odd/even color differences. All messages are the same color. On the screenshot it looks like there should lighter and darker font color.

FotoZone

Quote from: DarkAngel612 on December 16, 2007, 03:19:56 AM
Hi Fotozone...

To change the name of your shoutbox is not hard to do at all ...

you need to go to your sbox.english.php file, I think it is in the theme folder

find: $txt['sbox_ModTitle'] = 'SMF Shoutbox';

Just highlight the name only and change it to whatever you want it to be.

Once you make your change-----on a duplicate in case it messes up----then upload the edited file to overwrite the one on your server....refresh your page and the name should be different on the screen.

No name i need moved to the footer....

FotoZone

i need moved the chat to the posistion on the forum,  footer..

robbie93

#1369
hi darkangel612,  i can't find you're code anywhere on my server, ( $txt['sbox_ModTitle'] = 'SMF Shoutbox'; )
i have looked in the themes folder and the code isnt there?  can you be more specific please. 

thank you. :

waste2

FORUM_ROOT/Themes/THEME_NAME/languages/sbox.LANGUAGE.php

Basie

#1371
Can someone please answer my question? How do I change the Title of the shoutbox?

Also I would like to know how to disable smilies, so that no graphics appear in the chat window.

Thanks.

waste2

Reply #1364 was for you. Geeez ppl can't you read?

FotoZone

i need moved the chat to the posistion on the forum,  footer..

Basie

Quote from: waste2 on December 16, 2007, 01:21:25 PM
Reply #1364 was for you. Geeez ppl can't you read?

Ok, thanks (I didn't know you were replying to my question).


Also, how do you disable smiles, so that only text smilies appear, not images?

nick09

Quote from: FotoZone on December 16, 2007, 01:33:56 PM
i need moved the chat to the posistion on the forum,  footer..

open your theme's BoardIndex.template.php

find:
// display shoutbox
  if (function_exists('sbox')) sbox();


remove it.

if you want the chat under the Info Center.(area where stats are etc....)

find:
?>
replace:
// display shoutbox
  if (function_exists('sbox')) sbox();
?>


hope that helps. ;D

robbie93

#1376
waste2?   was you're last but one post directed towards me?  if so i mean this FORUM_ROOT/Themes/THEME_NAME/languages/sbox.LANGUAGE.php

where would that be ?   on the forum itself or the server,  i have cpanel ?

nick09

robbie i think its membergroup permission is your prob.

FotoZone

Quote from: nick09 on December 16, 2007, 01:48:44 PM
Quote from: FotoZone on December 16, 2007, 01:33:56 PM
i need moved the chat to the posistion on the forum,  footer..

open your theme's BoardIndex.template.php

find:
// display shoutbox
  if (function_exists('sbox')) sbox();


remove it.

if you want the chat under the Info Center.(area where stats are etc....)

find:
?>
replace:
// display shoutbox
  if (function_exists('sbox')) sbox();
?>


hope that helps. ;D


now in header ...... why?  i need in footer...

waste2

robbie93: It's on your FTP server. The same place where you store all your webpage files. You can access it by cPanel File Manager (one of icons) or by FTP client software.

FORUM_ROOT/Themes/THEME_NAME/languages/sbox.LANGUAGE.php

FORUM_ROOT - is a folder where are all main SMF files.
THEME_NAME - is a folder which has all Theme (Skin) files. You can have multiple themes on your forum installed so you have to enter each one and check for this file.
LANGUAGE - is a language translated file with all shoutbox texts. You can have multiple language files, for me this is: sbox.english.php and sbox.polish.php.

You have to open all language files in all themes and change variable $txt['sbox_ModTitle']="NEW_NAME_HERE" into whatever you want. NEW_NAME_HERE is your new shoutbox name of course.

Advertisement: