vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

peleh 06-22-2009 07:17 PM

Quote:

Originally Posted by fmckinnon (Post 1834991)
OK - I'm thinking this may not work out - we're using the Role Manager plugin, and multiple contributors (users) in WP have different roles, etc.

So ....

Let me move on to this ...

Is it possible to do this:
1) auto-post the new wordpress articles in the respective vbulletin forums
2) use vbulletin for comments

but NOT use the user-sharing bridge?

So, really - sharing users really isn't a big deal to us - as much as using vbulletin for the comments on the blog side, and for making the blogs go over into vbulletin automatically.

Thanks in advance - for now, you can totally disregard my previous questions, and just answer this one.

I guess mapping the users via bridge is only needed if you need the vb-users to post on your blog, you can try to run this mod with Auto Integration OFF, dont know how this will work for you though.

For me here, the best way of using this mod was getting rid of all WP users and authors, and mapping the new vb-authors to make blog posts, i guess this would be really hard if you already have a big wordpress site with lots of posts and contributors...

fmckinnon 06-22-2009 07:27 PM

peleh,
thanks - I'll give it a try. The reason I can't do the second thing you suggested (great idea) is because not all vbulletin users are allowed to be contributors on the blog - only a select few are. We use the "Role Management" plugin in WordPress - and those who have "contributor" privileges in WordPress can login to WordPress and submit articles; however, they go into "pending publish" so our editor can review and edit them before taking them live.

When auto-mapping is turned on, ANY vbulletin user can then post a blog (article) immediately without any moderation. (NOT a good idea) ... unless I'm misunderstanding something.

peleh 06-22-2009 09:05 PM

Quote:

Originally Posted by fmckinnon (Post 1835051)
peleh,
thanks - I'll give it a try. The reason I can't do the second thing you suggested (great idea) is because not all vbulletin users are allowed to be contributors on the blog - only a select few are. We use the "Role Management" plugin in WordPress - and those who have "contributor" privileges in WordPress can login to WordPress and submit articles; however, they go into "pending publish" so our editor can review and edit them before taking them live.

When auto-mapping is turned on, ANY vbulletin user can then post a blog (article) immediately without any moderation. (NOT a good idea) ... unless I'm misunderstanding something.

Well, you have to make a custom group inside vBulletin, and assign the users you want to that group, so you just map the custom group from vB to WP. The regular users from your forum should be mapped as registered.

For example, all my staff here are Authors, so i mapped only staff to be authors, and thats it, they have access to WP posting.

PS: When mapping, try to always select "Do not map" for groups that you do not want to map, doing this i guess you maybe prevent some mapping bugs to happen... :P

fmckinnon 06-22-2009 09:15 PM

Gotcha -
That makes sense. Well, here's what I have so far ... I turned off the auto-map, and I *DID* successfully post over to the forums via WordPress (hooray!). However, there is a good bit of HTML formatting in my WordPress post, and since my Vbulletin forum had HTML option turned OFF, it didn't render properly.

So, I deleted the thread, and changed the forum permissions to allow HTML.

I went into WordPress, saved the post as a draft/unbpublished, and then re-published it again, hoping it would re-post to the forum, but no luck.

Somehow, somewhere, either wordpress, vbulletin, or the bridge is remembering that you've already posted that wordpress post to the forums, and if you've deleted the thread from vbulletin, it won't re-add it again if you re-publish via WordPress ...

Does anyone know a work-around on that - or how can I make it repost to vbulletin again?

The bridge is working, because a NEW wordpress post works fine - and even the old ones, that are already in there, if I save as draft and then re-publish, they post to the forums .. .but if you delete the thread in vbulletin, and try it again - it won't double-post.

fmckinnon 06-22-2009 09:29 PM

UPDATE: OK, I have it working now - without mapping users.

Now, the only problem I have is this - I originally setup the vbridge settings to use my forum ID #1 "twc_admin" ... I've changed it to a new user (#2395) TheWorshipCommunity.Com and saved the changes; however, when I post new content in Wordpress, it still comes across in the forums under userID #1 (twc_admin) ...

I've verified the changes - what do I need to do so that the wordpress articles now post under the correct userID in vbulletin? Maybe disabling and re-enabling the plugin?

peleh 06-22-2009 11:16 PM

You dont have to delete the topic, just unpublish it, the topic will disappear, when you save, everything on the topic will be saved also, but i dont know how this will work if you have auto-integrate turned off.

Another thing, its unsafe to allow users to post html on vbulletim, with that, they can totally screw up the topic with html commands, like background color, and so on.

peleh 06-22-2009 11:20 PM

Quote:

Originally Posted by fmckinnon (Post 1835137)
UPDATE: OK, I have it working now - without mapping users.

Now, the only problem I have is this - I originally setup the vbridge settings to use my forum ID #1 "twc_admin" ... I've changed it to a new user (#2395) TheWorshipCommunity.Com and saved the changes; however, when I post new content in Wordpress, it still comes across in the forums under userID #1 (twc_admin) ...

I've verified the changes - what do I need to do so that the wordpress articles now post under the correct userID in vbulletin? Maybe disabling and re-enabling the plugin?

Maybe because when you are the editor, wordpress is aways overwriting the author when you post, check the bottom of the posting page, if that is your case, the solution i found for me is by removing all the author selection code inside the posting page, you can see from the partial solution on my post on the previous page of this topic.

fmckinnon 06-22-2009 11:52 PM

hey - thanks so much.

A little explanation - I was deleting the threads in vbulletin, not the actual posts in wordpress. I deleted them after doing a test post (which put a test post in the forum), etc ...

Regarding HTML - I tend to agree, which is why I had it turned OFF - however, that almost negates the purpose of the plugin posting into the forum - I can't imagine there are many wordpress posts that don't contain some HTML formatting (ie. graphics or links) ... and it really made the forum post look junky with all the HTML code in the forum post not parsing ...

Regarding the other issue - I've tried changing the authorship in wordpress (in the bottom of the write post window) to any number of various authors - regardless of what is chosen in that menu, it always posts into the forum as my userID #1 - though I've already changed that in the vbridge settings.

I'll keep trying.

REGARDING THE HTML: if it's best to keep HTML turned OFF in the forums, how then do you advise handling the HTML tags that are in the WordPress posts?

peleh 06-23-2009 12:26 AM

Hmm, on my installation here, images, text and links go just fine even with html turned off on vbulletin.

What i do here, when some code go trought and apears on the forum, like nextgen gallery, i edit the post. When i try to pass embed code, like videos, i edit with the format that vbulletin accept, wich is a link to the video.

MrFab 06-23-2009 07:11 PM

hello there !

thanks for this mod, so great... BUT i have a problem : I've done everything (I think so...) but when I turn on the integration, I can't login anymore to Wordpress. It seems Wordpress goes to the VB database (it doesn't recognize the "admin" login of WP), I log in with my VB admin login (Fab) and it redirects to a blank page (login.php), without setting any session :/

Do you know where it comes from ?

(sorry for my poor english :()


All times are GMT. The time now is 06:58 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.02055 seconds
  • Memory Usage 1,758KB
  • 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_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