TinyPortal

Development => Support => Topic started by: cakung on March 09, 2008, 07:52:27 AM

Title: Help with a shoutbox
Post by: cakung on March 09, 2008, 07:52:27 AM
@crip, why i can't add shoutbox at this themes????

thx
Title: Re: [Theme] Misty Style
Post by: Zetan on March 09, 2008, 07:54:57 AM
It works on Crips demo site. Does it work with the Default theme?
And what shoutbox? TP's? Or another shoutbox mod from SMF?
Title: Re: [Theme] Misty Style
Post by: cakung on March 09, 2008, 09:09:48 AM
can't work for another shoutbox....
Title: Re: [Theme] Misty Style
Post by: Crip on March 09, 2008, 09:25:17 AM
You need Tinyportal installed.
Title: Re: [Theme] Misty Style
Post by: cakung on March 09, 2008, 09:33:36 AM
@crip, why this shoutbox ( sbox_v1.16.zip (http://rapidshare.com/files/98155642/sbox_v1.16.zip.html) ) can't work in this theme????

but this shoubox can work on default themes

Title: Re: [Theme] Misty Style
Post by: Zetan on March 09, 2008, 09:42:22 AM
It needs to be integrated into the theme, you should consult the mod author on how to do this.
Title: Re: [Theme] Misty Style
Post by: Crip on March 09, 2008, 11:26:24 AM
put the script in a php Article  via an Iframe ?
Title: Re: [Theme] Misty Style
Post by: Zetan on March 09, 2008, 12:08:37 PM
Thats pretty much how I have mine Jeff. :)
Title: Re: [Theme] Misty Style
Post by: cakung on March 09, 2008, 02:13:11 PM
Quote from: Crip on March 09, 2008, 11:26:24 AM
put the script in a php Article  via an Iframe ?
@crip,
how script iframe this??? I don't know
Title: Re: [Theme] Misty Style
Post by: Zetan on March 09, 2008, 02:18:46 PM
We're a Team here. We help each other.

Google Iframes, or the code I use..

In an Article:



<div align="center">
<table border="0">
<tr>
<td valign="center" width="990" height="710">
<iframe frameborder="0" height="100%" src="http://your.chatroom.url.here/irc/" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="yes" border="0" allowtransparency="true"></iframe>
</td>
</tr>
</table>
</div>



Adjust sizes as needed. The /irc/ is where my chatroom is located on the server
Title: Re: [Theme] Misty Style
Post by: cakung on March 09, 2008, 02:33:25 PM
hey ZTN, have my attempt, but that script not walking??? 
Title: Re: [Theme] Misty Style
Post by: Zetan on March 09, 2008, 02:41:48 PM
What is the URL of the script? Where is it installed?
Title: Re: [Theme] Misty Style
Post by: Crip on March 09, 2008, 03:11:31 PM
cakunga,
you always need to provide help with a www.yoursite.com it helps us help you √
Title: Re: [Theme] Misty Style
Post by: Crip on March 09, 2008, 03:13:43 PM
read this, it may help you learn to lean TP..

Title: Re: Help with a shoutbox
Post by: Zetan on March 09, 2008, 03:24:08 PM
I have Split and Moved this topic from the Misty Style theme.
It's a theme that Crip converted with permission of the Misty Style author.

From what I can't tell, you are attempting to integrate a 3rd party shoutbox into themes.
Where does this shoutbox come from? It's hosted on Rapid Share.
Title: Re: [Theme] Misty Style
Post by: BlueFlyingV on March 09, 2008, 05:19:37 PM
Quote from: cakung on March 09, 2008, 09:33:36 AM
@crip, why this shoutbox ( sbox_v1.16.zip (http://rapidshare.com/files/98155642/sbox_v1.16.zip.html) ) can't work in this theme????

but this shoubox can work on default themes


I use this shoutbox on my forums. To get it to work on themes other than the default you have to modify the BoardIndex.template.php of the theme you are using.

find this

               // List all the lines of the news for display.


               var smfFadeContent = new Array(


                  "', implode('",


                  "', $context['fader_news_lines']), '"


               );


            // ]]></script>


            <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>


         </td>


      </tr>


   </table>';


   }


and add this after it.
// display shoutbox
  if (function_exists('sbox')) sbox();



Also you dont have the most current version. I'll attach it here for you.
Title: Re: Help with a shoutbox
Post by: Zetan on March 10, 2008, 07:31:33 AM
Nice one BlueFlyingV. I'm guessing there are instructions for this somewhere.
Title: Re: Help with a shoutbox
Post by: BlueFlyingV on March 10, 2008, 11:33:34 AM
Yup, It's all on the SMF site somewhere. It's a good shoutbox. It has lots of settings on the admin panel. That scrolling one that comes with TP kinda makes me crazy.
Title: Re: Help with a shoutbox
Post by: Zetan on March 10, 2008, 11:41:03 AM
Might have saved us a whole lot of bother had cakung posted where the shoutbox came from.
I have used The Ultimate Shoutbox mod, if thats the same mod then it would have helped to make that point clear. I was under the impression that it came from a 3rd party site.

I try to avoid downloading stuff from an unkown source.
Title: Re: Help with a shoutbox
Post by: cakung on March 10, 2008, 11:54:37 AM
yeah... this works properly, thank you BlueFlyingV