View Full Version : CBox integration
NickPauwels
08-02-2011, 09:47 AM
Hi,
I have a cbox premium on my forum and tried to integrate it with the forum.
this plugin code is supposed to make the cbox use the registered members username as the username for the name field.
It is returning an error however.
This is the code I am supposed to install.
$cbox_nme = urlencode($vbulletin->userinfo['username']);
$cbox_key = md5('a8jifka4djgkaeci' . $vbulletin->userinfo['username']);
What's the error, and what hook are you using for the plugin?
NickPauwels
08-03-2011, 01:18 AM
What's the error, and what hook are you using for the plugin?
forumhome_complete
When trying to post, the cbox returns:
Posting failed. You do not have permission to post on this Cbox. The Cbox may be misconfigured.
Their instructions:
Log in to your vBulletin Admin Control Panel.
Choose Plugins & Products -> Add New Plugin from the menu.
Create a new plugin at 'forumhome_complete' and insert this code:
$cbox_nme = urlencode($vbulletin->userinfo['username']);
$cbox_key = md5('a8jifka4djgkaeci' . $vbulletin->userinfo['username']);
Save.
Locate your Cbox HTML code in your forum template.
In your Cbox HTML code, find: sec=form and immediately after, paste:
&nme=$cbox_nme&nmekey=$cbox_key
Save.
And finally, click Enable lower down on this page to turn user integration on.
I have their chatbox code added to a sidebar on my forum
Oh, I see...I don't see anything wrong with what you did, but I don't know anything about cbox. Did you choose "Yes" to enable the plugin before you saved it?
You really should be contacting them for support since this area of the forum is for requesting vb modifications.
BTW, I don't know if that string of characters after md5( is unique to you or not, but if it is you probably shouldn't be posting it. (And if it isn't, maybe the problem is that you should be using your own code? I don't know).
ehoffman73
09-09-2011, 02:43 AM
haven't got much support from them. this sucks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.