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

[unplugged]

#3020
Quote from: theglobe on July 20, 2008, 11:24:42 PM
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.

I just logged in under my test account and posted in the shoutbox. I then logged back in as admin and banned my test account. Then I opened _banlist.php and removed the entry (in red):

$ban_names_readpost = array (
  0 => 'TestAccount',
);

This unbanned TestAccount from the shoutbox and I was again able to post to the shoutbox when logged in as this user.

EDIT: I just realized I had posted "IP Address" when actually it is username. But I am sure you figured that out already.  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



allymcbeal

Thanks nneonneo my shoutbox works with other theme.

How can I do a board around it? Because it is white and also my theme is white so I need to put around a line to define the shoutbox, can you help me please?
If you want you can watch my shoutbox www.allymcbeal.it/smf1


nneonneo

Grr, something is eating my topic notifies :(

@wdm2005: You might need to decrease the height: field to make it work, or try index.template.php.

@SunKing: In WAP? One thing to try might be the /yshout/ shoutbox. WAP doesn't work with AJAX, though, but it should be a matter of hacking the form to submit correctly :P

@trekkie2444: Add it, then:
#yshout #shouts { /* main shouts area */
}


@PsyChoses: Replied via e-mail

@allymcbeal: Something like
<div class="tborder" style="margin-top: 1ex;">
<div class="catbg" style="padding: 5px 5px 5px 10px;">
Shoutbox
</div>
<table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">
!!SHOUTBOX CODE HERE!!
</table>
</div>

should make it look like one of the categories.

If you just want a simple line around it, you can simply use style="border: 1px white;" or a similar declaration in the yshout div.
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!

r0flded

How do I install this, when I drag it to my FTP where do I drag it too? o.o I read the description you wrote but it doesn't really tell how to install it.

angrybanana5000

#3024
How can I center my shoutbox? Right now it is all the way to the left.
My forum link, http://gamingchatforums.freehostia.com/. (Guests can see the shoutbox.)
Also could it be possible for when someone does the /clear command instead of it just clearing all shouts, could it say after, " * <user> has just cleared the shoutbox"?

nneonneo

@r0flded: Package Manager -- just upload SB_1.20.zip or AdvSB_1.20.zip using Admin -> Packages -> Download Package.

@angrybanana5000: I see you managed to center it. For automatically writing a message on /clear, in yshout/yshout.php, add this code above
return true;
case "/return": // I'm done reading

(i.e. right above the return line in /clear)
processUserCommand('/me has just cleared the shoutbox');
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!

NaWaR

i got   ....loading shoutbox...  and keep loading for more than 2 hours !  i  refresh the page and also asked  frineds to try !  but  keep  .. loading  and nothing !   can ya help pls !   thanks  :)

nneonneo

Try 1.20, if you haven't already...
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!

allymcbeal

Quote from: nneonneo on July 21, 2008, 12:09:25 PM
@allymcbeal: Something like
<div class="tborder" style="margin-top: 1ex;">
<div class="catbg" style="padding: 5px 5px 5px 10px;">
Shoutbox
</div>
<table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">
!!SHOUTBOX CODE HERE!!
</table>
</div>

should make it look like one of the categories.

If you just want a simple line around it, you can simply use style="border: 1px white;" or a similar declaration in the yshout div.

Thanks for the reply, I can't understand where I have to write this code, in index.template.php? Sorry... :(

edi67

Great work nneon , i have one question for you:
i have your yshout 1.2 with scrollbar and reverse mod for view the messages beginning from last so i want ask you one thing, with this method when somebody write one new message the windo scroll automatically at the end of messages and showing me the first messages i want the when somebody write new message the window show me the last messages.
Is possible do this?

you can enter in forum for try what i means.
login:test
pass: test
http://ediboard.altervista.org/index.php

thx for help
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

nneonneo

Yes, in 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!

Pleek

ok, omz i have tried using the search and im getting nothing. I know this has been posted here b4 but i don't know were and nothing i put in the search box is working. Were do i change how many shouts show up? I have added the scroll bar but its useless unless more shouts are displayed. How do i change how many shouts are shown?

nneonneo

1.1x: $max_lines in yshout/yshout.php
1.20: $maxLines in yshout/settings.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!

angrybanana5000

Thanks nneonneo, that did the trick. :)

nneonneo

@edi67: One way is simply to disable autoscroll (I think I will make this an option in the next AdvSB).
Comment out
divScroll = new chatscroll.Pane('shouts');
objDiv = document.getElementById('shouts');
objDiv.scrollTop = objDiv.scrollHeight;

from yshout/js/yshout.js.
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!

angrybanana5000

Could anyone help me, I am trying to get the shoutbox to go in the news box. I followed the directions perfectly but I can't get the shoutbox to show up.  :-[ All that shows in the news box is, ',$txt['yshout_loading'],'
Any help? Thanks. :D

nneonneo

Is the shoutbox still showing up elsewhere?
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!

angrybanana5000

Quote from: nneonneo on July 22, 2008, 04:36:28 PM
Is the shoutbox still showing up elsewhere?
Only if I have the
'; // Show the shoutbox! shoutbox(); echo '
code

nneonneo

Right. So, if you remove the shoutbox from index.template.php, then add <div id="yshout"></div> to the news header, it doesn't work? Note that only one shoutbox can be active per page, so if you have it in two places (news and somewhere else on the page) only one will load.
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!

angrybanana5000

Quote from: nneonneo on July 22, 2008, 04:40:55 PM
Right. So, if you remove the shoutbox from index.template.php, then add <div id="yshout"></div> to the news header, it doesn't work? Note that only one shoutbox can be active per page, so if you have it in two places (news and somewhere else on the page) only one will load.
Yes it does not work. I have added my index.template.php if you can edit it to work. Thanks. :)

Advertisement: