vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

emsplanet 03-13-2009 08:40 PM

Quote:

Originally Posted by COOLover (Post 1767331)
what a tone you use?
i wait for a anther, too. But not so - when user anther than okay, but not 1000times ask or in this tone!

Sorry! acctually this is not my tone.. i ask my friend to post a reply here and he post just a short line..

Quote:

Originally Posted by amjadz4 (Post 1767338)
did you even READ the readme text file?
redo the whole procedure step by step using the read me. you wont get that error.


Great Mod Jafo! Works perfectly!

Thanks mate.. i solved that problem. acctually i make some mitake in settings and now its work.. thanks for help..

To Coder

Thanks for this great plugin.. acctually you already told the solution via PM but i m stupid tht i not understnd what you talking about.. sorry and thanks one more time for support.. one more question related this.. is this only share post of Wordpress to forum or also share forum post to wordpress post? bcoz i try on sample post in wordpress its ok its also show in forum section where i mention in setting but when i post in such section in my forum i not see any thing in my wordpress..

getfitatl 03-14-2009 01:31 AM

:up: Ok so after banging my head against the wall I think I split it open and released the "fart" because I think I finally get it. So to start here's what I've done:

1. Create a new VB User ID: 6
2. Create a new user for the VB Username: mypublicuser
3. Create a new forum and add it to VB Forum ID: 8
4. Add the Forum URL: http://mysite.com/vb
5. Add the Forum Relative Path: /vb
6. Add the Database Prefix: vb_
7. Answer Yes to Forum use UNICODE (UTF-8)
8. Select Yes to the "Post Articles To Forum" option
9. Clicked Submit and successfully create a new Post in the forum.
10. I then mapped my VBUsers accordingly:

Unregistered / Not Logged In Do Not Map
Users Awaiting Email Confirm Subscriber
Super Moderators Editor
Moderators Author
Registered Users Subscriber
(COPPA) Users Awaiting Mod. Subscriber
Administrators Administrator
Banned Users Do Not Map

11. Mapped users Saved!
12. Turn Auto-Integrate on. Saved!

Observation: the WordPress account I'm logged in with is no longer recognized so I'm immedialy logged out of the site. This is where I'm suppose to log in with a vBulletin account.

=======================================

1. Either register some new accounts or log into the vBulletin Admin panel and create some new accounts.
2. Assign the newly created user(s) to the Registered Users group which should've been mapped to WordPress Registered Users.
3. Log in to vBulletin with this newly created user. Once logged in to vBulletin you're also logged in to WordPress. This can be confirmed by entering /wp-admin to be taken to the Dashboard.
What I've tried to do is this:

a. Download the WordPress Sidebar Login plugin, upload, and activate it.
b. Now I log in to WordPress with one my new accounts, go to the vBulletin via /vb, and see that I'm also logged in to vBulletin.
b. With the sidebar login plugin I can go to the options and add a few links:
<a href="http://mysite.com/wp-admin/">Dashboard</a>
<a href="http://mysite.com/vb/">Forums</a>
<a href="http://mysite.com/vb/usercp.php">vBulletin Profile</a>

Now when I go to the WordPress front page I see that I now have a way of clicking to the WordPress Dashboard, my vBulletin Forums and Profile.

Note:
1. It seems as though the side bar login links are visible only during the current session. Once I log out and re-enter I'll have to add the links again. So what I need to do is figure out how to hard code the links so that it appears for all users.
2. When logging out of WordPress the only way to completely log out of it and vBulletin is to do so from within the WordPress Dashboard. If I attempt to log out by clicking either the Logout link on the WordPrss front page or within vBulletin the account remains logged in, regardless of how many times I click the link.

Observation(s):
1. I have my front paged linked to a static page and the posts linked to a page called News. So upon visiting the site users are presented with a greeting. Now that I've turned on integration my welcome page has been replaced by the new / posts page. What I'd like to know is if there's a way to control this or do I have to turn the greeting into a post?

2. When I click on Comments in the post it causes my sidebar and center to shift. See it here. Should I remove the Comments link or would it be possible to change it so that when clicked it takes you to that post? Also, aside from the one post I don't think I want all of my posts linking to the forum. Is there a way to make it so that it doesn't happen or is this a feature of how the inntegration uses the vBulletin comment system? If it is I'll go with it I just need to better understand it.

Current Challenges:

1. Create links inside of vBulletin that point to wordPress. Or maybe this is where I try to "Wrap" vBulletin inside of WordPress. Any ideas?

:D I'm all teeth as I'm almost there.

Blackhat 03-14-2009 07:34 AM

I will consider to install this. Is it working, are there still many bugs ?

amjadz4 03-14-2009 11:31 AM

It works perfectly. No visible issues if you follow the instructions exactly as they are said.

Anyone require theme integeration, that is wrapping your vbulletin inside the wordpress page can contact me. I can do it for you for a small charge! :)

COOLover 03-14-2009 04:37 PM

hi getfitatl,

any link from your WP oder vB is wrong.
http:/getfit-atlanta.com/ <-- you need at : an /

COOLover 03-14-2009 10:19 PM

Quote:

Originally Posted by COOLover (Post 1764363)
Hi,

first thx for a great Mod.

second Sorry for my bad english ;)

I hope anyone can help me.
I try to Integrate wordpress with vB. It works for the first steps realy good. Bud how can i change on the Startpage/Page (wordpress template index.php) the comment counter?
It shows ever 0 Comments. When i go into a Topic, than i have comments from the vB (as sample 3)

Can i aktivate the registration on wordpress with OpenID to register automatic on forum?

Hope you can understand and help me.

For the right counter on startpage replace in the index.php (from template)
Code:

  <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
with:
Code:

<?php
if (function_exists('Comment_Handler')) {

        $vbridge = Comment_Handler($post->ID);

        global $vbulletin;
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>
<?php

if (intval($vbridge[count]) === 0)
        echo "No Comments &raquo;";
else
        echo intval($vbridge[count])." Comments &raquo;";
?>
</a><br /><a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a>

but how can i use OpenID?

SABRSox 03-15-2009 04:51 AM

I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.

Ross L 03-15-2009 11:33 AM

Quote:

Originally Posted by SABRSox (Post 1768450)
I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.

Yeah that is a pain, I noticed that this morning!

Also, if you click on Authors & Users it redirects to forums/admincp/user.php and a lot of people change the name of their admincp for security reasons. Could it be made so you can define the admincp in the settings for vbbridge?

Also if there was a way of supporting user avatars from vBulletin to wordpress, that would be sweet. That way it would be easier to distinguish posters on the blog (as most people remember the avatar rather than the name).

COOLover 03-15-2009 01:19 PM

Quote:

Originally Posted by John69Steph (Post 1762424)
I have the same problem

My post in wordpress is :
Code:


      Essai lien : <a href="http://xxx-xxx.net">xxx-xxx</a>
 
      Essai image : <img src="http://www.xxx-xxx.net/relief-bleu/misc/Ban1.png" alt="" />

And when i publish my post and write to Vbulletin, i see that :

Code:


      Essai lien : http://ahref>XXX-XXX
 
      Essai image : http://imgsrc alt="" />

What's problem ?

Thank's for your answer

here a fix for the ahref problem:
file: wordpress/wp-content/plugins/functions_wysiwyg2.php


find:
Code:

                $text = preg_replace('#<script[^>]*>(.*)</script>#siU', '', $text);
add after that:
Code:

                $text = str_replace('http://ahref>', '', $text);

myHybridcar.com 03-15-2009 11:51 PM

My visual editor is working again for blog posts, but it's not working for pages.


All times are GMT. The time now is 01:08 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.01648 seconds
  • Memory Usage 1,767KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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