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)

Kalina 01-08-2007 08:10 AM

Quote:

Originally Posted by Misuzu (Post 1153184)
So would this plugin not work if your forum and wordpress were on different subdomains?

Say your WP is on http://domain.com and your vB was on http://forums.domain.com.

I am using subdomains and it works, but I am having trouble getting it to add users.

daystorm 01-08-2007 09:48 AM

I am using the new wordpress and vb 3.6.4...

Quote:

Originally Posted by Jafo232 (Post 1148147)
What version of WP and VB are you using?


Jafo232 01-08-2007 11:42 AM

Make sure you have the latest version of this mod, 2.03.

Kyraal 01-08-2007 02:00 PM

Quote:

Originally Posted by Jafo232 (Post 1151349)
When you edit a WP post, it will automatically be edited in the forum.

Would it be possible to have it also edit the thread title in the forum? As it is now I have to go in and manually change it after having e.g. corrected a typo in, or changed the WP post title completely.

Jafo232 01-08-2007 03:56 PM

Quote:

Originally Posted by Kyraal (Post 1153636)
Would it be possible to have it also edit the thread title in the forum? As it is now I have to go in and manually change it after having e.g. corrected a typo in, or changed the WP post title completely.

Yes, I could probably do that. When I get a chance this week, I will look into it.

Kyraal 01-08-2007 05:13 PM

Quote:

Originally Posted by Jafo232 (Post 1153726)
Yes, I could probably do that. When I get a chance this week, I will look into it.

Thank you, that would be extremely useful. Sent a little donation as encouragement to keep supporting this really useful mod. Emphasis on "little", as I'm a bit low on cash now after the holidays ;)

Jafo232 01-08-2007 05:34 PM

Quote:

Originally Posted by Kyraal (Post 1153802)
Thank you, that would be extremely useful. Sent a little donation as encouragement to keep supporting this really useful mod. Emphasis on "little", as I'm a bit low on cash now after the holidays ;)

Thanks for the donation, I appreciate it!

I modified it today so that titles should also change the title when you edit a post. I tested it quite a bit and it appears to be working just fine. Let me know if you have any issues.

To upgrade, just replace the old version with the new version. DO NOT deactivate!

shri 01-09-2007 08:19 AM

I've set the users map up as follows

VB Admins - WP Admins
VB Moderators - WP Editor
VB Registered Users - WP Authors

Unfortunately, the admins get added in the default group, which is a subscriber.

Some initial code review leads me to this line in /wp-includes/registration_functions.php

Code:

        if ( !$update ) {
                $user = new WP_User($user_id);
                $user->set_role(get_settings('default_role'));
        }

I can then see some attempts to change the capabilities in the vbbridge.php file

But I still end up with everyone being setup as a subscriber - ( a:1:{s:10:"subscriber";b:1;} )

Any clues on what I might be doing wrong or overlooking?

Great mod, drop me a note if you want to do a Wordpress MU version of this, would be happy to help with the $s.

Jafo232 01-09-2007 11:57 AM

Quote:

Originally Posted by shri (Post 1154403)
I've set the users map up as follows

VB Admins - WP Admins
VB Moderators - WP Editor
VB Registered Users - WP Authors

Unfortunately, the admins get added in the default group, which is a subscriber.

What is your admins primary usergroup in VB?

shri 01-09-2007 01:26 PM

Administrators in both cases.

Code:

mysql> select usergroupid, title from main_vb_usergroup where usergroupid>'4';
+-------------+------------------+
| usergroupid | title            |
+-------------+------------------+
|          5 | Super Moderators |
|          6 | Administrators  |
|          7 | Moderators      |
+-------------+------------------+
3 rows in set (0.00 sec)

Code:

mysql> select option_name, option_value from main_wp_options where option_name like 'vbb%';
+----------------+--------------------------+
| option_name    | option_value            |
+----------------+--------------------------+
| vbb_action    | update_vbridge_settings  |
| vbb_VBFID      | 23                      |
| vbb_VBION      | 1                        |
| vbb_VBPRX      | main_vb_                |
| vbb_VBRPATH    | /forums                  |
| vbb_vbugroup_2 | Author                  |
| vbb_vbugroup_5 | Administrator            |
| vbb_vbugroup_6 | Administrator            |
| vbb_vbugroup_7 | Administrator            |
| vbb_VBURL      | http://forums.domain.com |
| vbb_VBUSERID  | 5                        |
| vbb_VBUSERNAME | Valid User                    |
+----------------+--------------------------+
12 rows in set (0.00 sec)



All times are GMT. The time now is 03:59 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.01905 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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