News:

Wondering if this will always be free?  See why free is better.

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

madman71

#1620
I too have the "...loading shoutbox.." prob.

this is what my index file says:

var board_url = "'; $boardurlparsed = parse_url($boardurl); echo $boardurlparsed['path'], '";

Im not sure where exactly to place the  code to fix this.



Jimi_Hendrix

Quote from: ivpn on February 21, 2008, 05:25:25 PM
I have a problem:
I just installed this mod and when I go in the statistics's page, and explode the month, I received an error with internet explorer that says:
The name can't have the character "(";
with firefox, the table of forum history (new topics, new posts...) when i click on month shrinks

This error is to reported to:
var myfunc = new domFunction(function()

I have see other site that have this mod and all site have this problem

Can you tell me if entering the statistics section and clicking on the month you've got the same problem


Judgey

Nope i dont have any probs with stats.

How can i make the defalt text bigger?

Jimi_Hendrix

Quote from: Judgey on February 22, 2008, 11:35:36 AM<br />Nope i dont have any probs with stats.<br />
ok...thanks
I have SMF 1.1.4 and TinyPortal v0.9.8

Quote from: Judgey on February 22, 2008, 11:35:36 AMHow can i make the defalt text bigger?<br />

in the code, there is:

#yshout {
font-size: 10px;
}

;D

Judgey

i just have smf 1.1.4

I have edit that code still the same size :(

Jimi_Hendrix

Have this forum an information about my question?

ousu

An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.


................wht can i do now to uninstall the mod


plzz help me

nneonneo

Wow, I totally missed a page of replies. Sorry about that!!

I'm going to try to reply to everyone here.

@NIBOGO: If you're trying to put the shoutbox in the portal, you will have to do some things differently, though I am not familiar with the portal you are using. For the board index ("action=forum") it should work, since it appears to be the default theme.

@Chopper: Options are controlled (primarily) through settings in yshout/yshout.php; this is for efficiency because the script is frequently called. Hard-coding options (into the script, at the top) is more efficient than having to access config data every time.

@Judgey: Looks like it works.

@ivpn: I have not yet encountered this problem, and it doesn't do that on my personal test installation. If you give me a board URL, I can probably figure out the problem quickly.

@djgix19: It depends on where you want the shoutbox to appear.

@syndicate: See below.

@madman71: See below.

@ousu: Odd, I definitely included an uninstaller. Manual steps:
1) Remove the whole yshout/ folder
2) In Themes/default/languages/Modifications.english.php, remove the entire section marked with "// ---- Begin modification - nneonneo's Shoutbox ----" to "// ---- End modification - nneonneo's Shoutbox ----"
3) In Themes/default/index.template.php, find "// YSHOUT HERE" and delete to "// YSHOUT END" (there are three such blocks).


For madman71 and syndicate, and possibly others, I've made a change to the custom theme installation instructions. Specifically, the line
var board_url = "'; $boardurlparsed = parse_url($boardurl); echo $boardurlparsed['path'], '";
is now
var board_url = "'; $boardurlparsed = parse_url($boardurl); echo (isset($boardurlparsed['path'])?$boardurlparsed['path']:""), '";

That *should* fix the problem. Let me know if it still 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 for the imput,

Just one last thing, how can i make defalt text bigger (were should i edit)

Many thx :)

nneonneo

In Themes/default/index.template.php:
Change "10px" in
#yshout {
font-size: 10px;
}

to the desired size.
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!

djgix19

Quote from: djgix19 on February 21, 2008, 12:45:38 PM
hi there...i've just installed nneonneo's shoutbox, but i don't know where to put this:

// 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


in my index.template.php...i use dilbermc...i want it under:

hi, (username)
you've got etc...


i'm sorry, but i can't speak English very well...forgive me...

i wrote it...

Judgey


nneonneo

Quote from: djgix19 on February 24, 2008, 02:08:14 PM
i wrote it...

Oops, sorry, I must've missed that when skimming over the posts.

Right after "you have n messages, n are new." is not a great spot. After "> Show new replies to your posts." is a better spot; is that OK?

For that location, you put that code 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>';

If you want it visible *only* to logged in members, add
if($context['user']['is_logged']) above
echo '
<br /><b>Shout Box</b><br /><br />
so it looks like
// YSHOUT HERE
if($context['user']['is_logged'])
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
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!

PabloW

#1635
can you make a version of this shoutbox, but for puting it in the index of the forum. and it would be GREAT if the shoutbox would appear in a BOX ^^ i mean like the SMF Shoutbox modification. I dont like that modification because it doesnt uses AJAX, but the thing i dont like of this one is that i donw know how to put it easily on the forum index, and in a box :P

cya! =D

nneonneo

See this:

http://www.simplemachines.org/community/index.php?topic=137508.msg1195341#msg1195341

This page describes the code needed to put it on a separate page -- really, it is not much code.
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 24, 2008, 11:49:31 AM<br />@ivpn: I have not yet encountered this problem, and it doesn't do that on my personal test installation. If you give me a board URL, I can probably figure out the problem quickly.

http://www.sanpietroinguarano.org

I have the problem in the statistic's page:
http://www.sanpietroinguarano.org/index.php?action=stats

Thanks for your support nneonneo

sfreak

hi friends i want to install this excellent shout box on my diber mc theme...

please tell me in detail..

what i have to do....i am a newbie........


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!

Advertisement: