vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   CBox integration (https://vborg.vbsupport.ru/showthread.php?t=267822)

NickPauwels 08-02-2011 09:47 AM

CBox integration
 
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.

Code:

$cbox_nme = urlencode($vbulletin->userinfo['username']);
$cbox_key = md5('a8jifka4djgkaeci' . $vbulletin->userinfo['username']);


kh99 08-02-2011 03:34 PM

What's the error, and what hook are you using for the plugin?

NickPauwels 08-03-2011 01:18 AM

Quote:

Originally Posted by kh99 (Post 2228207)
What's the error, and what hook are you using for the plugin?

forumhome_complete

When trying to post, the cbox returns:
Quote:

Posting failed. You do not have permission to post on this Cbox. The Cbox may be misconfigured.
Their instructions:

Quote:

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

kh99 08-03-2011 12:50 PM

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.


All times are GMT. The time now is 05:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01058 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete