News:

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

Main Menu

nneonneo's Shoutbox

Started by nneonneo, December 26, 2006, 06:58:11 PM

Previous topic - Next topic

_Anthony_

I agree with SunKing's name!

leet8845

Quote from: nneonneo on May 30, 2008, 01:51:14 PM
@leet8845: Hmm, Dreamweaver should've let you know that all the code you added is on the same line. Unfortunately, the first line is a comment, so the entire shoutbox loading code is commented out...
// YSHOUT HERE   global $boardurl...


Thanks for that, it worked ok.

Only problem I got now is loading shoutbox... so I done direct to yshout.php in browser but got http 500, I cant set the permissions on yshout .php to 755 it's currently 666 and it wont change for some reason, Is there anyway round this?

_Anthony_


Kirsty

Quote from: nneonneo on May 30, 2008, 01:51:14 PM
@Kirsty: Something like #shouts a { font-weight: bold; } in the CSS block in index.template.php should do the trick.

Thanks heaps for that :) worked great!

leet8845

Quote from: MrMoney on May 30, 2008, 07:47:42 PM
WHy won't it change?

I asked my PC the same question but it didn't reply ;)

ameo

@ nneonneo - here's my index.template.php {about those smileys ;) }



antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

jossanaijr

nnenneo or some member:

could you please check my files?
Still the problems that I reported before (see pictures above).
Thanks!

_Anthony_

Quote from: leet8845 on May 31, 2008, 04:51:45 AM
Quote from: MrMoney on May 30, 2008, 07:47:42 PM
WHy won't it change?

I asked my PC the same question but it didn't reply ;)
I mean does it give like an error message?

bradymac

Okay, I just finished installing this mod - so far everything works great.  :D  However, I don't want guests to be able to post in my shoutbox, so how do I enable it so that members can only post?

Thanks in advance.

jossanaijr

Quote from: bradymac on May 31, 2008, 02:41:51 PM
Okay, I just finished installing this mod - so far everything works great.  :D  However, I don't want guests to be able to post in my shoutbox, so how do I enable it so that members can only post?

Thanks in advance.
Editable Options
in yshout/yshout.php: read the comments at the top of the PHP file

nneonneo

@ameo: Attached; should work (if it doesn't, let me know!)

@jossanaijr: Your Modifications.brazilian.php file is a single line; it looks like
<?php// Version: 2.0 Beta 2.1; Modifications// ---- Begin modification - nneonneo's Shoutbox ----...

A fixed version is attached.

As for the "loading shoutbox" bug, I don't know what could be causing it. index.template.php doesn't have a yshout div, but the <head> code looks alright (you might need yshout-style.css, but that shouldn't cause the shoutbox to fail outright). You could always try shift-refresh in case the JS files are cached incorrectly.
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!

bradymac

@ jossanaijr - Thanks!  :)

jossanaijr

Almost there... I think...

Well I just discovered that it was missing /chats and /js in my site...
Installation problem? I did not know.  Ok, I copied directories.

Now it shows shout in english but when I post I have this error:
"Warning: fopen(chats/home.txt) [function.fopen]: failed to open stream: Permission denied in ..."

nneonneo

Fix the permissions? chmod 777 (or 755) for chats and chats/home.txt should work.
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!

jossanaijr

Quote from: nneonneo on May 31, 2008, 06:27:30 PM
Fix the permissions? chmod 777 (or 755) for chats and chats/home.txt should work.
Yes, thank you. Working in English.
Now just need to fix the portuguese brazilien language option.
I had already installed Modifications.brazilien.php file.
When in brazilien language I can post and it is working but it still does not show the "Shoutbox" title or commands line or the "Shout" inside the button (image attached).
Thanks for your help,

Danyo1

#2435
hi

i am having problems with the shoutbox in that the loading chat is always there i have sumone on my forum who deals with all these thing like my tech support and he has tried all u guys say but cant get it working anyone got any idea what i can do



sorry for small image theres link to the main one http://tinypic.com/view.php?pic=2yjvpxi&s=3 [nofollow]

asktb93

Is there a way to make it so there are only so many shouts saved? Cause if a lot of shouts are made wouldn't it make the site run slower.

JF3000

Still get this message ...loading shoutbox... after reading every post here and nothing has changed, what could be causing this on 1.1.5?

nneonneo

@jossanaijr: There's no Brazilian language per se; the file must be named "Modifications.portuguese.php".

@Danyo1: One of your mods has malfunctioned: http://danyo1.freehostia.com/smf/yshout/yshout.php
It should only say "Nothing to do.". You can try disabling $gzipCompression in yshout/yshout.php.

@asktb93: $max_lines for the main shoutbox; if you want to reduce the size of the history, you can add a periodic check to clear the history or archive it somehow.

@JF3000: Visit yshout/yshout.php in your browser; if it doesn't say "Nothing to do.", then follow the steps on the main mod page for what to do (e.g. if it's a 404 or 500 error)
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!

jossanaijr

Quote from: nneonneo on June 01, 2008, 03:33:15 PM
@jossanaijr: There's no Brazilian language per se; the file must be named "Modifications.portuguese.php".
Yes, you had already told me that and send me a file Modifications.brazilien.php that I copied to Modifications.portuguese.php and uploaded BOTH but still it is not showing the board name "Shoutbox" neither the command lines, but it is working.  Picture already attached in my post before.  Thanks.

Advertisement: