Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2011, 09:47 AM
NickPauwels NickPauwels is offline
 
Join Date: Feb 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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']);
Reply With Quote
  #2  
Old 08-02-2011, 03:34 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the error, and what hook are you using for the plugin?
Reply With Quote
  #3  
Old 08-03-2011, 01:18 AM
NickPauwels NickPauwels is offline
 
Join Date: Feb 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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
Reply With Quote
  #4  
Old 08-03-2011, 12:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #5  
Old 09-09-2011, 02:43 AM
ehoffman73 ehoffman73 is offline
 
Join Date: Oct 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haven't got much support from them. this sucks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:34 PM.


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.03720 seconds
  • Memory Usage 2,200KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete