• Resolved YOUAREtehSCENE

    (@youaretehscene)


    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 - https://www.shoutmix.com --><iframe title="nighttimescene" src="https://www.shoutmix.com/?nighttimescene" width="100%" height="460" frameborder="0" scrolling="auto"><a href="https://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

    https://www.shoutmix.com/main/set_integrate.php

    please check it out.

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

    <?php function shoutmixnightimescene($user_identity = ”) {
    return htmlspecialchars(
    ‘&name=’.rawurlencode($user_identity)
    .’&code=’.md5($user_identity.’7f7ebe7421′));
    }
    ?>

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

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

    ‘return htmlspecialchars(
    ‘&name=’.rawurlencode($user_identity)
    .’&code=’.md5($user_identity.’7f7ebe7421′));
    }
    ?>’

    howcome?

    I did leave this code in the index.php file

    <?php  function shoutmixnightimescene($user_identity = '') {
    	return htmlspecialchars(
    		'&name='.rawurlencode($user_identity)
    		.'&code='.md5($user_identity.'7f7ebe7421'));
    }
    ?>

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

    please help

    https://www.ads-software.com/plugins/wp-slide-out-tab/

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

    (@catapult)

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

    Thread Starter YOUAREtehSCENE

    (@youaretehscene)

    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.