WordPress.org

Ready to get started?Download WordPress

Forums

Is there a modified Cbox code for wordpress that automatically use your Username (3 posts)

  1. llinocoe
    Member
    Posted 5 years ago #

    Is there a modified Cbox code for wordpress that automatically use your Username as Name in cbox

  2. odiggy
    Member
    Posted 4 years ago #

    If so I'd love to know as well!

  3. odiggy
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags