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)

Bexter 10-04-2008 07:40 AM

Hmmm, changed the theme and tried editing, but my problem is back :(

I edit the template, and get this error


Parse error: syntax error, unexpected $end in /home/ggnet/gamerstyle/wp-content/themes/mandigo/single.php on line 204

I kept going through it to each line, and then it just ends on the last line and it's unexpected end :confused:

I don't think it likes the template at all to be honest, I replaced the code for the main page (thats the single page thats causing the error) and the comments image is still there, the other text removed, but the vbulletin comments text no where to be seen :(.

The wordpress theme I'm using is mandigo.

Xtrato 10-04-2008 12:40 PM

hi Avatarechamberlain , thank you for your input ,

my absolute path to vB is :

/home/MYUSER/public_html/xtrato.com/wp/forum/

/home/MYUSER/public_html/xtrato.com/wp/

i have tried so many things with the paths , just cant seem to get them working , sometimes it seems to work but i get an error that says global cannot be found , and such .

Very weird

Xtrato 10-05-2008 01:20 AM

well i made some tests on another account it works well there , just not on my main domain , the reasons might be that the path's are a bit different, the other one i have two domains under one account... not sure if that is a big problem.

Regards

MattIS 10-05-2008 05:56 AM

Posts fine to VB but posts wont display in Wordpress what is going on? Once deactived posts show up in wordpress, active i get some template hook message and a message saying no posts in blog.

MattIS 10-05-2008 06:31 AM

Fixed the above now my posts are being cut off any ideas?

krike 10-05-2008 06:32 AM

Quote:

Originally Posted by Xtrato (Post 1637504)
well i made some tests on another account it works well there , just not on my main domain , the reasons might be that the path's are a bit different, the other one i have two domains under one account... not sure if that is a big problem.

Regards


I think I have the same problem. cause my path is completely different.. doesn't have public_html but httpdocs etc... does it make a difference?

vividbreeze 10-05-2008 07:23 PM

On the listed websites I noticed that the posts from the forum went to the blog.

But, can the posts from the WP Blog go into the thread inside the forum!??

(I didnt see any new blog comments inside the forum thread....)

Xtrato 10-06-2008 12:35 PM

i got like 20$ for anyone who can help me on this , really , i just cant seem to get it right.

pvt me please.

bkm_mahdi 10-06-2008 01:45 PM

Thank you!

DJScorpio 10-07-2008 03:50 PM

im still aving issues with the whole admin login problem! i cant login after installing this... can anyone run me thru it . getting redirected to forum

MattIS 10-07-2008 06:03 PM

Quote:

Originally Posted by Xtrato (Post 1638550)
i got like 20$ for anyone who can help me on this , really , i just cant seem to get it right.

pvt me please.

Do you have word press and VB in the same folder? It just looks that way from your paths.

ShawneyJ 10-08-2008 09:43 AM

Quote:

Originally Posted by Bexter (Post 1634532)
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?

i got a path error even tho the path was fully correct lol.
honestly the hole this is shit and belongs in the grave yard :D
put it to rest lol.
i did get more errors but i installed perfect as said in read me.

citricguy 10-08-2008 10:29 AM

thank you for this mod.

Including the gobal.php file was critical to my site!
Thank you for all you've done.

MattIS 10-08-2008 05:18 PM

Quote:

Originally Posted by jaycob (Post 1640150)
i got a path error even tho the path was fully correct lol.
honestly the hole this is shit and belongs in the grave yard :D
put it to rest lol.
i did get more errors but i installed perfect as said in read me.

I was getting path errors as well. I took out everything but the /forums (where my forum is located) and it worked properly. I did it the instruction way and got some errors.

shoemeister 10-08-2008 10:38 PM

I'm not sure if I missed it, but is there anyway for the Wordpress posts to link to separate subforums within the vBulletin?

I'd like to organize my posts using the tags, with each tag being a separate subforum within my board. Thanks for any help.

4x4 Mecca 10-10-2008 03:01 AM

Hey there! Thanks so much for this mod! Just what I was looking for. I have 2 questions.

1. If I enable this mod, I can not use Flexible Upload, they clash with each other. (you can read it in english and download it is you scroll down)
2. Any plan on adding an option to select a thread prefix? So when it posts to the forum it can have a prefix that I chose while I was writing it.

vividbreeze 10-11-2008 02:21 AM

When you are sharing posts with blog posts, you have the SAME content....is this bad in Googles eyes - by having the same content in 2 locations of your website??

4x4 Mecca 10-11-2008 05:34 AM

well the forum post actually only has a snippet of the actual blog post. 250 characters or so is a good number if you are worried. I don't know how google views it though.

krike 10-11-2008 05:54 AM

I found something that might be usefull. This guy used this plugin but also had problems with the path so he hardcoded all the paths (so need to make a few modifications).


I'm testing it right now, thought I might share it ;)

http://www.mikechick.net/2007/12/com...lletin-bridge/

gamerzhope 10-12-2008 04:03 PM

that linked helped alot.....



the only problem i have is that im trying to use the comment system


but i looked in WP temps index.php, single.php, page.php.

im using WP Premium News theme...


and none of that stuff it as to look up is there O.O

any suggestions :S


P.S

This is a great mod marked as installed of course :)

Xtrato 10-13-2008 03:11 PM

Quote:

Originally Posted by krike (Post 1642478)
I found something that might be usefull. This guy used this plugin but also had problems with the path so he hardcoded all the paths (so need to make a few modifications).


I'm testing it right now, thought I might share it ;)

http://www.mikechick.net/2007/12/com...lletin-bridge/

This should be implemented in the actual script, it su re helps a million..

Only having problems with using vB as the comment takeover

Cobro 10-13-2008 11:27 PM

cannot load D:/xampp/htdocs/global.php. You should check your path! i get this error when i turn every thing on ? can some one pla help me

Xtrato 10-14-2008 01:55 PM

Quote:

Originally Posted by Cobro (Post 1644515)
cannot load D:/xampp/htdocs/global.php. You should check your path! i get this error when i turn every thing on ? can some one pla help me

had you read the previous posts this may have helped.. and i have a feeling your problem is not as deep, as to needing the fallowing Link to fix it..


http://www.mikechick.net/2007/12/com...lletin-bridge/

Unless you find yourself really concerned about your paths... keep trying the suggestions here.

Deidre 10-18-2008 10:48 AM

I saw it says it's for 3.7.0, does it work with 3.7.3?

Also, can we integrate more than one wordpress blog with the same forum?

Quote:

Chances are, this will not work when VB and Wordpress are located in different sub domains. I.E. forum.yoursite.com - blog.yoursite.com. Cookie issue.
Will it work when your forum is on a subdomain but your blog is in the root directory of your domain?

guvner 10-18-2008 06:25 PM

Quote:

Originally Posted by Deidre (Post 1647608)
I saw it says it's for 3.7.0, does it work with 3.7.3?

Yes - I run WP 2.6 with VB 3.7.3

Quote:

Originally Posted by Deidre (Post 1647608)
Also, can we integrate more than one wordpress blog with the same forum?

Again yes - I'm running 2 WP installations attached to 1 VB install with each WP install posting to different forums.

Quote:

Originally Posted by Deidre (Post 1647608)
Will it work when your forum is on a subdomain but your blog is in the root directory of your domain?

Sorry - don't know that one so I'll leave it for someone ele.

Mike :)

Deidre 10-19-2008 05:43 PM

Thanks so much "guvner"

Quote:

Again yes - I'm running 2 WP installations attached to 1 VB install with each WP install posting to different forums.
Know if there is any limit to how many we can integrate.... I mean could it cause problems, if I try it with like 5 or 6 of them?

profanitytalker 10-20-2008 08:21 AM

reserved

steveneff 10-20-2008 01:07 PM

Very nice mod, thank you.

vBulletin 3.7.3 PL1 - Wordpress 2.6.2

When I try to log in using the sidebar widget login, it takes me to the forum home, not the login page. (I'm also using Deluxe vB User login so I am still able to login)

When I log out, the vBulletin logout page redirection to previous page takes me to the forum home rather than the blog.

Is there a fix for these problems or have I made an error somewhere?

Just a thought: As the Deluxe vB User login also calls global.php (first), should I remove it from this mod?

Solitary Seraph 10-20-2008 02:50 PM

For the login bit, you have to login to whatever you have your set up as.

so if you use http://demo.com/forum then you have to login there.

Works great, for me, except for some dumb reason (on my part) when I post to the forum it puts /wp/entry/95-%postname%.html rather than, you know, the actual post.

Thanks a lot for this mod, very helpful!

GoodOmens 10-21-2008 06:17 PM

Quote:

Originally Posted by MattIS (Post 1637631)
Fixed the above now my posts are being cut off any ideas?

This is due to a character encoding mismatch. I assume you are using ISO for wordpress.

In wp-config.php change the following lines:

PHP Code:

define('DB_CHARSET''utf8');
define('DB_COLLATE'''); 

to:

PHP Code:

/*define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');*/ 

Wordpress will work just fine with those lines commented out.

vietfancy 10-23-2008 02:28 AM

One quick question:

If we post on WP... the post will then show in forum. (done)
but if we post in the forum... should it be posted at wp page as well?

Jafo232 10-24-2008 01:31 AM

No, they do not.

Xtrato 10-30-2008 02:25 PM

hi , ok so i installed the plugin right , however when i activate this plug in , the END Slash disappears , as in ... mysite.com/wp/ becomes mysite.com/wp and images disappear .

is there a way i can fix this , i tried mod rewrite , but taht does not work ether

Thank you for the help!

Fallback 10-30-2008 02:48 PM

This hack is GREAT and works perfectly except for one thing...

On category pages the posts in the listing do not have accurate comment counts. All posts are showing "0" comments even though they have comments. The comment counts are fine on the single posts and main page but not on category archives. Any ideas on how to fix this?

Toxist 11-05-2008 09:38 PM

I downloaded this, but after reading the Problems, I think I will wait before installing it. It is a Clever idea, I just am not that Savvy on trouble shooting. Tks though.

Tigratrus 11-11-2008 03:24 PM

But I can't seem to get the comment integration to function. our template has a comment.php that's almost certainly where the change from the readme needs to go, but everyway I've tried has broken it... It's a small file and I'm sure I'm just not splicing the change into the file right. comment.php looks like:

Code:

<?php // Do not delete these lines
        if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
                die ('Please do not load this page directly. Thanks!');

        if (!empty($post->post_password)) { // if there's a password
                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
                        ?>

                        <p class="nocomments">This post is password protected. Enter the password to view comments.<p>

                        <?php
                        return;
                }
        }

        /* This variable is for alternating comment background */
        $oddcomment = 'alt';
?>

<!-- You can start editing here. -->

<div id="commentblock">
<?php if ($comments) : ?>

        <h4><?php comments_number('No Comments', 'One Comment', '% Comments' );?> on <?php the_title(); ?></h4>

        <ol>

        <?php foreach ($comments as $comment) : ?>
       
        <div class="commentleft">

                <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
                        <?php comment_author_link() ?> on
                        <?php if ($comment->comment_approved == '0') : ?>
                        <em>Your comment is awaiting moderation.</em>
                        <?php endif; ?>
                        <?php comment_date('D, jS M Y') ?> <?php comment_time() ?> <?php edit_comment_link('(Edit)','',''); ?><br />
                        <?php echo get_avatar( $comment, $size = '50', '' ); ?>
                       
        </div>

        <div class="commentright">

                <?php comment_text() ?>
                       
        </div>
       
        <div style="border-bottom:1px dotted #999999; margin-bottom:20px; padding:0px 0px 10px 0px; clear:both;"></div>
       
                </li>
       
        <?php endforeach; /* end for each comment */ ?>
       
        </ol>

 <?php else : // this is displayed if there are no comments so far ?>

        <?php if ('open' == $post->comment_status) : ?>
                <!-- If comments are open, but there are no comments. -->

        <?php else : // comments are closed ?>
                <!-- If comments are closed. -->
                <p class="nocomments">Comments are closed.</p>

        <?php endif; ?>
<?php endif; ?>

<div style="clear:both;"></div>


<?php if ('open' == $post->comment_status) : ?>

<p id="respond"><b>Tell me what you're thinking... <br />and oh, if you want a pic to show with your comment, go get a <a href="http://en.gravatar.com" >gravatar</a>!</b></p>

<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
<?php else : ?>

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

<?php if ( $user_ID ) : ?>

<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>

<?php else : ?>

<p><label for="name">Name <?php if ($req) echo "(required)"; ?></label><br />
<input type="text" name="author" id="name" value="<?php echo $comment_author; ?>" size="50" tabindex="1" /></p>

<p><label for="email">Email Address <?php if ($req) echo "(required)"; ?></label><br />
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="50" tabindex="2" /></p>

<p><label for="url">Website</label><br />
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="50" tabindex="3" /></p>

<?php endif; ?>

<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->

<p><label for="words">Speak your mind</label><br /><textarea name="comment" id="words" cols="40" rows="10" tabindex="4"></textarea></p>

<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>

<?php do_action('comment_form', $post->ID); ?>

</form>

<?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>

</div>

If you could show me where I've gone astray I'd be glad to paypal what you feel is a reasonable donation ;).

Awesome, awesome mod, you can see what we're doing with it here: http://www.ikeafans.com/blog/

James and Susan

Tigratrus 11-11-2008 04:17 PM

Part of the problem seems to be something fundamental... As it usually is ;)

Everything in the configuration seems to be set up and working correctly, new entries are showing up in the designated vB forum as they should. Users logged into vB are able to access WP as they should and accounts are being created in the WP users correctly.

But when I create an entry logged into vB, the link to the author profile
Code:

<?php
if ($vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a>

<?php
}
else {
the_author();
}
?>

doesn't happen. Instead the else kicks in and I just get the author's name. If I force the evaluation by changing it to
Code:

<?php
if (1 > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a>

them I get a link:
Code:

http://www.ikeafans.com/forums/member.php?u=
:confused:

Something's not quite right... I think I found where in the various files to add the Vbridge Replacement code for comments (not in comments.php :P ), but that doesn't work either. As you can tell I'm not really familiar with WP templates yet, but I think I'm close to getting everything to work, just have something simple that's not working.

Any assistance would be greatly appreciated and we'd be glad to donate appropriately. Thanks for such a great mod!

James and Susan

StevenTN 11-12-2008 08:22 PM

I’m working on getting it installed (vb 3.7.3 + Wordpress 2.6.3).

I have the blog homepage taken care of in terms of noting the # of comments and directing them properly to the comment page. However, I am having problems with the single post page, where I want to be able to have it display the comments from the thread directly on the post, then offer to have the user post theirs by directing them to the forum.
Here’s an example of what I want (from the add-on example installs)…

http://www.jeffsrecipes.com/forum/showthread.php?t=2670

Our Wordpress staging area (it’s not live yet… trying to work out the kinks)…
http://www.thrillnetwork.com/wordpress/

Example post:
http://www.thrillnetwork.com/wordpre...h-blah#respond

Justin V 11-13-2008 05:42 PM

Ok, so everything is working out for me. I'm just wondering how we can get our site to let you login from the main page as opposed to having to login from the forum. Right now, people have to login from the forum in order to leave comments.

AdjaniB 11-13-2008 09:39 PM

I have 2 problems, first of all, i'm running vbulletin 3.7.3 Patch Level 1 and wordpress ver 2.6.3 and the problems are:

- When a user registers in vbulletin, it appears in wordpress, but 2 times! So I have 2 users with the same name/nick and everything in wordpress.
- A writer is trying to use the option of posting in the forum, he selects the forum but nothing happens in the forum.

Thanks.


All times are GMT. The time now is 01:19 PM.

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.01606 seconds
  • Memory Usage 1,864KB
  • 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_php_printable
  • (12)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