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

BlackXBOX

Quote from: nneonneo on October 12, 2008, 07:33:46 PM
@BlackXBOX: Have you already made the theme edits? Did the code end up on the same line? (that happens more often than you might expect...)

@bitmovel: Edit yshout/settings.php and remove the <br />s from the end of preg_timeformat.

No I didn't make any edits. I don't know how to :(

dungmt

Hi, I'm new here so I have problem with Shoutbox.
I just installed this mod to my forum with theme HighWay but I can get this work
These pics below is my result





so I attach my index.template.php here

Does someone plz fix my problem???


Sorry about my bad English :D

nneonneo

@BlackXBOX: Can you please try the edits first?

@dungmt: The Shoutbox Code portion is in the <head> section, which is not where it should go. One place where you could put it is after
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';

or before
echo '
</td>
</tr>
</table>
</td>
</tr>
</table>';


It is up to you where you like it.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

dungmt

Quote from: nneonneo on October 12, 2008, 10:42:37 PM
@BlackXBOX: Can you please try the edits first?

@dungmt: The Shoutbox Code portion is in the <head> section, which is not where it should go. One place where you could put it is after
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';

or before
echo '
</td>
</tr>
</table>
</td>
</tr>
</table>';


It is up to you where you like it.

Thanks for your reply quick, but now the result like pic below, how do I make this work to Shout???  O:)





nneonneo

Attach the new index.template.php...
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Nomar

Hello, I was wondering I am using SMF 1.1.6 and I have the Mystic Jade theme. How would I get the shoutbox to appear where it usually does for the default theme, or appear at all?

dungmt

Quote from: nneonneo on October 13, 2008, 07:02:26 AM
Attach the new index.template.php...

This í the new file, let's see and fix my mistake plz, thanks

nneonneo

@dungmt: The <head> code is in there twice. It only needs to go up at the top, and doesn't have to be with the shoutbox code too. I don't know if that would prevent the shoutbox from loading, but  it might. Also try using this shoutbox code instead:
   // YSHOUT HERE - shoutbox code
   global $txt,$context,$boarddir;
   if(allowedTo('yshout_view'))
   {
      echo '<br /><b>',$txt['yshout_shoutbox'],'</b><br /><br />';
      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


@Nomar: http://custom.simplemachines.org/mods/index.php?mod=585#post_otherthemes
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

BlackXBOX

I already tried making the edits and nothing changed.

Please edit it for me!

Ive attached my index.template.php


nneonneo

Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

BlackXBOX

Quote from: nneonneo on October 13, 2008, 11:43:49 AM
@BlackXBOX: You haven't even tried...
http://custom.simplemachines.org/mods/index.php?mod=585#post_otherthemes

Yes I have man...it didn't work so I removed the edits because I thought it might cause trouble.

Chopper

Hi, i have made the theme edits(as i am using a custom theme) but still the shoutbox doesn't appear. Strange as it works on default theme?

bitmovel

#4112
Hi nneonneo :=)

How can I remove the empty lines as shoen in picture?




I am using latest version of advanced shoutbox ;)

Best Regards

Jessikard

is it possible to show, who is looking at the shoutbox, if it is at a separat page ?

nneonneo

@BlackXBOX: Please include the index.template.php with edits.

@Chopper: Have you checked that the code is correct (e.g. not all packed on one line) and that the shoutbox code is placed where it will be visible (i.e. not inside a if($context['is_guest']) block or similar)

@bitmovel: I have not seen that before. Is the CSS block in the custom theme? If so, try replacing the CSS block with this one, from the AdvSB package:
#yshout {
font-size: 10px;
font-style: normal;
font-family: arial, helvetica, verdana, san-serif;
}
#yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
}
#yshout #shouts {
border: 1px solid #777777;
padding: 5px;
}
#yshout .shout { /* one shout */
margin: 0 0 0; /* Top Bottom Linespacing */
line-height: 1;
margin-top: 0;
}
#yshout hr { /* shout divider */
color: #cccccc;
height: 1px;
border: 0;
background-color:#cccccc;
}
#yshout .shout-timestamp {
font-weight: normal;
font-style: normal;
color: #bbbbbb;
}
#yshout .shout-adminlinks { /* del and ban buttons */
font-size: 6pt;
color: #141414;
}
#yshout #shout-form {
}
#yshout #shout-form fieldset {
border: none;
}
#forum-name, #shout-text, #shout-button {
font-size: 9px;
margin: 0;
padding: 0;
}
#yshout #forum-name {
color: #666666;
width: 70px;
margin-right: 5px;
}
#yshout #shout-text {
color: #000000;
width: 310px;
margin-right: 5px;
}
#yshout #shout-button {
width: 55px;
}
#yshout .shout-invalid { /* invalid shout (shout textbox) */
background: #FFFDD1;
}


@Jessikard: Yes, if it uses the action= system. You would add a string to Modifications.<language>.php which says
$txt['whoall_<action>'] = 'Shoutbox';
where <action> is the action's name. That puts them in Who's Online. If you want to do something a little fancier, you can use an SQL query to put the list of names directly on the shoutbox: http://www.simplemachines.org/community/index.php?topic=236625.msg1723748#msg1723748
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

*attention! I'm looking for screenshots. As I no longer run my own forum, only test forums, I cannot easily make a plausible-looking screenshot of this mod in action.

If you've got a mostly-unmodified SB or AdvSB (I'd like unmodified versions to avoid questions like "how come my shoutbox doesn't look like that") then I would be happy to accept a screen shot.

I would prefer that it shows it from a moderator/admin perspective, with del and ban links shown (though a non-admin view is also good), with a suitable number of chats from different people/different membergroups.

I especially need AdvSB screenshots since I still don't have any good ones since releasing it months ago.

As a final note, I'd prefer if it showed as much of the surrounding forum as possible (other themes are fine), as I can then crop it as necessary.

Thanks!
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Jessikard

args.. sorry, our sb is at the forum-less site like /forum/yshout/

AeroFennec

I've been trying to get this installed for the last 2 days. I used to have it working, but now I'm trying to install it on 2.0 Beta 4, and I've had no luck. I've edited all the files over and over, installed and uninstalled, I don't know what to do anymore. It just never shows up. I'm using what was the Black Rain theme but I've changed it around a lot. I can't get the mod to work on the default theme either though, nothing shows up. Its like no matter what I do the shoutbox never shows up at all. I've tried both the regular and advanced versions. I'd prefer the advanced but what now I'd be happy to get anything working. Can someone please help?

Jessikard

#4118
Quote from: Jessikard on October 13, 2008, 06:07:43 PM
args.. sorry, our sb is at the forum-less site like /forum/yshout/

especially i have more questions - i hope you can help

1. i have no Code like
// YSHOUT HERE - shoutbox code global $txt,$context,$boarddir; if(allowedTo('yshout_view')) { echo '<br /><b>',$txt['yshout_shoutbox'],'</b><br /><br />'; 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 to edit for the smilie-bar

how could i manage it to get this bar
and
in this posting -> http://www.simplemachines.org/community/index.php?topic=137508.msg1388091#msg1388091
i see at the bottom that you have to edit *up to 4 times - but what ???
there´s only one possibility to edit

thx for answer - Jessi

tadi

Hello,

Thanks for the mod!
It's great!

I want to ask where the shouts are being saved? To the database or somewhere else?

Also the option commands that is shown can be deleted?

thanks  ;D

Advertisement: