SMF shoutbox

Started by TeeSee64, February 24, 2013, 01:34:18 PM

« Duda SEO Pro Mod | Using advanced editor in a page outside of SMF root »

0 Members and 1 Guest are viewing this topic.

Hi,

I have a question. Im using youre SMF shoutbox script version 1.0.4.

Now I want to place the shoutbox on my SimplePortal index page but i dont know how to get the shoutbox on that page. The shoutbox is now on the forum index and i dont wat it there.

Is it possible to add the shoutbox to the SimplePortal index?

I think i have to fill something in the settings 'Pages where Shoutbox will be printed'

Can you please give me a hint?


Thanks in advance!


Grt,
Theo
  • Like
    Dislike
    Love
    HaHa
    Angry
    Sad
    Party


#2
Thnx for the reply.

I get this error:

Fatal error: Call to undefined function template_shoutbox() in public_html/forum/Sources/PortalBlocks.php(3561) : eval()'d code on line 1


Grt,
Theo
  • Like
    Dislike
    Love
    HaHa
    Angry
    Sad
    Party

You must load the shoutbox everywhere, a require once should do it.
  • Like
    Dislike
    Love
    HaHa
    Angry
    Sad
    Party

#4
Finaly i have succeeded!


I just copy and paste the sourcecode from my forum index page where the shout was into a html block.
( just the part where the shoutbox script is coded) It begins with the javascript tags and it ends just before the
<table id="sp_main"> part.

Maybe not the perfect way to do it, but it works now!




Thnx for the support and I realy like the shoutbox script!!!




Grt,
Theo


Share via delicious Share via digg Share via facebook Share via linkedin Share via pinterest Share via reddit Share via stumble Share via tumblr Share via twitter Share via whatsapp