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-08-2007 03:03 PM

Could be a problem with the subdomains as discussed before in this thread. It gets a bit tricky with the cookies and sessions. It is quite possible that is may not work for you with subdomains.

capncapo 03-08-2007 04:43 PM

I am having trouble with this. I have vb 3.6.4 and WP 2.1.2 I have installed everything and I can make a test post. But when I try to login, like others it takes me to the forums. If I go to the wp-login.php it does the same takes me to the forum. If I go to my site and where I have wp installed I am not logged in even tho I am logged in via VB. I have followed the instructions to the letter and mapped the users.

Jafo232 03-08-2007 05:27 PM

Are you using subdomains? Did you try checking the "Remember Me" box?

Greg-J 03-08-2007 05:54 PM

Quote:

Originally Posted by Jafo232 (Post 1198516)
When you install this plugin, you no longer login via the wp login, only via the forum. If you find yourself locked out (i.e., you didn't map the usergroups), just rename the plugin and that will deactivate it.

I mapped the usergroups, but when I log out of wordpress it takes me to the forums with the message that I didn't log out properly and a link to log out. I click that link, am logged out, and then log back in. When visiting the wordpress install I am logged out.

I have done this with both my username and another username on another computer with the same results. The wordpress install simply does not grab the login information.

Jafo232 03-08-2007 06:00 PM

Yes, as per the readme it does matter. The hack will NOT overwrite current WP users. Make sure that your VB admin username is not the same as the WP admin username.

capncapo 03-08-2007 06:10 PM

Quote:

Originally Posted by Jafo232 (Post 1198951)
Are you using subdomains? Did you try checking the "Remember Me" box?

No subdomains.

My forum is at http://mydomain.com/forums The World Press is at http://mydomain.com/wp

I have checked the Remember Me box and it is still not working, so I am not sure what the problem is.

Greg-J 03-08-2007 06:29 PM

Quote:

Originally Posted by Jafo232 (Post 1198966)
Yes, as per the readme it does matter. The hack will NOT overwrite current WP users. Make sure that your VB admin username is not the same as the WP admin username.

I tried it with another username on a different PC with the exact same effect. Logged into the forum, clicked a link from the forum to the blog and all I get is the Login link with redirects me to the forum homepage.

capncapo 03-08-2007 08:11 PM

Quote:

Originally Posted by Greg-J (Post 1199005)
I tried it with another username on a different PC with the exact same effect. Logged into the forum, clicked a link from the forum to the blog and all I get is the Login link with redirects me to the forum homepage.

This is the same problem that I am having.

Greg-J 03-08-2007 08:16 PM

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.

jesusdlg 03-08-2007 10:26 PM

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

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.

Jafo232 03-09-2007 06:03 PM

You lost me?

limey 03-09-2007 06:13 PM

Is there a way this will work without having auto integrate turned on? the comments feature is all im really interested in.

When I turn "auto integrate on"
I can't edit themes, and one of my editors can't login to the admin section.

Jafo232 03-09-2007 06:29 PM

You can't edit themes because you haven't mapped users. You need to map the users first.

Auto-integrate needs to be on for it to work.

jesusdlg 03-09-2007 06:45 PM

Quote:

Originally Posted by Jafo232 (Post 1199254)
You can still access the WP control panel if that is your question. The plugin can be used to share users.

Hello Jafo, thanks for your answer.

Here its basically what I want to do with the bridge integration.

I currently have more than 1000 users register on my vb, so 1st, I want to offer to my current vb users access to the wordpress comment system without having to register again into wordpress.

2nd. I want my new users to just fill one registration and then they will have access to the forum and to the wordpress.

3rd. I want to use the forum as a forum and the comments on my wordpress will need to be used as any wp installation. I mean, I dont want to use my forum as a comment system for wordpress. Obviously, my wp-admin will need to be working normally.

Thanks for your help, I hope this will clarify what I want to do.

:up:

Jesus

Jafo232 03-09-2007 07:40 PM

Quote:

Originally Posted by jesusdlg (Post 1199686)
Hello Jafo, thanks for your answer.

Here its basically what I want to do with the bridge integration.

I currently have more than 1000 users register on my vb, so 1st, I want to offer to my current vb users access to the wordpress comment system without having to register again into wordpress.

2nd. I want my new users to just fill one registration and then they will have access to the forum and to the wordpress.

3rd. I want to use the forum as a forum and the comments on my wordpress will need to be used as any wp installation. I mean, I dont want to use my forum as a comment system for wordpress. Obviously, my wp-admin will need to be working normally.

Thanks for your help, I hope this will clarify what I want to do.

:up:

Jesus

That is exactly what this plugin does. You need not use VB for comments, that is up to you.

jesusdlg 03-09-2007 08:08 PM

Quote:

Originally Posted by Jafo232 (Post 1199721)
That is exactly what this plugin does. You need not use VB for comments, that is up to you.

Great news :)

One last thing... If i've 2 wp installs (one works as my blog) and the other one works as a restaurant review system. I know I can install the bridge and it will work just fine. My question is regarding the use of the same database. I need to create everything related to wp inside the vb database no matter how many wp installs i've... If I want to share users between the all my wp and the vb, it needs to be done inside the same db, right?

Thanks for your help!

Jesus :cool:

Jafo232 03-09-2007 08:26 PM

Yes, VB and WP must share the same database.

SaN-DeeP 03-09-2007 08:39 PM

does 1 vb and multiple wp installation/integrations supported by this modification ?

jesusdlg 03-09-2007 08:40 PM

Quote:

Originally Posted by Jafo232 (Post 1199748)
Yes, VB and WP must share the same database.

Thank you.

jesusdlg 03-09-2007 10:03 PM

Hi Jafo

Im having trouble to login as admin from a second computer i've here. Intresting.... I'm logged in on my main computer as an admin (Mac), now i'm trying to see my wp admin from my winxp computer but when I type the url /wp-admin/ it sent me to the main forums page.. any ideas?

Cookies perhaps?

Thanks in advance.

Jesus

limey 03-09-2007 10:35 PM

Can't edit my themes still. Mapped administrators to administrators.

jesusdlg 03-09-2007 10:55 PM

While I was doing tests and before mapped my administrators to administrators. I press the sign off link, and now I cant log in to my wp-admin on any computer I've, it gives me the forum main page :(

Any ideas?

Thanks for the help and support

jesusdlg 03-09-2007 11:09 PM

ok, i think i got it :)

Here its what I did...

1st of all.. I deleted the bridge plugin from my plugin folder, so that way I gain access to my admin area again :)

Once I was logged in, I upload the bridge plugin again and then I mapped the admins in both systems (I was sure that I didnt have the same username as admin on my 2 programs).

Once I mapped this users then I sign off from my admin and I login on my main forums page as admin and once I was inside my forums, I was able to gain access to my wp-admin :)

Sorry for the confussion but I didnt know exactly how this worked, it seems to me like a great plugin :)

Jesus

jesusdlg 03-09-2007 11:27 PM

Quote:

Originally Posted by jesusdlg (Post 1199850)
ok, i think i got it :)

Here its what I did...

1st of all.. I deleted the bridge plugin from my plugin folder, so that way I gain access to my admin area again :)

Once I was logged in, I upload the bridge plugin again and then I mapped the admins in both systems (I was sure that I didnt have the same username as admin on my 2 programs).

Once I mapped this users then I sign off from my admin and I login on my main forums page as admin and once I was inside my forums, I was able to gain access to my wp-admin :)

Sorry for the confussion but I didnt know exactly how this worked, it seems to me like a great plugin :)

Jesus


:(

Not at all.. Im inside my wp-admin panel, but now I dont have access to my forum admin panel, any ideas with this issue?

Thanks for any help!

Jesus

Husky Hog 03-09-2007 11:55 PM

When I enable auto-integrate users my home page crashes, it says

You have searched the Arrogntics weblog archives for '<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>'. If you are unable to find anything in these search results, you can try one of these links.

I didn't search anything - any ideas?

jesusdlg 03-10-2007 01:29 AM

It was a cookie problem. I installed a file called tools.php (this thread help me) and that did the trick for me :)

Now finally seems its working, i'll be doing tests tonight :)

Jesus

Jafo232 03-10-2007 04:42 PM

Quote:

Originally Posted by SaN-DeeP (Post 1199756)
does 1 vb and multiple wp installation/integrations supported by this modification ?

This only supports a 1 on 1 install. In otherwords, one version of VB and one version of WP. It does not support wordpress MU.

Jafo232 03-10-2007 04:43 PM

Quote:

Originally Posted by Husky Hog (Post 1199877)
When I enable auto-integrate users my home page crashes, it says

You have searched the Arrogntics weblog archives for '<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>'. If you are unable to find anything in these search results, you can try one of these links.


I didn't search anything - any ideas?

I have no idea. Sounds like a template issue. Have you tried temporarily using another template to see if it does the same thing?

Jafo232 03-10-2007 04:44 PM

Quote:

Originally Posted by limey (Post 1199829)
Can't edit my themes still. Mapped administrators to administrators.

What version of Wordpress are you using?

Husky Hog 03-10-2007 05:46 PM

Quote:

Originally Posted by Jafo232 (Post 1200304)
I have no idea. Sounds like a template issue. Have you tried temporarily using another template to see if it does the same thing?

Yes, I am using the default templete for wordpress

I am using the most recent versions of wordpress and vbulletin, both are new installs

the site is arrogantics.com if you want to see the error

I appreciate any help you can give me - i've ben searching my web site by hand, I don't know how to search all the code - but it looks like the error itself is a typo, it says "thead" maybe instead of "thread"

Does the mod ever define to the variable s? becuase if you go to index.php?s=<<SEARCH>> that's what the search box does, and I think somehow when I turn on autointegrate it grabs a variable S and defines it


All times are GMT. The time now is 09:35 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.01695 seconds
  • Memory Usage 1,848KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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