![]() |
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:
|
Hello,
This is a great/useful mod. I am a having problem with the integration. I am experiencing this when writing a post (wp-admin/post-new.php): <b>Fatal error</b>: Call to a member function on a non-object in <b>/path/to/forum/includes/functions.php</b> on line <b>1013</b><br /> I figured it has somthing to do with the $vbulletin object. How do I include the $vbulletin object? |
It should already be included. It sounds to me that it cannot find the config file. You need to make sure the paths are right.. See limitations in the main post..
|
Thanks for the reply. I will try your suggestion. Wish me luck:D
|
Well, I'm so disappointed right now :(
I followed just what is instructed in the Limitations section (I used define('FORUM_ABSOLUTE_PATH', '/path/to/my/forum'); ). I used to to replace the getcwd calls as well as the require_once('./global.php'); The error I reported above is now gone. But now I think I'm experiencing a similar problem again. The call to vbsetcookie() fails: path/to/vbulletin/includes/functions.php in vbsetcookie() function Code:
else if (empty($vbulletin->db->explain)) I am using WP 2.2 & VB 3.6.7 WP is the root of my domain & VB is in a subfolder (named forum) of my domain |
How in god's name are you supposed to fix the admin/admin limitation when you can't change the admin username in wordpress?
|
Very very very interesting.
Unfortunately my domains are. forum.domain.com clog.domain.com looking forward for the solution. greetings Steve |
Quote:
|
Hi :)
Fantastic mod :D Just one question... would it be possible to change the modification so that it doesn't merge users but does allow comments to go straight to vBulletin? In other words, I don't want my users to have a single sign-on but I do want auto-thread creation etc. This would be fantastic :D |
ran into problem my members and guest can view the wordpress posting frontend and from the main vb thread with the "Integrate On" but as a admin i can't view it. It only shows this on the front page
Quote:
|
I just want to say thousand thanks, works great so far :)
|
Hello,
is a conversion of this or a similar modification for Wordpress MU planned? Greetings Andreas |
Quote:
|
Quote:
|
Hey Jafo
Sorry to bug you but is the comments only thing possible? |
when i put a post in wordpress with Bolds and URLs, it comes as <a href .... and <strong> on the forums. What am i doing wrong?
|
The forum you post to should probably have HTML on.
|
So Stupid of me! :o
Thanks, It works great :) |
Hey,
is there any way to put certain wp posts into different forums? For example, I have categories on my WP site like humor and politics, and I made a humor, and a politics board on my forum, so I wanted to put my WP posts into their corresponding VB boards. Is this possible? Hope this makes sense |
Yeah that is something I am interested too. Not in own forums but instead into subforums of a parent forum :)
|
I have the bridge software installed and all appears to work except avatar images. Thank you!
http://www.whatisnew.com/2007/08/29/living-in-onenote/ Notice the broken images for the avatar. Any suggestions on how to get this to work? I saw someone did a replace on this line <?php echo $vbridge[vb_parser]->do_parse($reply->pagetext, false, true); ?> However, I was not sure what to put there. Update: I changed themes and will continue to play around with things to see what is happening. |
Quote:
|
Quote:
#1 : got the error on line 350 when adding VB comments feature to WP. #2 : modified PHP Code:
PHP Code:
#3 : modified the line 350 from PHP Code:
PHP Code:
#4 now i'm also getting the "Fatal error: Undefined class name 'vbulletinhook' in /home/httpd/vhosts/ladln.org/httpdocs/boards/includes/class_bbcode.php on line 2357" error (i also tried the define('DISABLE_HOOKS', true); ) any ideas ? |
Is there a fix to either strip out html code from the blog post, or replace it with bbcode? This way if someone sees the post on the blog, the style and links will work and then when they go to the forum the links and bolds will appear the same way? instead of visible code?
|
Does that mean I cant use the same username for vB and Wordpress ????
|
If this could be made to play nicely with WordPress MU, you'd be on my Christmas card list for ever!
|
I got the hack installed (thank-you!) still testing it out.
If you make a post in the forum, will it show on Wordpress? |
HELP!!!
I can't log in to my wordpress anymore. What is the fix for this? |
If you can't login, the you either did not map users, or you are trying to use the same admin username in Vbulletin with Wordpress..
Delete/rename the plugin, start over. |
if my blog resides on www.domain.com/blog and my forum on www.domain.com/forum it means i cant use this mod or any other available right now on thw web?
|
Quote:
|
All times are GMT. The time now is 05:31 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:
|