News:

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

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

redsc

Hey.

I have Advanced AJAX Shoutbox installed in my forum.

there is a tab that you can click on to see all shouts ( admin can see / mods )( LOG )

how do i go about clearing that list as the shout box is used a lot. and it goes back from when the forum first opened nearly a month ago. so as you can imagine its pretty full

Thanks.

Arebias

Quote from: redsc on May 23, 2009, 06:29:24 PM
Hey.

I have Advanced AJAX Shoutbox installed in my forum.

there is a tab that you can click on to see all shouts ( admin can see / mods )( LOG )

how do i go about clearing that list as the shout box is used a lot. and it goes back from when the forum first opened nearly a month ago. so as you can imagine its pretty full

Thanks.

ftp: to your forum/yshout/chats directory. Download 'history.home.txt' and 'home.txt'

Upload a blank copy of each and overwrite what is on the server. You can save the downloaded copies as reference locally.




redsc

Quote from: Arebias on May 23, 2009, 07:45:35 PM
Quote from: redsc on May 23, 2009, 06:29:24 PM
Hey.

I have Advanced AJAX Shoutbox installed in my forum.

there is a tab that you can click on to see all shouts ( admin can see / mods )( LOG )

how do i go about clearing that list as the shout box is used a lot. and it goes back from when the forum first opened nearly a month ago. so as you can imagine its pretty full

Thanks.

ftp: to your forum/yshout/chats directory. Download 'history.home.txt' and 'home.txt'

Upload a blank copy of each and overwrite what is on the server. You can save the downloaded copies as reference locally.

thats great and works a treat thanks :)

redsc

also i have allowed noise to be displayed when new message / shout is typed. but does not make a noice / play the mp3 file in the folder.

why is this ? and how do i make it to make the noise ?

thanks.

Greymalkin

A couple of minor (I hope) purely cosmetic questions. 

Shoutbox is installed and up and running fine.  I have a non-default theme (wannaseedie's Sweet Dream), so I used the parsing instructions to insert the code onto the theme's index.template.  To make it easier on these old eyes of mine, I edited the yshout header portion to increase the font size a smidge and put a little more space between the lines. 

Now I'm trying to get fancy, but I've run up against the limits of my meager php coding skillz.  I'd like to change the title of the SB and center it.  I'd also like to put a border of some kind around it (or possibly bars across the top and bottom) something that delineates it but integrates it into the theme, too, if that makes any sense.   

A copy of the theme's index.template is attached and a link to the forum is here.

If someone can help me out with what edits to make, I would much appreciate it.


[unplugged]

Try this and see how that looks...unfortunately, I no longer have a 1.1.x series test site, so it's all from memory...lol
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Greymalkin

Well, it kinda works.  The title bar looks great, with 'Shout Box' centered and the bar matching.  The shouts themselves are centered, too, which is unexpected but okay.  On the downside, the shouts themselves have disappeared (I suspect the font hex color got changed to white?).  And the SMF and theme copyright notices are appearing between the title bar and the shouts.

[unplugged]

I see the possible culprit for both problems. I am using a new editor and it "autocloses" and "prewrites" etc....... > :(

Open your index.template.php and go to line 388. That line should look like this:

echo '<br /><div class="bar" style="text-align:center;"><b>',$txt['yshout_shoutbox'],'</b></div><br /><br />';

My editor didn't make the second <div> a </div>. That should fix everything. Sorry about that.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Mystery?

Shoutbox isn't visible to me (admin) after installation.

I am using SMF RC1-1.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Greymalkin

Thanks for the house call, Sun King. :)

I've continued working on getting a space between the commands line and the shout, with no success.  Maybe a <p> instead of an <b />?

Krandall

Quote from: Krandall on May 12, 2009, 04:25:43 PM
Been running shout succesfully now for about 6months. no issues. I recently within the last 2 days have started seeing MySQL errors come through, closing the chat saying this:

QuoteWarning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/raptors/public_html/forum/Sources/Subs.php on line 321

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/*****/public_html/forum/Sources/Errors.php on line 123

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/*****/public_html/forum/Sources/Errors.php on line 124

I can refresh the page, and they go away and chat resumes as normal. has anyone seen anything like this or have any suggestions?
thanks-
Randy

*bump*

machmanx

To Mystery and all RC1-1 upgraders...when I upgraded the installer happened to delete my yshout folder from the FTP server...so you might wanna check if that's still there...can't run the shoutbox without it ;)

Um, no one has posted a reply to this, so please help:-

Quote from: machmanx on May 08, 2009, 12:02:34 AM
I have a minor inconvenience:

My shoutbox is used a LOT, so my history file gets full pretty often, like 7-8 days to 2 weeks.  Everytime, I have to empty the history.home.txt file.  Recently, what I've been doing is renaming that file with today's date, and then when the shoutbox gets used, a new history.home.txt file gets made.  The problem is that only I have access to the cPanel and not the other staff of my forum.  I'd rather not give them the password to my cPanel ;)

So, my question is: can you implement a command like /clearhistory that would rename the history.home.txt file with today's date?  That would be such a big help :)

picos

Can some one tell me how the shoutbox mod identifies if a user is logged in or not?  I have been trying to integrate SMF in to my CMS and things are going pretty well and I can be auto signed in to SMF using the hooks that have been written in to the software.  I can access the admin, profile etc but it will not allow me to use the shoutbox.

When I get to the forum, the shout box very briefly shows that I can post in the shout but it is then quickly disabled once the page fully loads.  What could be stopping this from recognising that I am actually signed in?

If I use firebug and delete the disabled="disabled" from the page source it will allow shouts. 

Any ideas?

Greymalkin

It's a minor cosmetic, thing, but it's bugging me not being able to figure out how to do it.  How do I put a blank line between the toollinks and the shouts?

picos

Has support stopped for this mod?

ameo

Quote from: picos on May 28, 2009, 04:48:49 AM
Has support stopped for this mod?

don't be ridiculous. support didn't stop. nneonneo is just absent for a while, but he usually answers all the questions
on which no1 knows answer when he gets back. you'll just have to wait a little while, since your problem is probably little bit
more complicated than others.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

picos

LOL!  I wasn't sure as I looked back and saw he hadn't been on recently so thought I would ask.  Everyone deserves a break but I was just wanting to clarify. 

;D

Mystery?

Quote from: machmanx on May 26, 2009, 12:24:41 PM
To Mystery and all RC1-1 upgraders...when I upgraded the installer happened to delete my yshout folder from the FTP server...so you might wanna check if that's still there...can't run the shoutbox without it ;)

Its there, but I still can't see the shoutbox.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

machmanx

Mystery, check your permissions to see if you've enabled viewing of the shoutbox.

OR, I highly recommend going to the mod link, and then looking at the manual install instructions.  Then see if every group of code is actually present on your files in the server.  Sometimes, the autoinstaller tends to write the same code twice in the same file...so you may want to check that too, for duplicate groups of code.


LLStarks

2 questions.

1. If I am looking at the immediate history and have the scrollbar enabled, why do new posts force me to the bottom of the shoutbox?

2. How do I move the location of the shoubox to the bottom of the SMF 2.0 theme?

Advertisement: