nneonneo's Shoutbox

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

Previous topic - Next topic

DareDevil1990

did tht too , its still the same

Vampy

Quote from: nneonneo on March 22, 2009, 04:38:12 PM

@Vampy: Admins do, by default, but global mods do not. This is easy to change: give the global mods the "Moderate shoutbox" permission and they will be able to ban and delete.

Thanks for that nneonneo - right now I'm having an issue installing - I get an error message on index.template - I backed that file up and went ahead an installed it anyway just to see, only to get a fatal error message - so I had to replace index.template and uninstall - Luckily this was only on my test site. Once I've sussed out the problem (maybe a mod clash) I'll reinstall and change that setting

Thank you :D

lorddusk

Quote from: lorddusk on March 18, 2009, 10:36:53 AM
Quote from: lorddusk on March 17, 2009, 11:04:30 AM
Quote from: lorddusk on March 06, 2009, 05:43:26 PM
Quote from: lorddusk on February 09, 2009, 07:54:39 AM
Since i installed the Shoutbox on RC1 the admin links del/ban stopped working, please help, because my forummembers are a bit spamming.....

got the ban tool working after some tweaking, still havnt fixed the delete one

Edit to that, they both stopped working now.....
We only have Simple Portal installed + The Shoutbox Adv v.22

thats what i get when clicking on DEL

bump....
its important!

why do i keep being ignored

meehan09

Ive added this code to Modifications.english.php has told

$txt['pm_register_body_desc']='';

Iam still getting this error at top of shout box ?, I hope you can help solve this error.


Thanks again nneonneo

JackWise

Quote from: JackWise on March 11, 2009, 06:18:56 PM
Hi,

How can I put an initial message in shout ?

Best regards,

JW


Hi,

Any answer for my question ?
Several users think that de writable box is for search the forum.
I would like to put an initial message.

JW

c23_Mike

Hi there !

Ok, maybe i am too stupid, or I am just not a programmer. As now the newest posts are always on top, the scrolling is wrong, because it always scrolls down. How can I turn that off. It must be something in the code here: http://www.simplemachines.org/community/index.php?topic=137508.msg1532028#msg1532028
But what exactly to turn that scrolling off?

So long, Mike

http://www.c23.at
c23 - DER Computer Club
~ never play alone ~

nneonneo

@lorddusk: Let me take a look. I'll need moderator permissions to test deletion (by PM please)

@meehan09: Did you put it after the <?php line?

@JackWise: I asked before -- what do you mean by an "initial message"? Is it some text which is visible in the box itself?

If so, it's actually a fairly easy change:
In yshout.php:
Add
class="shout-placeholder" onfocus="if(this.className == \'shout-placeholder\') this.className=\'\'; this.value=\'\';"
after
$inputShoutText=' <input id="shout-text"

And add after
echo '
',$inputForumName,'value="',$user['name'], '" disabled="disabled" />';
echo '
',$inputShoutText,'value="

the text you want shown.

The placeholder can be styled using a block like this in CSS:
#yshout .shout-placeholder {
color: #666666;
}


When the user clicks in the box, the placeholder will vanish.

@c23_Mike: autoScroll in yshout/settings.js, if you are running AdvSB.
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!

JackWise

Quote from: nneonneo on March 23, 2009, 07:33:59 PM
@lorddusk: Let me take a look. I'll need moderator permissions to test deletion (by PM please)

@meehan09: Did you put it after the <?php line?

@JackWise: I asked before -- what do you mean by an "initial message"? Is it some text which is visible in the box itself?

If so, it's actually a fairly easy change:
In yshout.php:
Add
class="shout-placeholder" onfocus="if(this.className == \'shout-placeholder\') this.className=\'\'; this.value=\'\';"
after
$inputShoutText=' <input id="shout-text"

And add after
echo '
',$inputForumName,'value="',$user['name'], '" disabled="disabled" />';
echo '
',$inputShoutText,'value="

the text you want shown.

The placeholder can be styled using a block like this in CSS:
#yshout .shout-placeholder {
color: #666666;
}


When the user clicks in the box, the placeholder will vanish.

@c23_Mike: autoScroll in yshout/settings.js, if you are running AdvSB.

nneonneo, I'm afraid to do the change, because my code is a little bit different.
When you say :
after
$inputShoutText=' <input id="shout-text"
I have :
$inputShoutText=' <input id="shout-text" name="shout_text" type="text" maxlength="'.$maxShoutChars.'" ';   


And then you say to put the text I want , but I think the line of code is incomplete.

Can you help again please ?

JW




nneonneo

#5308
Actually, I meant exactly what I said. Both lines are incomplete because you should add the code inside the line, at exactly the point indicated, for it to 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!

DareDevil1990

Quote from: MRDJ on March 23, 2009, 06:55:43 AM
from the time i have installed pretty urls the shout box(i am using neenones Advanced AJAX Shoutbox      1.22 )  is geeting closed after like 10-15 sec of the full page being load

take a look at this screeny you'll get what i mean.
http://img22.imageshack.us/img22/3582/dfsadasda.jpg

but i refresh or type the command /return normal sb comes back but it returns to position shown in the above pic :'( helppp 
so is the problem with pretty urls ,shoutbox or my setings? and how do i solve this
bump

gwalior

#5310
I'm using 2.0 RC1 and default theme.
Install is OK; but i can't shout, i have in shout box : Write error (writeLine); aborted

and in error log plenty of errors like this :


/index.php?action=admin;area=packages;sa=list;package=SB_1.22.zip

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: Unable to access /yshout/chats/history.home.txt

File: /mnt/167/sda/5/3/mydomain/forum/Sources/Subs-Package.php
Line: 380
   
/index.php?action=admin;area=packages;sa=list;package=SB_1.22.zip

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: Unable to access /yshout/chats/.htaccess

File: /mnt/167/sda/5/3/mydomain/forum/Sources/Subs-Package.php
Line: 380
   
/index.php?action=admin;area=packages;sa=list;package=SB_1.22.zip

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: Unable to access /themes/install-2.0b4.xml

In subs-package.php line 380 I have:
// If this is a file, and it doesn't exist.... happy days!
if (substr($file_info['filename'], -1, 1) != '/' && !file_exists($destination . '/' . $file_info['filename']))
$write_this = true;


DareDevil1990

Quote from: MRDJ on March 23, 2009, 10:57:06 PM
Quote from: MRDJ on March 23, 2009, 06:55:43 AM
from the time i have installed pretty urls the shout box(i am using neenones Advanced AJAX Shoutbox      1.22 )  is geeting closed after like 10-15 sec of the full page being load

take a look at this screeny you'll get what i mean.
http://img22.imageshack.us/img22/3582/dfsadasda.jpg

but i refresh or type the command /return normal sb comes back but it returns to position shown in the above pic :'( helppp 
so is the problem with pretty urls ,shoutbox or my setings? and how do i solve this
bump

tried solving it myself unisntalled adv sb and installed 1.22 normal one its still the same  so please help ....my members are going crazy

c23_Mike

Hi there!

Quote@c23_Mike: autoScroll in yshout/settings.js, if you are running AdvSB.

Doesn´t work, as far I tried already. I use the codes given from the mod site http://custom.simplemachines.org/mods/index.php?mod=585 and also from there the scrollbar http://www.simplemachines.org/community/index.php?topic=137508.msg1532028#msg1532028
.

After posting or scrolling to top to the last message, some seconds later the scroll bar wents down.
So long, Mike

http://www.c23.at
c23 - DER Computer Club
~ never play alone ~

meehan09

@nneonneo

Ive tried adding (   $txt['pm_register_body_desc']='';    )   after <?php  and at the end before ?>


And it still showing the error i attached has screen shot on earlyier post?... Do you know why this error is displaying and could you have a look into this for me?

Thanks in advance :)

nneonneo

@MRDJ: disable $gzipCompression (yshout/settings.php)

@c23_Mike: are you using AdvSB?

@gwalior: chmod yshout/chats and files in it to 777/755/644 or whatever the host uses

@meehan09: you can add error_reporting(0); to the top of yshout.php to disable the message.
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!

gwalior

Quote from: nneonneo on March 24, 2009, 11:51:21 AM
@gwalior: chmod yshout/chats and files in it to 777/755/644 or whatever the host uses

Chmod function in not allowed at my host (free.fr) but my FTP says files are 755

nneonneo

Try deleting the text files (after making a backup).
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!

gwalior

humm... don't understand, my server told me : my IP adress open too much connections...


Nous avons détécté que votre adresse IP ouvrait trop de connexions vers notre serveur web.
Nous vous rappelons que ces pratiques sont strictement inutile et n'ont pour unique conséquence de ralentir les serveurs.

JackWise

Quote from: nneonneo on March 23, 2009, 07:33:59 PM
@lorddusk: Let me take a look. I'll need moderator permissions to test deletion (by PM please)

@meehan09: Did you put it after the <?php line?

@JackWise: I asked before -- what do you mean by an "initial message"? Is it some text which is visible in the box itself?

If so, it's actually a fairly easy change:
In yshout.php:
Add
class="shout-placeholder" onfocus="if(this.className == \'shout-placeholder\') this.className=\'\'; this.value=\'\';"
after
$inputShoutText=' <input id="shout-text"

And add after
echo '
',$inputForumName,'value="',$user['name'], '" disabled="disabled" />';
echo '
',$inputShoutText,'value="

the text you want shown.

The placeholder can be styled using a block like this in CSS:
#yshout .shout-placeholder {
color: #666666;
}


When the user clicks in the box, the placeholder will vanish.

@c23_Mike: autoScroll in yshout/settings.js, if you are running AdvSB.

Many thanks for your patience nneonneo.
It's already running.
JW

c23_Mike

Hi there !

Yes the AdvSB I use ...
So long, Mike

http://www.c23.at
c23 - DER Computer Club
~ never play alone ~

Advertisement: