News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Shoutbox

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

Previous topic - Next topic

RubyNut


capierno

#341
I can't get it to show up on my forum's skin. Is there something I have to do?

I'm not using the default skin, and it's only showing up there.

=\

hxxp:ussdevestator.bravohost.org/forum [nonactive]


Also uh, anyway I can move it to the bottom of the forum?
Capierno

hxxp:ussdevestator.bravohost.org/forum [nonactive]

JonoJames

You need to edit boardindex.template.php and add the following line

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

for example i added it above the news fader

// display shoutbox
  if (function_exists('sbox')) sbox();
   // Show the news fader?  (assuming there are things to show...)
if ($settings['show_newsfader'] && !empty($context
              ['fader_news_lines']))


hope this helps

mbirth

Quote from: N3lson on August 23, 2006, 12:39:23 PMThe smileys of my fórum , they are big  becasue i use the 3d smileys, but i don´t want to use these smileys in the shout.
I´d like to use the small ones like the SMF Shoutbox it had the own smilyes set.
Can this be done » Use a Own smileys set to shoutbox independent of the smileys set of the fórum?

Since the smiley-set for the sbox is loaded using standard SMF functions, there's no way to specify a special set. This way each user can have his preferred set of smileys throughout the whole SMF. But you can disable the display of the smiley row ... smileys will still work. Most users should know the main smileys by heart anyway.

Cheers,
  -mARKUS


NEVER contact me via ICQ/MSN/whatever for support inquiries unless I told you to do so! Use the forum threads instead.
Only send PMs if you need to tell me sensitive data.

N3lson

Ok but the smileys set i use are big look


And in the shout box look bad
I´m Portuguese Yeah

Kettu

Quote from: N3lson on August 24, 2006, 05:05:24 AM
Ok but the smileys set i use are big look


And in the shout box look bad
Maybe there is a way to modify deeps shoutbox for RC3 and offer this one for people who'd like to use a shoutbox-smiley-set. Markus?
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

karras.us

#346
Just something small for v1.12, but...

in - Themes/default/languages/sbox.english.php

Find:
$txt['sbox_KillShout'] = 'Dou you want to kill this shout?';

Replace with:
$txt['sbox_KillShout'] = 'Do you want to kill this shout?';

There was a "u" in "Do".  :)

Love the Mod, thank you!

WoWsagele

Sorry for my bad english :)

My forum is 1.1RC3 mod shoutbox 1.12

my error is

QuoteErreur de base de données
Unknown column 'sb.ID_MEMBER' in 'on clause'
Fichier: /home/quebecwe/public_html/forum/Sources/sboxDB.php
Ligne: 235

What is the problem. ???

fritpa

I've this for the 1.1RC2 i want to upgrade to 1.1 RC3 this mod still works with RC3?

Thanks.

Alt-Ctrl

#349
Great mod.

I started on my first site ever this week, and I've allready managed to install a portal and this forum with several mods.

I have only two questions. Is it possible to get this shoutbox on the front page of my portal?
And is it possible to make it so I can see the box regardless of where I am in the forum? Not only on the main page of the forum?

You can look at my site here, www.heartofracing.com [nofollow]

mogadishu

YES..Please Upgrade it to rc3  !
regards.
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

Cybex

I uploaded the files manually and try to run sbox_setup.php, but I get errors:

Warning: Missing argument 2 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 3 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 2 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 3 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237


What's wrong here?


Kettu

Quote from: mogadishu on August 24, 2006, 04:19:18 PM
YES..Please Upgrade it to rc3  !
regards.
mbirths version 1.12 already is compatible with RC3. Deeps old shoutbox is currently not available for RC3, because mbirths version 1.12 is the child of deep ones. But we'll see, if there is a way to update deep ones for RC3, because it is now completely different to v1.2.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

nmsmooth

Quote from: Cybex on August 24, 2006, 05:39:32 PM
I uploaded the files manually and try to run sbox_setup.php, but I get errors:

Warning: Missing argument 2 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 3 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 2 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

Warning: Missing argument 3 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237


What's wrong here?



I get these error too:

Database Error:

8: Undefined variable: line
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 322


Apply Filter: Only show the errors with the same message
8: Undefined variable: file
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 322

8: Undefined variable: file
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 321

2: Missing argument 3 for db_query()
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 237

2: Missing argument 2 for db_query()
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 237

2: Missing argument 3 for db_query()
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 237

2: Missing argument 2 for db_query()
File: /home/nomercyc/nomercyclan.co.uk/html/forum/Sources/Subs.php
Line: 237

Wish I had time to learn or knew a bit more PHP. :S Help!! I love the shoutbox and so do my members.

tL0z

#354
I've installed on 1.1 RC3 and it works great!  ;)

Here is the portuguese translation I made:

$txt['sbox_ModTitle'] = 'Shoutbox';
$txt['sbox_Visible'] = 'A shoutbox está visível';
$txt['sbox_GuestAllowed'] = 'Os visitantes podem participar';
$txt['sbox_GuestVisible'] = 'Os visitantes podem ver a shoutbox';
$txt['sbox_MaxLines'] = 'Número máximo de shouts mostradas';
$txt['sbox_Height'] = 'Altura da shoutbox (px)';
$txt['sbox_SmiliesVisible'] = 'A janela dos smileys está visível';
$txt['sbox_UserLinksVisible'] = 'Activer links de perfil';
$txt['sbox_KillShout'] = 'Deseja eliminar esta shout?';
$txt['sbox_TextSize1'] = '1. Tamanho a letra';
$txt['sbox_TextColor1'] = '1. Cor da letra';
$txt['sbox_TextSize2'] = '2. Tamanho da letra';
$txt['sbox_TextColor2'] = '2. Cor da letra';
$txt['sbox_RefreshTime'] = 'Tempo de refrescamento';
$txt['sbox_BlockRefresh'] = 'Bloquear refrescamento após inactividade (' . $modSettings['lastActive'] . ' mins)';
$txt['sbox_BackgroundColor'] = 'Cor de fundo';
$txt['sbox_FontFamily1'] = '1. Tipo de letra';
$txt['sbox_FontFamily2'] = '2. Tipo de letra';
$txt['sbox_DoHistory'] = 'Criar histórico da shoutbox';
$txt['sbox_AllowBBC'] = 'Permitir código BB';
$txt['sbox_Refresh'] = 'Actualizar';
$txt['sbox_RefreshBlocked'] = 'Actualização automática desactivada por inactividade';
$txt['sbox_History'] = 'Histórico';
$txt['sbox_HistoryClear'] = 'Apagar histórico';
$txt['sbox_HistoryNotFound'] = 'Histórico não encontrado';
$txt['sbox_EnableSounds'] = 'Activar sons';


How can I remove the date line before the shouts?

mogadishu

#355
Quote from: Kettu on August 25, 2006, 01:31:06 AM
Quote from: mogadishu on August 24, 2006, 04:19:18 PM
YES..Please Upgrade it to rc3  !
regards.
mbirths version 1.12 already is compatible with RC3. Deeps old shoutbox is currently not available for RC3, because mbirths version 1.12 is the child of deep ones. But we'll see, if there is a way to update deep ones for RC3, because it is now completely different to v1.2.

Thanks for the Info.

Also When we will be bale to Download this MOD ?
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

karras.us

^^^^^

Quote from: mbirth on August 23, 2006, 06:56:41 AM
Quote from: JonoJames on August 23, 2006, 06:46:00 AMmbirth is it possible you can send me a link to your mod? rather than wait for smf to approve.

That's a point! ~~> DOWNLOAD.

Cheers,
  -mARKUS


mbirth

Quote from: Kettu on August 24, 2006, 06:54:54 AM
Quote from: N3lson on August 24, 2006, 05:05:24 AM
Ok but the smileys set i use are big look


And in the shout box look bad
Maybe there is a way to modify deeps shoutbox for RC3 and offer this one for people who'd like to use a shoutbox-smiley-set. Markus?

I'm not quite sure, but maybe it's sufficient to change the "1.1 RC2" to "1.1 RC3" in the package-info.xml in sbox_v1.04.zip.


Quote from: karras.us on August 24, 2006, 08:01:11 AMJust something small for v1.12, but...

in - Themes/default/languages/sbox.english.php
[...]
There was a "u" in "Do".  :)

Thanks! Fixed it in my code.


Quote from: WoWsagele on August 24, 2006, 09:08:21 AMMy forum is 1.1RC3 mod shoutbox 1.12

my error is
QuoteErreur de base de données
Unknown column 'sb.ID_MEMBER' in 'on clause'
Fichier: /home/quebecwe/public_html/forum/Sources/sboxDB.php
Ligne: 235

What is the problem. ???

Did you have sbox 1.04 installed before the update to RC3? Looks like there is an old table structure. Please uninstall sbox 1.12 and reinstall. This should delete the table and create a new one with the correct columns.


Quote from: Cybex on August 24, 2006, 05:39:32 PMI uploaded the files manually and try to run sbox_setup.php, but I get errors:

Warning: Missing argument 2 for db_query() in /home/carla/domains/carlabosch.nl/public_html/newforum/Sources/Subs.php on line 237

What's wrong here?

These are Warnings, no Errors. There were some parameters missing ... fixed that now. Please ignore these Warnings. They should only occur during sbox_setup.php.


Quote from: tL0z on August 25, 2006, 10:41:13 AMHere is the portuguese translation I made:

Please fetch the sbox_v1.12_german.zip from your Packages directory, put your sbox.portuguese.php in there, change the package-info.xml and - most important - also translate the help strings in sbox_11rc3_german.mod (rename that to sbox_11rc3_portuguese.mod and change the filename in package-info.xml!). Then zip everything back up and ask me for my email address. :-)



Now for everyone: Maybe there will be 1.13 coming out this night, maybe not. Got some features to implement and don't know how it'll work out. Remember I'm doing this in my sparetime.

Cheers,
  -mARKUS


P.S.: @N3lson: If you keep posting here AND sending me a PM with a link to your post, I'll start to ignore your requests. I get every single post made here mailed directly to my email address, but I have a life outside the internet and so I'm not able to react instantly. Thank you.


NEVER contact me via ICQ/MSN/whatever for support inquiries unless I told you to do so! Use the forum threads instead.
Only send PMs if you need to tell me sensitive data.

fritpa


mbirth

Folks, I did it. Grab 1.13 from the Repository or from my webspace.

Code ("Changelog") Select
* raised version number to 1.13
* string cleanup - sorted strings by appearance
* added separator lines to settings dialog
x added missing 2nd and 3rd parameter to db_query() in sbox_setup.php
+ DROP TABLE before insert, so that updates to 1.1rc3 will be more easier
+ $sbox_NickPrefix and $sbox_NickSuffix in sboxDB.php (at the beginning of the file)
+ Guests are now shown as Guest-abcdef with abcdef being their IP in base36, this way you can differentiate guests easily
+ option to allow Global Moderators to delete shouts
+ option to disallow BBC for guests only
+ option to disable the "WhatsNew"-line


Oh, and there now is a bugtracker. I'd like to see if it really makes things easier.

Cheers,
  -mARKUS


NEVER contact me via ICQ/MSN/whatever for support inquiries unless I told you to do so! Use the forum threads instead.
Only send PMs if you need to tell me sensitive data.

Advertisement: