nneonneo's Shoutbox

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

Previous topic - Next topic

Grau

Thx for the reply.
I uninstalled the old one, tried to install the advanced one, but the packet manager cant create the files.....told me i has to insert ftp-data, I gave em everything and it does nothing. So I installed Profile-Managment-Mod, to see if my ftp-access is broken, without problems. Reinstalled the old 1, everything works fine. Ok I can life with that. Littlebit confused but it's OK.

[unplugged]

Attach your yshout.php here and I will add those horizontal lines for you.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Grau

Hmm this would be great

Grau

Oops Sry, typed the letters wrong and attached it twice :/

[unplugged]

Try it now. It should be what you wanted.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Grau

Yeahr that's perfect, THANK you a lot....great support....now I can go to bed :)

asmith

SunKing, Do you know why when I include jquery-1.2.1.pack.js in the page, Shoutbox stops working?  I need to include this js file to work some ajax myself.

[unplugged]

It has to do with OnLoad events. The shoutbox loads an event and then jquery loads an event effectively disabling the SB's event. There are workarounds where you have multiple onload events. Google for it....there are several workaround methods. Unfortunately, I do not remember any of them off the top of my head.  ;D
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



_Anthony_

Quote from: asmith on June 21, 2009, 11:26:04 PM
SunKing, Do you know why when I include jquery-1.2.1.pack.js in the page, Shoutbox stops working?  I need to include this js file to work some ajax myself.
why are you using such and old version?

asmith

When I do the workaround for the multiplae onload events, Where in shoutbox I must modify?

[unplugged]

The workaround I used edited the body tag in the index.template.php.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



asmith

My body tag does not have anything about onload.

shoutbox onload is being fired somewhere else.

[unplugged]

You add an onload event to the body tag which in turn loads addtional events.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



DELHI_BOY

hi i am using smf 1.1.9 with ReDark theme. This mod installed sucessfully. Since i am not using default theme, so i make changes in index.template.php file of my theme. I want to place the sbout below the news. In the manual this code is given:-
Quote// YSHOUT HERE - shoutbox code
   global $txt,$context,$boarddir;
   if(allowedTo('yshout_view'))
   {
      echo '<br /><b>',$txt['yshout_shoutbox'],'</b><br /><br />';
      echo '<div id="yshout">';
      include_once($boarddir.'/yshout/yshout.php');
      echo '</div>';
   }
   elseif($context['user']['is_guest'])
      echo $txt['yshout_no_guests'];
   // YSHOUT END - shoutbox code

Where to insert in index.template.php file, so that shout box visible just below the news ?

[unplugged]

You don't. You edit the boardindex.template.php to put the shoutbox there.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



DELHI_BOY

But where to put above code in boardindex.template.php, so that it appear below news?

[unplugged]

You will see a block of code labeled "news fader". Put it after that. I will give better instructions when I get home if you need.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



DELHI_BOY

#5497
thanks alot sunking, you are simply genius. I sucessfully placed the sbox below the news fader but there is 1 line always comes up automatically after it loads. The line is:-

"Notice: Undefined index: naffiliatessn in /home/orpat100/public_html/Sources/Load.php(1987) : eval()'d code on line 394 "

How to remove it? And one more thing, i want to change the color of all texts like user shouts, commands,etx, currently it is black. My theme background is also black, so it is visible clearly.

herohenson

Fatal error: Call to undefined function shoutbox() in /home/a9603718/public_html/Sources/Load.php(2295) : eval()'d code on line 379

i got this error when i tried to install advande_shoutboux by neoneo's

mysite is http://pinoygroundz.comuf.com

ill attached my load.php

[unplugged]

@delhi
That error is from affiliates mod.

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Advertisement: