vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

Jafo232 03-09-2007 01:08 AM

Quote:

Originally Posted by jesusdlg (Post 1199172)
Hello Jafo, everyboy!

1st of all thank you for this plugin. I'll like to install the plguin but i'?ve a few questions before, hope you can help me.

Currently I've a vb forum with lots of people in there so I'm planning to make this install just to permit the vb users to post comments on my new wp install. I dont want to have the forum as the post area for my wp, i just want to share users between system. Can I do this?

Now regarding the admin, once I install this plugin, should I be able to login on the wp-admin? As I want to install some other plugins in order to perform certain tasks on my wp.

Thanks in advance for your help and your effort to create this plugin.

Jesus

You can still access the WP control panel if that is your question. The plugin can be used to share users.

Jafo232 03-09-2007 01:11 AM

Quote:

Originally Posted by Greg-J (Post 1199085)
If you figure it out, let me know because I currently don't have a clue on how this is suppose to work.

To me it would make more sense to allow them to simply log in with their vbulletin credentials on either vbulletin or wordpress. While it may make sense to a developer to have it the way it is now, it makes a lot less sense to an end user.

Unfortunately, it really isn't possible. The password data isn't open to the script. It is md5 hashed which cannot be decrypted. Therefore you have to use one login method or the other and then that means you have to use one user database or the other.

Please re-read the readme exactly and do not skip any part to make sure you set everything correctly especially in the vbridge options...

Jafo232 03-09-2007 01:54 AM

capncapo, I am replying here because this could be what another user is doing wrong too.

Logged into your install and checked your usergroup mappings. There was no mapping for registered user. When I mapped registered users to "Contributer" then the user would port over. Remember, these groups refer to the PRIMARY user group, not secondary.

The VB username you set up for me to test was a registered user (in the registered user usergroup), therefore since he was not mapped, he did not bridge. Usergroups that are not mapped will not be bridged to WP.

It appears to be working fine for me.

You will notice the login link is still there because your template (sidebar.php) uses the wp_loginout() function, where it would probably be better not using it. Something along the lines of:

Code:

<?php
if ($vbulletin->userinfo[userid] > 0) { echo "Logout"; } else { echo "Login"; }
?>

Would be better.

limey 03-09-2007 02:31 PM

So this plugin shares users between blog and forums.

So vbulletin users can now post on the wordpress portion with this? assuming permissions allow it.

Also, does this plugin also do the same thing as your other vb comments plugin?

Jafo232 03-09-2007 02:37 PM

Quote:

Originally Posted by limey (Post 1199542)
So this plugin shares users between blog and forums.

So vbulletin users can now post on the wordpress portion with this? assuming permissions allow it.

Also, does this plugin also do the same thing as your other vb comments plugin?

Yes, you can define what VB usergroups can write new posts in WP.

And yes, you can use this to replace the WP comment method and use VB for comments.

limey 03-09-2007 03:00 PM

I'm getting errors with the comment portion of the plugin:

Fatal error: comment_handler() [function.require]: Failed opening required '/includes/class_bbcode.php'.....

I've tried going back to the old comment plugin where you hardcode the forum url in vbbridge but its doesn't work either.
ie

Warning: comment_handler(/includes/class_bbcode.php) [function.comment-handler]: failed to open stream: No such file or directory in /home/mysite/www/wp-content/plugins/vbbridge.php on line 322

Fatal error: comment_handler() [function.require]: Failed opening required '/includes/class_bbcode.php' (include_path='.:/usr/share/pear') in /home/mysite/www/wp-content/plugins/vbbridge.php on line 322

Jafo232 03-09-2007 03:27 PM

What did you hardcode in for the forum PATH?

limey 03-09-2007 03:41 PM

well hardcoding the forum path is not the problem, I've done everything exactly as the readme says and it doesn't work.

I've tried hardcoding the forum path here:
require_once($vwd . '/includes/class_bbcode.php');

and that brings up the error related to hook system; my hook system on the forum is on.

When I try hardcoding the URL here:
chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH'));
//chdir('/home/mysite/www/forums');

I've tried both ways, still error shows.

The error is occurring because of this part of the code:
<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>

The comments code does not cause any error as I have that loaded right now without the vbridge call.

Jafo232 03-09-2007 05:40 PM

Do you have integration set to on?

limey 03-09-2007 05:58 PM

Ok I didn't have integration turned on. That makes the call work, but comments don't show up.
I didn't realize that was a must.

ie the link "comments" on the single.php file. I'm only working on the single.php right now.

Also, kind of important:
"Sorry, that file cannot be edited." Now when I try to edit the themes.


All times are GMT. The time now is 08:02 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.01976 seconds
  • Memory Usage 1,747KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete