![]() |
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); Code:
echo str_replace("src=\"", "src=\"/forum/", $vbridge[vb_parser]->do_parse($reply->pagetext, false, true)); |
Quote:
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. |
Sorry, must have been blurry-eyed and caffeinated when I said:
Code:
$vwd = getcwd('/some/path/to/vb'); Code:
$vwd = '/home/monksdin/public_html/entertainmentforum'; |
Trying it now. Thanks. Will let you now how it works.
|
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 |
Figured it out. Thanks.
|
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. |
Mapping only works with PRIMARY usergroups, not secondary..
|
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! |
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:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|