News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMFPacks.com Shoutbox

Started by Nibogo, October 19, 2008, 11:41:06 AM

Previous topic - Next topic

jjzx2sr

This is hands down the best shoutbox mod.
If it doesn't fit get a bigger hammer.

N i g h t m a r e

how can i make my shouts closer together,without any spaces between peoples shouts?

Right now they are like this:


Fresh™ [16|Oct 02:10 AM]:   all previous mods are still working


Zeum [16|Oct 08:45 AM]:   k


Zeum [16|Oct 09:01 AM]:   ps4 news and countdown added to the homepage


but  i want them like this:

Fresh™[16|Oct 02:10 AM]:   all previous mods are still working
Zeum[16|Oct 08:45 AM]:   k
Zeum[16|Oct 09:01 AM]:   ps4 news and countdown added to the homepage

jjzx2sr

Mine are not spaced, and i didn't change any of the default settings.
If it doesn't fit get a bigger hammer.

Ferity

Hey,

I'm wondering how to modify the set messagecolour which is grey.
I'm using a dark theme, therefore you have to change the colour manually everytime you open the forums, and that's kinda annoying.
In the ACP you have the ability to change the colours, but that only affects the colours of the text you are currently writing, when it's sent, it's grey..

Best regards, Ferity

Benzke

How to make it print on boardindex, its not printing.

josem

The actual showhide shoutbox script is really heavy. Also, if you hide the shoutbox it just keeps you decision while the cookie is "alive". It doesnt save you decision at your username at database.

Can it be possible? Just as the main header.

I tried to use the main header script:
<script type="text/javascript"><!-- // --><![CDATA[
var oMainHeaderToggle = new smc_Toggle({
bToggleEnabled: true,
bCurrentlyCollapsed: ', empty($options['collapse_header']) ? 'false' : 'true', ',
aSwappableContainers: [
\'shoutbox\'
],
aSwapImages: [
{
sId: \'upshrink\',
srcExpanded: smf_images_url + \'/upshrink.png\',
altExpanded: ', JavaScriptEscape($txt['upshrink_description']), ',
srcCollapsed: smf_images_url + \'/upshrink2.png\',
altCollapsed: ', JavaScriptEscape($txt['upshrink_description']), '
}
],
oThemeOptions: {
bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',
sOptionName: \'collapse_header\',
sSessionVar: ', JavaScriptEscape($context['session_var']), ',
sSessionId: ', JavaScriptEscape($context['session_id']), '
},
oCookieOptions: {
bUseCookie: ', $context['user']['is_guest'] ? 'true' : 'false', ',
sCookieName: \'upshrink\'
}
});
// ]]></script>';

It seems to hide the shoutbox at first appearance, but when you do F5, shoutbox its shown again and mainheader is hidden.
What should i do to adapt it?

LindaHT

Is there anyway to change the strip at top of shoutbox to a different color?

JAY™

#1847
Loving this mod we have had it a while :) I know we can use certain symbols from the character map feature on our computers to show at side of our names in the shoutbox but we want to use the star ★★JAY★★ <<< but it does not show in the shout any ideas would be great ty!

we have competitions running all the time and to make the winner stand out we need the stars to show sorta thing.....

N i g h t m a r e

asking again,i know someone is reading this so ATLEAST TRY to help me SOLVE this PROBLEM!

i just wanna change the shout output.
so the date and time will come before the username so it will look like:
[03|Nov 01:43 AM]Zeum:   Test

and how can i delete the spaces between the shouts?

JAY™

Quote from: -♦-Zeum-♦- on November 03, 2012, 02:44:20 AM
asking again,i know someone is reading this so ATLEAST TRY to help me SOLVE this PROBLEM!

i just wanna change the shout output.
so the date and time will come before the username so it will look like:
[03|Nov 01:43 AM]Zeum:   Test

and how can i delete the spaces between the shouts?

post a screenshot of your settings for the shoutbox  and we might see the problem to help you :) check your settings against mine attached below....

[Crash_Override]

@-♦-Zeum-♦-

open "shoutbox.php" in your sources folder

find:

'poster' => ($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>') . ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>:',


Replace

'poster' => ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>'.' '.($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>'.' : '),


NOTE: this does mess with the spacing and alignment of the messages but I will work on a way to fix that

N i g h t m a r e


N i g h t m a r e

Quote from: [Crash_Override] on November 03, 2012, 12:09:58 PM
@-♦-Zeum-♦-

open "shoutbox.php" in your sources folder

find:

'poster' => ($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>') . ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>:',


Replace

'poster' => ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>'.' '.($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>'.' : '),


NOTE: this does mess with the spacing and alignment of the messages but I will work on a way to fix that
Thanks,that worked perfectly...it even solved my spacing problem :)

JAY™

great job   ;D thats you sorted just me now  :-\

N i g h t m a r e

Quote from: [Crash_Override] on November 03, 2012, 12:09:58 PM
@-♦-Zeum-♦-

open "shoutbox.php" in your sources folder

find:

'poster' => ($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>') . ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>:',


Replace

'poster' => ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>'.' '.($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>'.' : '),


NOTE: this does mess with the spacing and alignment of the messages but I will work on a way to fix that

Now,i'm doing it on my real forum,i was testing it out on the test site..now i did it exactly the same but when i shout nothing appears,not in the moderation panel,not in a pop-up,i can't clear the shoutbox,cant shout,cant do anything.

CaviarDreams

Some members cannot access the shoutbox with a proxy enabled, and just see a blank box. Any ideas?

[Crash_Override]

Quote from: -♦-Zeum-♦- on November 04, 2012, 07:09:41 PM
Quote from: [Crash_Override] on November 03, 2012, 12:09:58 PM
@-♦-Zeum-♦-

open "shoutbox.php" in your sources folder

find:

'poster' => ($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>') . ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>:',


Replace

'poster' => ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>'.' '.($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>'.' : '),


NOTE: this does mess with the spacing and alignment of the messages but I will work on a way to fix that

Now,i'm doing it on my real forum,i was testing it out on the test site..now i did it exactly the same but when i shout nothing appears,not in the moderation panel,not in a pop-up,i can't clear the shoutbox,cant shout,cant do anything.

do You have karma enabled?

Quote from: CaviarDreams on November 05, 2012, 11:22:17 PM
Some members cannot access the shoutbox with a proxy enabled, and just see a blank box. Any ideas?

Are they using a web based proxy like "hide my a$$", or a proxy server?


N i g h t m a r e

Quote from: [Crash_Override] on November 06, 2012, 02:36:08 AM
Quote from: -♦-Zeum-♦- on November 04, 2012, 07:09:41 PM
Quote from: [Crash_Override] on November 03, 2012, 12:09:58 PM
@-♦-Zeum-♦-

open "shoutbox.php" in your sources folder

find:

'poster' => ($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>') . ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>:',


Replace

'poster' => ' <span style="color:' . $shoutbox['timeColor'] . '">[' . ($s['timestamp'] > 0 ? timeformat($s['timestamp'], $shoutbox['timeFormat']) : $txt[470]) . ']</span>'.' '.($cmd_me ? '' : '<a href="' . $scripturl . '?action=profile;u=' . $s['ID_MEMBER'] . '" target="_blank"' . (!empty($s['colorName']) ? ' style="color:' . $s['colorName'] . '"' : '') . '>' . $s['realName'] . '</a>'.' : '),


NOTE: this does mess with the spacing and alignment of the messages but I will work on a way to fix that

Now,i'm doing it on my real forum,i was testing it out on the test site..now i did it exactly the same but when i shout nothing appears,not in the moderation panel,not in a pop-up,i can't clear the shoutbox,cant shout,cant do anything.

do You have karma enabled?

Quote from: CaviarDreams on November 05, 2012, 11:22:17 PM
Some members cannot access the shoutbox with a proxy enabled, and just see a blank box. Any ideas?

Are they using a web based proxy like "hide my a$$", or a proxy server?


Yes I have karma enabled

[Crash_Override]

try disabling the karma, if I visited the site that I think you are using it on the karma setting is blocking the shoutbox

Advertisement: