News:

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

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

trekkie2444

No, I want the shoutbox itself centered on the page, but I don't want the shouts to be. In a sense I want the entire module to be centered, but not the text inside.

nneonneo

@Normally: yshout/settings.php in 1.20 has a setting for that.

@trekkie2444: I'm still not sure I follow :-\
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!

JayRoe

Which of the following accelerators would you guys recommend to use with nneoneeo's Shoutbox?

    *  APC
    * eAccelerator
    * Turck MMCache
    * Memcached
    * Zend Platform/Performance Suite (Not Zend Optimizer)

MissRancher

I had this working great in SMF 1.1.4, but I just updgraded to 1.1.5. Now the autoscroll isn't working. If I scroll down and stay on that page and shout, the scroll seems to be working and stays down there, but if I go to another page to read a new post, it goes right back up to the top.

For some reason when I first installed it on 1.1.5, the yshout div was re-writing the entire forum into that div, so I had to rename the div from yshout to yshoutM. I think I found all the places it was referenced, because all the functionality is working, except for the scrolling. I can't see anything in the autoscroll code that is wrong.

Any help?

mazmardigan

Quote from: JayRoe on July 19, 2008, 06:53:53 AM
Which of the following accelerators would you guys recommend to use with nneoneeo's Shoutbox?

    *  APC
    * eAccelerator
    * Turck MMCache
    * Memcached
    * Zend Platform/Performance Suite (Not Zend Optimizer)

Some time ago I used eAccelerator, it works great ;)

nneonneo

@MissRancher: It's really not a good idea to rename the div, since that could cause problems...I don't understand why it would load the whole forum, unless the index.php modifications were wrong (for 1.20) or you were using SB_1.16 or earlier with certain forum setups. Anyway, a forum URL (and preferably an account too) would make this easier to debug (<3 Firebug)
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!

trekkie2444

Hmmm...not sure how to explain. I want the module of my shoutbox to be in the center of my forum (the tabled area that it fits in), but when I change the div to be aligned to the center, my text is aligned to the center as well. I want the shoutbox to be in the center itself, but the text not to be centered. Take for example the old SMF shoutbox, how it centered itself on the forum, but the shouts were aligned to the left.

nneonneo

OK, I think I understand.

What you can do is apply the centering as you did before, but then add
align:left;
to the #shouts CSS block, which will override the parent center alignment.
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!

SA™

just install on 115 and im getting this in the soutbox

Fatal error: Call to undefined function allowedto() in C:\****\htdocs\dev\yshout\yshout.php on line 69
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

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!

SA™

yes thanks i installed manualy and put the edit after the searched insted of befor thanks
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

sashafiero

#3011
Quote
Quote from: sashafiero on July 11, 2008, 07:44:10 PM
The applicable forum is http://www.theunforgivingblade.com/forum/ [nofollow]

There's a guest account, login "TestAccount" pw "testaccount"

Thank you again for your time.  Let me know if you need to see any of the code.

I return.  :(

I had been using an older version of Gallery and realized it wasn't working, so I fixed it... and now my shoutbox just says "Loading Shoutbox..." and yshout/yshout.php just says "Nothing to do."

I tried searching this topic for other people having these phrases come up, but that was no help.


Edit:  NEVER MIND!  I got it fixed!  :)
SMF 1.1.5 | nneonneo's Shoutbox 1.20

SA™

grr now i cat get the scroll bar working  :(

i added this to yshout.css

yshout #shouts {
overflow: auto;                       
width: 165px;       /* the width you want to display */
height: 200px;     /* the height you want to display */
}


but doesnt make any diff
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

[unplugged]

I have an off-the-wall question about the shoutbox. I check my site regularly from my phone (at work  ;D) and was wondering if there was a way to have the shoutbox display (in WAP I guess). Please forgive me if this is a stupid question, and it's not a must-have edit. I was just wondering if it could be done because it would make it easier for me to communicate with other members via the shoutbox as opposed to PMs and such.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



trekkie2444

Alright, I don't see a #shouts, so here's my CSS for the yshout in my index.template (my style.css doesn't have anything):

<style type="text/css">
#yshout {
   font-size: 12px;      }     
#yshout p {         
  margin: 0 0 0;  /* Top Bottom Linespacing */     
}     
.shout-invalid {         
background: #FFFDD1;     
}     
#yshout fieldset {         
border: none;     
}     
#yshout em {         
font-style: normal;     
}     
#yshout p {       
line-height: 1;         
margin-top: 0;     
}     
#yshout {         
overflow: hidden;     
}     
#yshout .shout-timestamp {         
font-weight: normal;         
color: #ffffff;     
}     
#yshout .adminlink {         
font-size: 6pt;         
color: #141414;     
}     
#forum-name, #shout-text, #shout-button {         
font-size: 12px;         
margin: 0;         
padding: 0;     
}     
#yshout #forum-name {         
color: #666666;         
width: 70px;         
margin-right: 5px;     
}     
#yshout #shout-text {         
color: #ffffff;       
width: 310px;         
margin-right: 5px;     
}     
#yshout #shout-button {         
width: 55px;     
}   
  </style>';
  // YSHOUT END

theglobe

OK, how do I unban a member from the shoutbox?

[unplugged]

Open _banlist.php and remove their IP address from the list.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



PsyChoses

Dear nneonneo :

I recently got your shoutbox for SMF, I have SMF 1.1.5 and am not being able to make it show up on my other themes .. I followed instructions but still, if it's no trouble can you do it for me just this once and then tell me where exactly to put the CODE that makes it show on bord index @ default location ? Plz it's urgent .. I wanna launch my site very soon .. 10x

P.S : I'll admin you on my site if you want ...

Really Appreciated :P

snakeplissken

#3018
Quote from: Normally on July 18, 2008, 06:00:03 PM
Hello,

i have added the scrollbar, but i have the lastinput on top.
What do i have to change in code to make the scrollbar on top and not at the bottom?

Thanks
Stef.

I have this problem as well. I reversed the shouts to display at the top. The shout form is at the top, but the scrollbar starts at the bottom.

You can see it here :- http://www.johncarpenterforum.com/snake/index.php

Any help would be appreciated.

Oh, I have the Advanced version

EDIT: I seem to have solved the problem. I don't know if it is going to cause any other problems, but if you go into yshout.js and find

function setupChat() {
divScroll = new chatscroll.Pane('shouts');
objDiv = document.getElementById('shouts');
objDiv.scrollTop = objDiv.scrollHeight;
if(!$("forum-name")) // do NOT refresh if the form didn't show up.
return;
startRefresh();
if($("forum-name").disabled) guest=false;
else guest=true;
}


and replace with

function setupChat() {
divScroll = new chatscroll.Pane('shouts');
objDiv = document.getElementById('shouts');
objDiv.scrollTop = 0;
if(!$("forum-name")) // do NOT refresh if the form didn't show up.
return;
startRefresh();
if($("forum-name").disabled) guest=false;
else guest=true;
}


Seems to work.

theglobe

Quote from: SunKing on July 20, 2008, 11:29:01 AM
Open _banlist.php and remove their IP address from the list.

Not working. The shoutbox banlist seems to have a different ban than regular members.

Advertisement: