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)

jsalvit 08-06-2007 06:20 PM

I figured out a way to fix it. I do a string replace for the original src= and replace it with my root relative image src.

I replaced your line
Code:

echo $vbridge[vb_parser]->do_parse($reply->pagetext, false, true);
with this:

Code:

echo str_replace("src=\"", "src=\"/forum/", $vbridge[vb_parser]->do_parse($reply->pagetext, false, true));

markbolyard 08-07-2007 05:51 PM

Quote:

Originally Posted by tpearl5 (Post 1310552)
Warning: require_once(/includes/functions_misc.php) [function.require-once]: failed to open stream: No such file or directory in /home/site/public_html/blog/wp-content/plugins/vbbridge.php on line 466

Fatal error: require_once() [function.require]: Failed opening required '/includes/functions_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/blog/wp-content/plugins/vbbridge.php on line 466

I got this error too. I edited vbbridge.php and made the changes you mentioned:

All instances of this: chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH'));

were changed to this:

chdir('/home/monksdin/public_html/entertainmentforum');

and $vwd = getcwd(); was changed to

$vwd = getcwd('/home/monksdin/public_html/entertainmentforum');

With that being said, in the Write Post Screen, I get the above errors.

I can make a post, and that post gets to the forum... but then when I view my blog, I get this too:

Warning: Wrong parameter count for getcwd() in /home/monksdin/public_html/entertainmentblog/wp-content/plugins/vbbridge.php on line 43

Unable to add cookies, header already sent.
File: /home/monksdin/public_html/entertainmentblog/wp-content/plugins/vbbridge.php
Line: 43


My forum is http://www.monksdiner.com/entertainmentforum
and my blog is http://www.monksdiner.com/entertainmentblog

Any help would be appreciated. Thank you.

Jafo232 08-07-2007 05:55 PM

Sorry, must have been blurry-eyed and caffeinated when I said:

Code:

$vwd = getcwd('/some/path/to/vb');
Should be:

Code:

$vwd = '/home/monksdin/public_html/entertainmentforum';

markbolyard 08-07-2007 06:02 PM

Trying it now. Thanks. Will let you now how it works.

markbolyard 08-07-2007 06:34 PM

Ok, well here is my problem now. I'm not sure that fixed it, but I think it did.

However, I have a usergroup called blog staff. I am in that usergroup. That usergroup, I gave Author access too, and now I can't get back into the wp-admin. I deleted vbbridge.php from the plugin directory, and that fixes is... so here is what I need to know...

If I upload vbbridge again, and reactivate it, I automatically become a Author, therefore not being able to change the associations... How can I get around this? Did it alter the database? I did notice all my setting for vbbridge are still correct when I re-activate it, so it must have stored that info somewhere.

Thanks

markbolyard 08-07-2007 07:11 PM

Figured it out. Thanks.

markbolyard 08-07-2007 10:30 PM

Ok, I got everything working great. Now, the only problem I am having is the mapping of usergroups, and how this handles members that have a primamry usergroup, and a secondary.

I have Admins, Mods, and registered members... I also have a usergroup called blog staff.

Blog Staff is a secondary usergroup to those Admins, Mods, and Registered Members. I have blog staff mapped to be Authors of posts, however they cannot access Write Features.

Any idea how to handle this? I don't want some of the blog staff to have full access, just be able to post, and I also don't want to upgrade registered members to mod or admin status either.

Thanks.

Jafo232 08-08-2007 03:23 AM

Mapping only works with PRIMARY usergroups, not secondary..

Brew 08-10-2007 03:14 PM

Heya Jafo!

Awesome mod man, great job!

I have everything working but I do have a small formatting problem.

In the image I posted below you'll see that the text of the comments are very small.

I'm sure it's a CSS thing but I can't seem to locate where the comments class is located.

The image is probably blurry but you can see that the text is extremely little.

* Also, Do you know how to get other parts of WP to recognize the new commenting system? Like the stats widget and latest comments etc.

I also have a request.

* Would it be possible for a future version to have the ability to post in vB and have the article posted to WP as well? The editing functions in vB are so much better than WP is.

Thanks for your help and a great mod!

puertoblack2003 08-11-2007 12:29 AM

wow going through the thread and looking for my problem can find anything...


Ok my problem is when i activate the Integrate On i don't see whats posted in wordpress but whe i deactivate i can see the posting...any way of fixing that or do i need that on..

this is the actual meassage i get when i activate plugin
Quote:

Not Found

Sorry, but you are looking for something that isn't here.
i'm using vb 3.6.7 wp 2.2


All times are GMT. The time now is 04:51 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.03027 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (2)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