Support » Plugin: Slide Out Tab » PHP in Content Box?

  • Resolved YOUAREtehSCENE


    Hello my name is Dave. I run a website of course. now. I have a subscib to

    With the website and the chatbox. I’ve intergrated it to run my users log into the site. it will actually use their username for the chatbox, so they can’t change it and be someone else. Which is a huge problem for other websites. Now. is their a way to interegrate php into the content box?

    Cause. the only way to run the chatbox right is to copy and paste from the code they give me.

    <!-- Begin ShoutMix - --><iframe title="nighttimescene" src="" width="100%" height="460" frameborder="0" scrolling="auto"><a href="">View shoutbox</a></iframe><!-- End ShoutMix -->

    That code above is what I have in the content box. and users are able to change there name which i don’t want.

    This is their intergration code

    please check it out.

    if, I add this to the content box it won’t work

    <?php function shoutmixnightimescene($user_identity = ”) {
    return htmlspecialchars(

    <?php if ( $user_ID ) : ?>
    <iframe title="nighttimescene" src="<?=shoutmixnightimescene($user_identity);?>" width="170" 
    height="555" frameborder="0" scrolling="auto"> allowtransparency="true"
    <a href="<?=shoutmixnightimescene($user_identity);?>">View shoutbox</a>
    <?php endif;  ?>

    When I go to the main page i click the sliding tool and it will read

    ‘return htmlspecialchars(


    I did leave this code in the index.php file

    <?php  function shoutmixnightimescene($user_identity = '') {
    	return htmlspecialchars(

    To, see if it would make the chatbox work nope it didnt.

    please help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Catapult


    Hi – unfortunately the plugin doesn’t support php in the content area.

    Anyone to get that in there in next release/ update that would help big time.

    Hi guys, while this plugin doesn’t support PHP I was able to insert some code using the “PHP Code for Posts” plugin. I inserted a contact form in the tab and wanted it to be multilanguage, with the PHP plugin I was able to check the language selected on the page and insert the contact form accordingly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP in Content Box?’ is closed to new replies.