News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

cbox integration

Started by eja8170, September 15, 2016, 12:32:54 AM

Previous topic - Next topic

eja8170

I know that I've seen there's an issue with cbox integration with membership login features. I heard that you can actually use their method for inserting the html of a cbox and modifying slightly. The only issue is there is a field for specifying where "a name as retrieved from your userbase" in that method. needs to be placed. I was wondering if anyone knew what this would be? This may work as a way around the trouble people experience?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Dhayzon

include('SSI.php');

global  $memberContext, $user_info, $context;
$userID = $user_info['id'];
loadMemberData($userID);
loadMemberContext($userID);//
$avatarimg = $memberContext[$userID]['avatar']['href'];
$user_url = $memberContext[$userID]['href'];
$username_1 = $context['user']['name'];  //$username = $user_info['name']; //mod 1




md5 = xxxxxxxxxxxxxxxxxx;
cboxiD = yyyyyyyyyyyyyyyyy;

echo'

          <iframe frameborder="0"   height="330" width="100%" src="http://www7.cbox.ws/box/?boxid=yyyyyyyy&amp;boxtag=5nd9p8&amp;sec=main" marginheight="0" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain7-yyyyyyyy"  id="cboxmain7-yyyyyyyyyyyyyy">
          </iframe><iframe class="chat-height" frameborder="0"   height="80px" width="100%" src="http://www7.cbox.ws/box/?boxid=yyyyyyyyyyyyy&amp;boxtag=5nd9p8&amp;sec=form&nme='.urlencode($username).'&nmekey='.md5('xxxxxxxxx'.$username).'&pic='.urlencode($avtar_pic).'&lnk='.urlencode($user_url).'&ekey='.md5("xxxxxxxxxxx".chr(9).$avtar_pic.chr(9).$user_url).'" marginheight="2" marginwidth="0" scrolling="no" allowtransparency="yes" name="cboxform7-yyyyyyyyyyy"  id="cboxform7-yyyyyyyyyyyy">
          </iframe>
         ';


work 
http://dhayzon.com/


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

eja8170

#4
I copied the code into my site on a SimplePortal page and specified the XXXXX and YYYY that were specified in the code above but am getting a code saying : "You do not have permission to post on this Cbox. The Cbox may be misconfigured."

eja8170

Anyone know anything that works??

Advertisement: