TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 83
  • Total: 83

Help with a shoutbox

Started by cakung, March 09, 2008, 07:52:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cakung

hey ZTN, have my attempt, but that script not walking??? 

Zetan

What is the URL of the script? Where is it installed?

Crip

cakunga,
you always need to provide help with a www.yoursite.com it helps us help you √
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Zetan

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.

BlueFlyingV

#15
Quote from: cakung on March 09, 2008, 09:33:36 AM
@crip, why this shoutbox ( sbox_v1.16.zip ) 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.

Zetan

Nice one BlueFlyingV. I'm guessing there are instructions for this somewhere.

BlueFlyingV

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.

Zetan

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.

cakung

yeah... this works properly, thank you BlueFlyingV


This website is proudly hosted on Crocweb Cloud Website Hosting.