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)

10ECGator 08-27-2008 01:54 AM

never mind, if you turn it off, you can delete it from the directory....will this cause any ill effects?

Jafo232 08-27-2008 02:01 AM

What will cause ill effects? Not following directions?

SLR722 08-27-2008 10:19 AM

Can avatars be linked?

ForgotenDynasty 08-30-2008 10:53 PM

Quote:

Originally Posted by SLR722 (Post 1608097)
Can avatars be linked?

I have been trying to do this for ever and i cant figure it out.
If the mod creator could look in to this it would be GREATLY appreciated.

cyberhrc 08-31-2008 01:00 PM

seems like a nice mod..tho i cant make inline comments work on my page
newsitem is posted on forum, but i got separated comments on wordpress page and forum...
in readme there's not much about inline except i have 2 read it which i did :)
also i made necessary changes into template (so now when i click post coment or read comment it transfer me on forum but when i click title of article i see wordpress comments only)
did i missed something?

dreamhost 09-01-2008 11:17 PM

Installed and working as advertised here, though I have yet to modify my template for the comments. Will get to that later.

One thing I did find though:
When clicking logout on either vb side or wordpress side, I am never logged out of the wordpress part.

I am able to login correctly through vb, and when going to wordpress page I am indeed logged in there so that part works perfectly.

How do I change the logout code on www.mysite.com/wp-login.php?action=logout to actually log me out of wordpress?

6piston 09-02-2008 08:38 AM

hi anyone,

I've used this amazing plugin for some time now with my Wordpress 2.3 till 2.5 and Vb3.6 and 3.7.2 now.

My question is, have you guys successfully used it with Wordpress 2.61?

Didzi 09-03-2008 01:40 PM

Fatal error: Class 'vBulletinHook' not found in /home/********/public_html/includes/class_bbcode.php on line 2428

define('DISABLE_HOOKS', true); ?

dreamhost 09-03-2008 06:11 PM

Ran into another issue, and I'm not sure how to attack it.
I have the mod installed and running properly.

Here's the problem:
When I make a post in wordpress, it indeed does post it to vbulletin in the forum I specify.

However:
If I have any tags in wordpress article like [caption] for the photo, or if I use inserts like [media=1] they show up perfectly in wordpress, meaning they do their job. But... in vb it simply prints out [caption] etc.... so the post looks really really bad in the vb side.

Is there a way to have wordpress send the 'parsed' code over to vb instead of what I actually type in when writing the article?

Things like the [media=1] in wordpress automatically adds the media file defined by #1 into the post and embeds it within a player. Very nice feature. In vb it shows up as [media=1] instead of the player.

I'm just not sure where to go in vb to 'teach' it the commands used in wordpress. Of course if we could just get your add-on to send 'parsed' code over to vb then I wouldn't have to worry about it at all.

any ideas?

if not...
how do I get it to not post to vb when adding an article, and just keep the registration/login bridge operational?

thank you

gersforum@gmail 09-07-2008 05:03 PM

This would have been good if I could have managed to get it installed, I did try what the initial post suggested. Too hard to install, it didn't like my paths so it can hit the road.

Uninstalled.

echamberlain 09-08-2008 04:18 PM

Quote:

Originally Posted by dreamhost (Post 1613812)
Ran into another issue, and I'm not sure how to attack it.
I have the mod installed and running properly.

Here's the problem:
When I make a post in wordpress, it indeed does post it to vbulletin in the forum I specify.

However:
If I have any tags in wordpress article like [caption] for the photo, or if I use inserts like [media=1] they show up perfectly in wordpress, meaning they do their job. But... in vb it simply prints out [caption] etc.... so the post looks really really bad in the vb side.

Is there a way to have wordpress send the 'parsed' code over to vb instead of what I actually type in when writing the article?

any ideas?

I had a similar issue, the workaround is in post 144.

irina. 09-12-2008 07:31 AM

I would like to know if there is a way to include a quick registration into the wordpress template, like when putting the information of name, email, url and comment can be used also a registration for the forums?

Or a quick registration in the comments file so it can be faster for the user to comment and everyting. I tried the quickly register on any page with Human Verification Manager but didnt know how to include it to the wordpress template in comments.php

Thanks in advance.

chriskellar 09-16-2008 07:48 PM

I have a question.

You say it needs to be on the same server, but does it need to share the same database?

Jafo232 09-23-2008 02:00 AM

No it does not..

2HostMe 09-23-2008 11:38 AM

Is there someone how can tell me how to use it with vbulletin a sub directory http:// forum. board.com and the WP in http:// www. board.com? or is this totally impossible..:erm:

Regards,
Martin

krike 09-25-2008 06:21 AM

I receive the following when I post a new story:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /var/www/vhosts/iv-designs.org/httpdocs/test/wp-content/plugins/vbbridge.php on line 86

Warning: require_once(./includes/class_dm.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/iv-designs.org/httpdocs/test/wp-content/plugins/vbbridge.php on line 92

Fatal error: require_once() [function.require]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/share/pear;') in /var/www/vhosts/iv-designs.org/httpdocs/test/wp-content/plugins/vbbridge.php on line 92


euhhh.... is it something I did wrong?

Jafo232 09-25-2008 12:18 PM

Please read the part about paths, that is the problem.

krike 09-25-2008 12:30 PM

the part where I have to hardcode the absolute path? that's what I did, it removed the problems and warnings I had. but now when I post a new story I have that problem. I can edit but not post... and the path is correct I'm sure of that cause I've run the php file "forumpath.php" to find the absolute path.

w1z4rd 09-26-2008 11:12 AM

Hey Jafo, congrats on what I believe is one of the best vb mods available.

Has anyone else noticed that when you try to upload an image in a wordpress post the iframe redirects to the forum home page? Am I missing something stupid (most likely) or is this a bug?

------------------
If I use the browser upload option instead of the flash upload option it works fine.

Bexter 09-27-2008 12:20 AM

Just installed this and did the test post, worked fine.
Went to test comments but on the main page it trys searching for $template_hook[navbar_quick_links_menu_pos4]


What could be the problem? :confused:


Attachment 87394

miloheckport 09-27-2008 06:42 PM

I have had this mod installed for quite awhile and until this morning I could post new without an issue but now when I try to go to the admin section of wordpress I get directed to the homepage of our forum. So basically I can no longer add new content to wordpress or access the admin section of wordpress. Is there a solution to this issue. The only change that I have made recently to vbulletin was to add a new bbcode for vimeo other than that nothing has changed. Very frustrating. Anyone have a fix or idea to help out. Thanks

pspcrazy 09-27-2008 07:01 PM

After upgrading to vbulletin 3.7.3 PL1 i got this:

[Sat Sep 27 14:58:51 2008] [error] [client 72.137.157.211] PHP Fatal error: Class 'vBulletinHook' not found in /var/www/vhosts/animecrazy.net/httpdocs/forums/includes/class_bbcode.php on line 2428, referer: http://www.animecrazy.net/category/m...ond-and-pearl/

So I had to downgrade my vb now. Can you fix the bug Jeff? thanks

Jafo232 09-29-2008 03:56 AM

Just disable hooks in the WP plugin. There is a comment in vbbridge.php that shows you how. That will just disable the hook during wp, not vb..

Bexter 09-29-2008 07:54 AM

I'm sure this mod says supported, not just support for donators.
If it worked, I'd consider donating :rolleyes:

Btw Vahid, how did you downgrade your vb, everything I've been reading says you can't :confused:

w1z4rd 09-29-2008 08:08 AM

Quote:

Originally Posted by Bexter (Post 1632859)
I'm sure this mod says supported, not just support for donators.
If it worked, I'd consider donating :rolleyes:

Btw Vahid, how did you downgrade your vb, everything I've been reading says you can't :confused:

I have this installed on both the latest versions and it works as advertised. Mind you I did a fresh install. I don't know what could be wrong in your particular environment but I believe he gave you some directions to rectify the situation. Have you tried his suggestion?

Bexter 09-29-2008 08:25 AM

I thought they were aimed at pspcrazy.

Did you use fantastico to install wordpress or upload/install manually?

I've found my images aren't showing in themes either, so I'm doing a manual upload. Never had to before, but ah well. And then I'll try this again, if not I'll create a test site with fresh installs.

w1z4rd 09-29-2008 08:37 AM

I'm sorry, my bad. I really should get more sleep. I thought it was directed at you but obviously I was wrong. To answer your question though, no I didn't install using fantastico or any other installer. I installed manually. I've always found that while an installer is great to get up and running quickly you end up running into trouble when you try to modify/customize your scripts.

Sorry for the misunderstanding, best of luck. :) I clicked a few of your google ads for the bother lol.

Bexter 09-29-2008 09:41 AM

Well, I did another fantastico install first, and got wordpress working, and all was looking good. But I still encounter the same problem.
I think I may have pinpointed the problem. Well sort of.

I'm changing one option at a time to see which is the issue and the error reappears after typing in the Forum Relative Path. I've tried forums, /forums, /home/ggnet/gamerstyle/forums (which it clearly isn't that as it doens't even load, just an error message).



Edit, problem solved :D. I had some sleep today lol :p.
The gxbox hack I had, was in the quick links menu, but if it's disabled it works :D.
Now to finish testing though now I've got that sorted :)

ShawneyJ 10-01-2008 07:17 AM

what a waste of a day lol. piece of crap. congrats Bexter, glad it worked for you ;)

Bexter 10-01-2008 07:29 AM

Yeah several days later lol. Nah I only spent time yesterday trying to fix it so the other days don't count :).
The code to replace to use vb for comments though doesn't work for me :(.
What was your problem you experienced?

w1z4rd 10-01-2008 07:40 AM

Quote:

Originally Posted by Bexter (Post 1634532)
The code to replace to use vb for comments though doesn't work for me :(.

In what way? I might be able to help. The directions can be a little misleading in that section because some themes use a separate comments template.

sendur 10-01-2008 05:17 PM

I've got it working, though we had to rewrite half the mod....

Bexter 10-01-2008 06:11 PM

Quote:

Originally Posted by trigatch4 (Post 1552165)

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);
-------------------------------------------

Quote:

Originally Posted by guvner (Post 1590215)
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 :)

I'm having the same problem also, is it the vbbridge.php file that needs editing?

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?

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.

I'm having the same issue i'll try that out thanks :).

Quote:

Originally Posted by w1z4rd (Post 1634536)
In what way? I might be able to help. The directions can be a little misleading in that section because some themes use a separate comments template.

Well, I've just tried again, to replicate the error message, and works like a charm lol. Even had a separate comments template which I managed to figure out :).

Xtrato 10-01-2008 07:53 PM

hmm , well im not sure where i went wrong.. but whenever i Try to post in WP i get a BLANK page, any ideas?

The Error I get on my error log is :

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/MYUSER/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

Thank you all.

MattFord 10-01-2008 08:35 PM

Quote:

Originally Posted by Jafo232 (Post 1511621)
You need to access WP by logging into your forum (with the vbbridge plugin activated) with a user that is an administrator (providing you mapped the administrator group properly). Make sure you check the box in VB to stay logged in. Then go to the wp-admin page directly. If it forwards you back to the forum then A. you did not map users correctly, or B. the username in VB is identical to one already created in WP, which will not map.

Otherwise, you have to edit the WP database and delete all options in the wp_options table who's option_name starts with vbb_.

This is a huge contradiction. The user must be an admin and be mapped, but can't exist in both systems. Can you explain how that would be set up? If I create an admin on wordpress named bill, I can't login by your instructions unless I also have a forum user named bill... but your instructions conclude by saying that will create a problem. We need a visual here...

Xtrato 10-02-2008 01:11 AM

I have tried so many path's relative ,absolute , etc , none seem to work what soever , should i use the one from my PHP Info scrip?

please advice as it seems no path i put in there works.

Regards

PS: when i tried the best possible solution the error went away, however When i tried to post , i get a blank page , The error i get on my log is the fallowing:

Code:

PHP Fatal error:  main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/(MYUSER)/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

krike 10-02-2008 04:21 AM

Quote:

Originally Posted by Xtrato (Post 1634979)
hmm , well im not sure where i went wrong.. but whenever i Try to post in WP i get a BLANK page, any ideas?

The Error I get on my error log is :

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/MYUSER/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

Thank you all.

you have to hardcode the path (it's in the first post), like jafo told me... cause I have the same problem (even after harcoding the path)

Xtrato 10-02-2008 12:31 PM

Quote:

Originally Posted by krike (Post 1635328)
you have to hardcode the path (it's in the first post), like jafo told me... cause I have the same problem (even after harcoding the path)

Course i did that already, i looked trough the topic , hardcoded all possible paths known to me , yet i still get a blank page, EVEN when the this hack is OFF , yet , "ACTIVATED" i get blank pages after creating new PAGES ,or POSTS , not sure what the problem might be , w.p 2.5 etc, with vb 3.7.X .

So i have tried what most people have suggested here . Hope anyone can help us here .

Thank you guys for your great efforts!

Xtrato 10-03-2008 10:42 PM

i continue to battle here , yet all have failed , if anyone has a good suggestion it would be greatly appreciated.

echamberlain 10-04-2008 12:15 AM

Quote:

Originally Posted by Xtrato (Post 1636815)
i continue to battle here , yet all have failed , if anyone has a good suggestion it would be greatly appreciated.

The directory for ./includes/class_dm.php is set by

PHP Code:

chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH')); 

If those variables don't match your vBulletin path, then class_dm.php won't be found.

What is the absolute path to vBulletin on your system?

Our wordpress is at: /home/wordpress/public_html
And vBulletin is at: /home/vbulletin/public_html

So we don't have $vwd set, since the variable is not used everywhere it should in vbridge.php. Instead, on the Vbridge settings page, we have our Forum Relative Path set to: ../../vbulletin/public_html/ so wordpress can find the vbulletin files which are located in a different document root.


All times are GMT. The time now is 10:19 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.01890 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
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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