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

kat★

Hey. I've made my forum and manually installed the shoutbox, however something seems off.. I've provided a screenshot.
For a heads up: i'm not very skilled at coding and programming, but I am skilled at following the instructions.
Can someome please point me in the right direction?
My theme is Zone99 blue and the shoutbox is SMFpack shoutbox. Is it perhaps that the shoutbox is only supported 2.0.7 and not 2.0.10?
Thanks for the help.
I use smf to learn to write php and css. It's pretty neat. |

Steve

It works fine on my 2.0.10 ...

Under Admin -> Mods -> Shoutbox, do you have either of the first two options checked?
DO NOT pm me for support!

kat★

Both options are unchecked. I have repeatatly manually installed and uninstalled it, with the same result. i have the shoutbox makde to guest, so if you want, you can check the problem yourself here: killthemall.co
I provided the link. If you are generous enough to help me, i can show you around in skype screen mirroring. Pm me.

thanks
I use smf to learn to write php and css. It's pretty neat. |


kat★

Hmm I attached it to my post. To be completely honest, the code inside doesn't tell me much. I know HTML and CSS, but not PHP, so I had a hard time even finding my way around getting the forum online and getting it to work properly (so you can post stuff and see who's online, that was also not working at the beggining, but I found some solutions online here.
I also noticed that the post window (when you post a thread or anything really) only gives you a write option. no smilies, options to edit text or anything you can see above your reply window if you make a post on the simplemachines .org forum, but i'll post my problem about that in another thread where it'll be relevant to the subject.

Again, if anyone is willing to help me out actively, pm me and we can get to the bottom of things (errors) via skype or a simmilar way. Thank you in advance. You guys are awesome!
I use smf to learn to write php and css. It's pretty neat. |


kat★

Sorry for the late response.
Um...To demonstrate how little knowledge I have about the subject, I have no idea what you're talking about. Can you maybe help me with some directions? Where I can find the file you are requesting?
Thanks a bunch.
I use smf to learn to write php and css. It's pretty neat. |

IgorS

I have searched this topic, but I do not find any answer for my question: Is this possible to set all nicknames color to black as for regular user? If so, how?

mikedijital

Shout box seems to be outputting and extra . ( which is actually some sort of flash object because when i right click on it I get the flash settings menu )  on my forum, I asked about it at first here

http://www.simplemachines.org/community/index.php?topic=539803

and the community seemed to point at the shoutbox code as the issue, ive loaded a ppicture to show the misplaced . Can anyone help. the last responce i got from the other thread was 

Quote<object id="shoutbox_object" width="1" height="1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5">
<param name="quality" value="high">
<embed id="shoutbox_embed" src="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5" width="1" height="1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
</object>
<param name="movie" value="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5">
<param name="quality" value="high">
<embed id="shoutbox_embed" src="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5" width="1" height="1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
<object id="shoutbox_object" width="1" height="1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5">
<param name="quality" value="high">
<embed id="shoutbox_embed" src="http://mikedijital.us/d5/Themes/default/shoutbox.swf?dir=http://mikedijital.us/d5" width="1" height="1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
</object>


that seems to be causing it. something to do with your shoutbox directly. i would suggest contacting whoever made your shoutbox and asking them for help.

it is no extra code, it is all that code in that spot.



Can anyone help?

mikedijital

I didnt realize I could search within this topic

Quotethe 'dot' problem is not a 'dot' problem.. its to do with the sound notification, and its actually a .swf file showing.
to remove it all you need to do is edit the shoutbox.template.php where it says


// new msgs sound
echo '
<div style="height:0.1em">
<object id="shoutbox_object" width="1" height="1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="', $settings['default_theme_url'], '/shoutbox.swf?dir=', $boardurl, '">
<param name="quality" value="high">
<embed id="shoutbox_embed" src="', $settings['default_theme_url'], '/shoutbox.swf?dir=', $boardurl, '" width="1" height="1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</div>';


just change the width="1" height="1" to width="0" height="0" in both places and it goes.



now if someone could answer the collapsed by default for guests issue, life would be grand

Steve

Mike, dude, you're my hero at the moment for finding that dot solution! :P
DO NOT pm me for support!

Brajanz0r

Greetings,

I installed your shoutbox and as I saw, in default theme it's there, but in other themes (note: I installed shoutbox for other themes also) shoutbox isn't showing. I was working by your manual later to see that all the files are edited during the installation as they should be, but still no shoutbox on my forum. So I searched for solution, none of them helped me, now I'm directly here asking for your help.

I have SMF 2.0.11., latest PHP update, all permissions are default. Can you help me please?

Thanks in advance,
Brajanz0r

br360

What is the custom theme you are using? Can you check your custom theme's index.template.php and find-

}

function template_body_below()
{


and make sure this is before it-

//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox

Brajanz0r

Quote from: br360 on October 13, 2015, 11:53:06 PM
What is the custom theme you are using? Can you check your custom theme's index.template.php and find-

}

function template_body_below()
{


and make sure this is before it-

//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox


Confirmed, it's there. My template is hxxp:www.awesomestyles.com/smf-themes/view/armageddon [nonactive]. This code which you mentioned I checked last night before posting here when I checked all other codes for shoutbox too, and now when you asked me to check I did again. So I doubt it's about the code of the shoutbox, seems like a problem with theme integration.. But I'm not "qualified" to judge, that's my opinion only.

Brajanz0r

Is there anyone who can help me? Much appreciated.

br360

Quote from: Brajanz0r on October 15, 2015, 10:26:47 PM
Is there anyone who can help me? Much appreciated.

I just tested this on your theme you are using and it does seem to be working just fine.



Can you please attach your custom theme's (armageddon) index.template.php?

Brajanz0r

What tha.. sure. How does it work there when it's the same theme, installed without any problems? I'm really confused.

br360

Your issue is an extra "}" in line 505

Find-

<div id="bodyarea">';

theme_linktree();

}

//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox

function template_body_below()

{


replace with-

<div id="bodyarea">';

theme_linktree();

//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox

function template_body_below()

{

Brajanz0r

Had a template parse error, because I ignored the message in editor that removing } is a "bad idea". This is not working out. According to dreamweaver, there is no problem with that }.

br360

Upload the attached and see if it works-

Advertisement: