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

Jimi_Hendrix

Quote from: nneonneo on February 25, 2008, 09:00:28 AM<br />@ivpn: I can't see the problem.

nneonneo if you go in the statistics's page and click on the month in order to explode the menu, with internet explorer return an error in the script of the page, with firefox the table is looked at badly (see the attach in the old post)

Thank

ps if I uninstall the shoutbox, this problem is not placed

nneonneo

Ah! Not surprisingly, the problems are related.

Thanks for finding this. The bug has been traced to the prototype.js library. I will have to do some trickery to get rid of the library (newer versions still have this bug).

In Firefox, the additional functions added by the library are misinterpreted as array elements, causing FF to add tons of extra cells to the stat row.

In IE, the additional functions confuse the JS system which promptly throws an error.

Either way, the library has to go (it's part of the base JS core). It may take a while for me to recode the necessary bits, so bear with me here for a short while. It should not be long before I can fix it, but I cannot do that today for I have a midterm to write.

Thanks for finding & reporting it.
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!


Jimi_Hendrix

Quote from: nneonneo on February 25, 2008, 06:01:59 PM
Ah! Not surprisingly, the problems are related.

Thanks for finding this. The bug has been traced to the prototype.js library. I will have to do some trickery to get rid of the library (newer versions still have this bug).

In Firefox, the additional functions added by the library are misinterpreted as array elements, causing FF to add tons of extra cells to the stat row.

In IE, the additional functions confuse the JS system which promptly throws an error.

Either way, the library has to go (it's part of the base JS core). It may take a while for me to recode the necessary bits, so bear with me here for a short while. It should not be long before I can fix it, but I cannot do that today for I have a midterm to write.

Thanks for finding & reporting it.
Thanks for your support and professionality.
You are a big developer.
I am happy to give you this information to improve your script.

sfreak

@nneonneo

hi dude....... i have installed shout box successfully.....

but i am having one problem...

shout button is appearing below the name not at actual position...

see the attachment below.....

nneonneo

The div isn't wide enough to hold the button too.

In index.template.php, try to decrease 310 in
#yshout #forum-name {
color: #666666;
width: 70px;
margin-right: 5px;
}
#yshout #shout-text {
color: #000000;
width: 310px;
margin-right: 5px;
}
#yshout #shout-button {
width: 55px;
}

and see if you can make it fit. 250 should work, but you might need even less.
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!

sfreak

thanks dude.......

250 worked great........

sfreak

i am facing another broblem dude.......

when i want to put news...
then shout box is not loading..

when i remove news its loading perfectly.....

is this bug of this shout box....

nneonneo

News? That's a bit odd, since I run news on my testing forum and it always seems 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!

sfreak

its true in my case dude....

i am using dibermc theme..

i installed

shotbox and recent posts top mods only...

could u please help me.

nneonneo

I have news in my DilberMC installation, and a shoutbox, and it's working fine. Where did you put 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!

sfreak

i put the shout box right after..


if($context['user']['is_logged'])
            echo '
                  <br/>
                  <span class="middletext">'
                  , $context['allow_pm'] ? '<b>' . $txt[152] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']).'</b>' : '<br/>', '.<br/><br/>
                  > <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
                  > <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />
                 
                  </span>';



nneonneo

@kcscm: Like this?
if($context['user']['is_logged'])
echo '
<br/>
<span class="middletext">'
, $context['allow_pm'] ? '<b>' . $txt[152] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']).'</b>' : '<br/>', '.<br/><br/>
> <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
> <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />

</span>';
// YSHOUT HERE
echo '
<br /><b>Shout Box</b><br /><br />
<div id="yshout">',$txt['yshout_loading'],'<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></div>';
// YSHOUT END


That's how I have it, and there are no problems. Do you have a board URL? This merits investigation.

@ivpn: Almost done making the prototype.js modifications; a little more testing and verification, and it should be ready to go.
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!

sfreak

#1653
@nneonneo

dude. i have placed exactly where u have put the shout box......

i am confusing that the problem is with u r shout box or recent post to topv2.0...

as far i am observed the problem is when i am putting news \then saving that news shout is showing like loadindg. and disappearing.......


Jimi_Hendrix

Quote
@ivpn: Almost done making the prototype.js modifications; a little more testing and verification, and it should be ready to go.
I look forward your checks. When the file  is ready I execute the test operation.
Many thanks nneonneo. :D

nneonneo

@kcscm: OK, best if I get your board URL and actually take a look.
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!


nneonneo

You need to put a news item in, so that I can see why it does not 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!

Judgey

Hey mate,

Im having a prob again

http://www.judgey.info/index.php

Its just saying  ...loading shoutbox...

Anyhelp plz my freind

mdrcracing

alright I been looking around and can't find an answer.  Can I remove the time stamp in the shout box?

If so where and how..

btw  I have 1.12 running on 1.14SMF with IE7 with NO probs

Advertisement: