WordPress.org

Support

Support » Miscellaneous » Is there a modified Cbox code for wordpress that automatically use your Username

Is there a modified Cbox code for wordpress that automatically use your Username

Viewing 2 replies - 1 through 2 (of 2 total)
  • If so I’d love to know as well!

    Here’s the code in which was given to me by the cbox admin:

    <?php global $user_ID, $user_identity ?>
    
    <?php if ( $user_ID ) : ?>
    <!-- BEGIN CBOX - www.cbox.ws - v001 -->
    <div id="cboxdiv" style="text-align: center; line-height: 0">
    <div><iframe frameborder="0" width="300" height="200" src="http://www.cbox.ws/box/?boxid=xxxx&boxtag=xxxx&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#ababab 1px solid;" id="cboxmain"></iframe></div>
    <div><iframe frameborder="0" width="300" height="100" src="http://www.cbox.ws/box/?boxid=xxxx&boxtag=xxxx&sec=form&nme=<?php echo urlencode($user_identity);?>&nmekey=<?php echo md5('--unique Private Key--'.$user_identity)?>" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#ababab 1px solid;border-top:0px" id="cboxform"></iframe></div>
    </div>
    <!-- END CBOX -->
    <?php endif;  ?>

    You will then need to enable Integration.

    Fill in –unique Private Key– with your unique Private key.
    Fill in boxid=xxxx & boxtag=xxxx with your specific id numbers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a modified Cbox code for wordpress that automatically use your Username’ is closed to new replies.
Skip to toolbar