vb.org Archive

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

echamberlain 08-01-2008 10:12 PM

Hi,

The wordpress blog posts appear in vBulletin, but the html markup appears in the vbulletin post text. Is there a way to convert the html to bbcode during post creation?

alan-kun 08-02-2008 07:53 PM

Quote:

Originally Posted by coltz-one (Post 1588525)
I can get it to find global.php, but when I go to make a new post I just get a blank screen. Does it have to do with the fact I'm using vBSEO?

The same thing happened to me, what I did is just replace the vbridge.php file with a new copy (downloaded the zip again) and it worked, it sopped showing blank pages. I'm using WP 2.6 and vBSEO as well.

alan-kun 08-02-2008 07:57 PM

Quote:

Originally Posted by echamberlain (Post 1589525)
Hi,

The wordpress blog posts appear in vBulletin, but the html markup appears in the vbulletin post text. Is there a way to convert the html to bbcode during post creation?

In my case, the HTML is automatically converted to bbcode, you can see some calls to the function convert_wysiwyg_html_to_bbcode inside vbridge.php so it's supposed to convert your posts wthout doing anything else. If that doesn't work, you can activate HTML on your forum and if you're concerned about security issues, use this hack, it's intended to allow HTML code to specific usergroups and works with VB 3.7.2

Hope that helps.

echamberlain 08-02-2008 10:25 PM

Quote:

Originally Posted by alan-kun (Post 1590113)
In my case, the HTML is automatically converted to bbcode, you can see some calls to the function convert_wysiwyg_html_to_bbcode inside vbridge.php so it's supposed to convert your posts wthout doing anything else. If that doesn't work, you can activate HTML on your forum and if you're concerned about security issues, use this hack, it's intended to allow HTML code to specific usergroups and works with VB 3.7.2

Hope that helps.

The conversion functions are only called when the post truncation is enabled. My temporary workaround is to set a 10000 character truncation size.

guvner 08-03-2008 12:01 AM

Quote:

Originally Posted by trigatch4 (Post 1552165)
Alright folks, I had to freaking HIRE someone to look at the code and it was an EASY fix:

Basically all of the:
-------------------------------------------
$link = get_permalink(somethinghere, true);
-------------------------------------------

SHOULD NOT have that second parameter... "true" and should look like this:
-------------------------------------------
$link = get_permalink(somethinghere);
-------------------------------------------

This was changed 4 times and it fixed all the problems. Why Jafo refused to acknowledge me? I have no clue. Did he know the answer and simply refuse to tell me? Not sure. Why didn't others have this problem?.

I had exactly the same problem and was unable to solve it locally.

I came here a few minutes ago and saw your post, implemented your suggested fix to vbbridge.php and voila - problem gone.

Thanks very much for sharing your solution! :up:

Mike :)

DefiniteBlue 08-06-2008 12:25 AM

I had an issue with one of the requirements that limits this mod to be installed on the same subdomain. Luckily, I found a quick-fix solution around the issue:

Quote:

Wordpress and Vbulletin must use the same domain name.
I setup a blog located at vend123.com/blog but the forums are located at forums.vend123.com. There is an issue with this regarding the domain and that's only because of the vBulletin cookie. The issue is this script needs to access that cookie, but that cookie is registered at forums.vend123.com, which means anything on vend123.com won't be able to access it. To resolve the issue, the cookie needed to be set to .vend123.com (i.e. cross domain cookie). This can be configured within vBulletin's options by going to AdminCP->vBulletin Options->Cookies and HTTP Header Options under Cookie Domain. From the "Suggested Settings" drop-down, select .yourdomain.com. This should solve the problem!

EDIT: Make sure you clear your vBulletin cookie after performing this (just log-out and log back in).

Mors32 08-06-2008 12:43 AM

Solved both my problems after further investigation. So far so good on 3.7.2 with wordpress 2.6.

Mors32 08-06-2008 02:45 PM

Quote:

Originally Posted by ForgotenDynasty (Post 1582718)
well ive finally got it to work
however ive run in to a new problem
overtime i try to login to my word-press CP it redirects me to my forums
how can i fix this

I've been seeing this issue as well, if I attempt to login to wp-admin first, it redirects to the forums main site. However, if I login to the forums with an admin account, then go back to WP and try wp-admin again, it will work normally.

ForgotenDynasty 08-07-2008 05:58 PM

im dieing for someone to release a way to get avatars from the forums and post them next to the comments any one have any idea

and how to login in on the blog instead of needing to be redircted to the forums

EvilChicken 08-07-2008 07:24 PM

Quote:

Originally Posted by ForgotenDynasty (Post 1593612)
im dieing for someone to release a way to get avatars from the forums and post them next to the comments any one have any idea

Wow man, I worked with trying to solve this problem all day yesterday and I got no where. http://TripleChat.com/ is my website and it uses this mod just perfect now but they one thing I really liked before this mod on wordpress was that avatars...now there are non and I want to find a way to load them.

I was trying to find a way to use the bridge to pull it but i couldn't find a way. I know there should be a way but I just dont have the complete knowlage of php to figure it out.

So I too would like to figure out a way to pull uses Avatars from the forums to the blog.


All times are GMT. The time now is 09:33 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.01352 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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