Slide Out Tab
[resolved] PHP in Content Box? (4 posts)

    Posted 1 year ago #

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

    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 shoutmix.com the code they give me.

    <!-- Begin ShoutMix - http://www.shoutmix.com --><iframe title="nighttimescene" src="http://www.shoutmix.com/?nighttimescene" width="100%" height="460" frameborder="0" scrolling="auto"><a href="http://www.shoutmix.com/?nighttimescene">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="http://www.shoutmix.com/?nighttimescene<?=shoutmixnightimescene($user_identity);?>" width="170" 
    height="555" frameborder="0" scrolling="auto"> allowtransparency="true"
    <a href="http://www.shoutmix.com/?nighttimescene<?=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


  2. Catapult
    Plugin Author

    Posted 1 year ago #

    Hi - unfortunately the plugin doesn't support php in the content area.

    Posted 1 year ago #

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

  4. dr_tracker
    Posted 12 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slide Out Tab
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.