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

nneonneo

@Savvra: Sorry, I don't really know what the problem is. Mind if I take a look at your board? I will need to be able to see the admin links, so if you could PM me some information, I would appreciate it.

@Final60: Is the shoutbox installed in a portal of some sort? If so, try editing the code for the shoutbox block for step 4 instead.
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!

Final60

#4541
Ah sorry Ive just realised where i think i had to put it. in here:

echo '<div id="yshout">';

When the page loads, the smileys appear to load but then disappear when the page is fully loaded. any advice?

I notice there is some script in the code i have to add. The Shoutbox code only appears work work correctly in a php block, and the script needs a script block to work it seems. But When i switch to a script box the shoutbox doesnt work correctly.

Also 2 last features Id like help on:

1: I have the new post and topic notifier working great, but i don't want it to open a new browser when a use clicks on the links, but use the same browser.

2: Can you point me in the right direction to change the menu text into the small icons above shoutbox?

Thanks in advance

Adish - (F.L.A.M.E.R)

#4542
ok, i get it right. Just a last thing. I get this error in the error log after i modified the post.php for the threat update feature.

8: Undefined variable: scripturl
File: /home/skywise/public_html/forum/Sources/Post.php
Line: 1762

What shall be the solution ?

Edit:-
It happens when a post is made, i aint sure if its coming when the topic is made. I also checked it with the edits again, i dont seem to go wrong anywhere, would you like to check anything ?

nneonneo

@Final60: Script code goes in <head> section of index.template.php. Don't put it in the phpbox.

1) Try "iurl" instead of "url".

2) Look at AdvSB, specifically initShoutbox. You will need to copy the icons over, too.

@F.L.A.M.E.R: I just updated that post. See if the new code works.
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!

Adish - (F.L.A.M.E.R)

#4544
oh wait, i think i know why that error came, i am using the shoutbox version 1.22

Shall i try the new code yet then ? or would you update it for 1.22 ?

Edit:- I did try it and it did work out. Well, you can keep it up for the version 1.22 if you want. or people might get confused and not try for 1.22

Great job! :)

nneonneo

It's actually meant for 1.22. The first edit is only for 1.21 to bring it up to date with 1.22.
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!

bavica

Quote from: nneonneo on December 02, 2008, 04:15:24 PM
@bavica: the <head> code in that theme is from an older version. You should just remove it and replace it by newer code (in index.template.php)

sir, i already done wat u said. i again done today, i replaced the old <head> code with the code in ur mod topic and i manually replaced all the codes in the respective files,still am getting "loading shoutbox" but its not loading  :(

nneonneo

<script src="http://hyderabadrockerz.com/yshout/js/prototype.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/moo.ajax.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/behaviour.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/domFunction.js" type="text/javascript"></script>

These lines suggest to me that the code in your theme index.template.php is from SB 1.17. If you really cannot make it work, try installing version 1.17 of 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!

bavica

Quote from: nneonneo on December 02, 2008, 10:44:55 PM
<script src="http://hyderabadrockerz.com/yshout/js/prototype.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/moo.ajax.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/behaviour.js" type="text/javascript"></script>
<script src="http://hyderabadrockerz.com/yshout/js/domFunction.js" type="text/javascript"></script>

These lines suggest to me that the code in your theme index.template.php is from SB 1.17. If you really cannot make it work, try installing version 1.17 of the shoutbox.


nneonneo, as u said, i installed sb 1.1.7, its working but the shoutbox is loading slowly :(

nneonneo

Seems to be snappy enough. 1.17 isn't instant-on, unlike 1.22, so it means that it won't be instantly loaded with the page -- it will be delayed a bit.
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!

bavica

Quote from: nneonneo on December 03, 2008, 12:00:04 AM
Seems to be snappy enough. 1.17 isn't instant-on, unlike 1.22, so it means that it won't be instantly loaded with the page -- it will be delayed a bit.

THank very much nneonneo, adjusted refresh rate, now working like a charm. once again thankyou verymuch for ur fast responses. Your Shoutbox Rocks  :)

lucky_jan

please help me i attched my file plase tel me what can i do .

My yshout file ( Yshout.php )  creating problem thats y shoutbox cannt run propely please  help me

This Is Error

Quote

Warning: session_start() [function.session-start]: open(/home/duam2807/tmp/sess_d176de9b16a743283fe6d839416f5603, O_RDWR) failed: Permission denied (13) in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 42

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ncmlnet/public_html/stayhere/yshout/yshout.php:42) in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/ncmlnet/public_html/stayhere/yshout/yshout.php:42) in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 46

Warning: session_write_close() [function.session-write-close]: open(/home/duam2807/tmp/sess_d176de9b16a743283fe6d839416f5603, O_RDWR) failed: Permission denied (13) in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 763

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 763

Warning: Unknown: open(/home/duam2807/tmp/sess_d176de9b16a743283fe6d839416f5603, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0




solve my problem plzz

check attachment

i hope u will reply me as soon as posiible

nneonneo

@lucky_jan: Someone else had a similar problem, and this is what I suggested:
Quote from: nneonneo on December 01, 2008, 10:29:52 PM
Try commenting out the three lines starting with session_: session_start(), session_write_close() and @session_start().
Can you see if it works?
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!

Mikeric

I was just using another computer and tried to view my site on google chrome. The shoutbox says you are not logged in when you are and will not work correctly. It works fine in opera, Firefox, and IE.

lucky_jan

not its dosnt matter . firefox also not view my shoutbox correctly



plzz nneonneo)> help me plzz plzz i m very thankful to u if u help me.

nneonneo

@Mikeric: There appears to be some incompatibilities with Chrome. I'm working on it.

@lucky_jan: Did you try the tip? Find all
session_
and replace by
// session_
in yshout.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!

tommys67

#4556
Hey nneonneo!

Your shout box works like a champ!  Thanks!  I have SMF 1.1.7 and aA_New_Damage_v2 as the theme, and I've gotten everything beaten into submission pretty well.

I am having problems with the scroll bar feature you supplied, though.

Here is the code from the part of the theme's index template that should install the scroll bar...

      
#yshout #shouts {
         overflow: auto;
         width: 550px;       /* the width you want to display */
         height: 150px;     /* the height you want to display */
}
      
      #yshout {
         font-size: 10px;
         overflow: hidden;
      }

Why is the bar not showing, and how do I make it so you can scroll and see the history of more than 12 -15 lines?

For reference - my site is www.suspectsunlimited.com [nofollow]

Please use UserID "Helping"  and pass "Suspects2008" to access and see Shout Box.

What am I doing wrong?!?

I've attached a text copy of the entire index template.  The code above is around line 140.

Thanks!

Tom

lucky_jan

@nneonneo :  ok sir i ill try wait

nneonneo

@tommys67: For a permanent scrollbar, you can try "overflow-y: scroll;" instead of "overflow: auto;".
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!

lucky_jan

@nneonneo : sir now this time this error is shown on shout box

now what can i do ?

Quote


Parse error: syntax error, unexpected '}' in /home/ncmlnet/public_html/stayhere/yshout/yshout.php on line 775


check also attachment

Advertisement: