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)

remotay 02-22-2009 05:24 PM

Another small issue, even though i was told to ignore the 'users' area of wordpress.

All of my post's authors show as random users on the forum! I tried logging into one of my users accounts to see if they can edit MY wordpress posts as it showed them as admin, but thankfully, they can't. It still bothers me that I see THEM as the authors of MY wordpress posts. I disabled the show author portion of my posts, but it would be nice for this small issue to be worked out. I'd be happy to donate to the author of this plugin when it gets tweaked a bit more.

I Do appreciate all the hard work put into this plugin, and I understand this isn't your 'job', so I don't expect immediate results. Vbulletin is such a great piece of software, only because of the coders who put their time, effort and energy into making great plugins. In that regard, Thank you Jafo232 =).

myHybridcar.com 02-22-2009 06:14 PM

Quote:

Originally Posted by dieslcruisrhead (Post 1750974)
FYI though I am still getting an error. When I save under Settings > vBridge settings it kicks out this error. Otherwise it seems to be working excellently...

Don't worry about that if everything else works fine. The control panel is probably just not able to lay a cookie?it won't break your blog or forum ;) (It's still a bug but nothing to stress over.)

Jafo232 02-22-2009 07:08 PM

Quote:

Originally Posted by Reynaldovb (Post 1751547)
Thank you for your reply. I meant the permalink issue which still persists, you know the one where Wordpress doesnt have any value to assign to the %author% variable in the permalink. Right now it is populated with an empty value.

That is because technically, the authors name is blank.. I will look into this when I get some time to see what can be done about it.

Jafo232 02-22-2009 07:10 PM

Quote:

Originally Posted by aparatchik (Post 1751611)
no idea if this is possible, but it would be cool to be able to assign a forum ID for each individual WP post. I don't necessarily want to drop them all in the same forum...

You should see a drop down list of forums when you make your post in wordpress (scroll down)...

Jafo232 02-22-2009 07:12 PM

Quote:

Originally Posted by remotay (Post 1751613)
All of my post's authors show as random users on the forum! I tried logging into one of my users accounts to see if they can edit MY wordpress posts as it showed them as admin, but thankfully, they can't. It still bothers me that I see THEM as the authors of MY wordpress posts. I disabled the show author portion of my posts, but it would be nice for this small issue to be worked out. I'd be happy to donate to the author of this plugin when it gets tweaked a bit more.

Did you see in the readme about how to replace "the_author()"?

skariko 02-22-2009 07:39 PM

Hello, it is possible to take ALL the variables?
How can i do to take the variables to see on Wordpress this (taked from VBulletin variables)?

You last visited: Today at 21:38.
You have 0 unread messages; Total 54.

is it possible?

Jafo232 02-22-2009 08:09 PM

Quote:

Originally Posted by Jafo232 (Post 1751678)
That is because technically, the authors name is blank.. I will look into this when I get some time to see what can be done about it.

I just looked into it.. I doubt that any time soon I could make this ready for authors names in the permalink, sorry.. I can rewrite it to included the right username, however, it is rather obfuscated in the code, all the places I would have to add filters to remove the author from the URL on the backend.

Jafo232 02-22-2009 08:11 PM

Quote:

Originally Posted by skariko (Post 1751704)
Hello, it is possible to take ALL the variables?
How can i do to take the variables to see on Wordpress this (taked from VBulletin variables)?

You last visited: Today at 21:38.
You have 0 unread messages; Total 54.

is it possible?

I think this is a bit outside the scope of this product. However, you can globalize the $vbulletin object once integration is on. What you do with it, well, there are no limits.

If your question is "Will you show me how to do X", then I have to say I am sorry, I have very limited time for such things.

myHybridcar.com 02-22-2009 08:33 PM

Quote:

Originally Posted by skariko (Post 1751704)
Hello, it is possible to take ALL the variables?
How can i do to take the variables to see on Wordpress this (taked from VBulletin variables)?

You last visited: Today at 21:38.
You have 0 unread messages; Total 54.

is it possible?

Do a Google search for how to echo vBulletin phrases in PHP. Then, use them in your Wordpress templates.

remotay 02-22-2009 08:51 PM

With the plugin enabled, I can no longer upload pictures using the NextGen gallery plugin for wordpress (The #1 most popular plugin for wordpress). Anyone else having this issue?

Reynaldovb 02-22-2009 09:48 PM

Quote:

Originally Posted by Jafo232 (Post 1751729)
I just looked into it.. I doubt that any time soon I could make this ready for authors names in the permalink, sorry.. I can rewrite it to included the right username, however, it is rather obfuscated in the code, all the places I would have to add filters to remove the author from the URL on the backend.

Jaffo, thank you for trying :)

skariko 02-22-2009 09:54 PM

Quote:

Originally Posted by Jafo232 (Post 1751733)
I think this is a bit outside the scope of this product. However, you can globalize the $vbulletin object once integration is on. What you do with it, well, there are no limits.

If your question is "Will you show me how to do X", then I have to say I am sorry, I have very limited time for such things.

Thanks! :)

Quote:

Originally Posted by myHybridcar.com (Post 1751766)
Do a Google search for how to echo vBulletin phrases in PHP. Then, use them in your Wordpress templates.

Thanks, i've solved with a lot of searches on Google ;)

Jafo232 02-22-2009 10:30 PM

Quote:

Originally Posted by remotay (Post 1751778)
With the plugin enabled, I can no longer upload pictures using the NextGen gallery plugin for wordpress (The #1 most popular plugin for wordpress). Anyone else having this issue?

Yeah, I cannot guarantee this thing to play nice with other Wordpress plugins. It may or may not..

remotay 02-22-2009 10:51 PM

It works with all of my plugins except NextGen gallery. The older version seemed to work fine with it. NextGen gallery is the most popular WP Plugin out there, would be great to see this looked at in future versions.

Thank you again for all your hard work on the plugin, it is appreciated!

glowinggal 02-23-2009 12:49 AM

can you still use your nextgen gallery or it just won't let you upload? did your nextgen gallery completely stop working when it was enabled? we are looking into this integration for our new site design but our new site DOES use the nextgen gallery on the home page.

remotay 02-23-2009 02:24 AM

Nextgen gallery works, but you CANNOT upload new pictures. I can create gallerys but I can't physically upload the pictures into them. This is with the latest version of the Vbulletin Bridge plugin.

vbplusme 02-23-2009 03:34 AM

Quote:

Originally Posted by Jafo232 (Post 1751831)
Yeah, I cannot guarantee this thing to play nice with other Wordpress plugins. It may or may not..

I'd be thrilled if it just played nice with WordPress but frankly WordPress doesn't play nice with anything including itself.

I have been using this bridge since before version III and I ALWAYS have to clean up a mess that WP makes and at this point I am pretty sure its a WP quirk that makes it so that every post that the bridge makes has to be cleaned up because of how the database is stored in WP.

I just posted a very small article that was originally a post in vBulletin. When I copied it into WP the stripped ALL the formatting including line feeds so that I had to manually reformat the whole document in WP. When I posted it, I had to reformat the forum post again to put the code blocks back and strip out all the escapes that it added for double quotes.

You have my deepest respect for being able to make it work as well as it does Jafo.

Thanks for you effort.

If you have any suggestions about how to get a "standardized" post in WP and Forum, I would be really appreciative.

TIA, Michael

logiik 02-23-2009 05:10 AM

just checked my site and i'm getting this error now for some reason:

Fatal error: Cannot redeclare get_userdatabylogin() in /home/***/public_html/wp-content/plugins/functions_vbbridge.php on line 3

GoodOmens 02-23-2009 02:01 PM

The following code in the author code does not work:

Quote:

$vbridge['postusername']
If you look at the function your not returning anything called 'postusername':

Quote:

$ret = Array('id' => $results->vb_threadid, 'count' => $results2[replycount], 'thread_starter' => $results2[postuserid], 'replies' => $results3, 'vb_parser' => $parser);
Am I missing something?

GoodOmens 02-23-2009 02:39 PM

Ok I've made some changes to get post authors to correctly display:

Changed in vbbridge.php

PHP Code:

$sql "select replycount, postuserid FROM " .  TABLE_PREFIX "thread where threadid = '$results->vb_threadid'"

to

PHP Code:

$sql "select replycount, postuserid, postusername FROM " .  TABLE_PREFIX "thread where threadid = '$results->vb_threadid'"

and

PHP Code:

$ret = Array('id' => $results->vb_threadid'count' => $results2[replycount], 'thread_starter' => $results2[postuserid], 'replies' => $results3'vb_parser' => $parser); 

to

PHP Code:

$ret = Array('id' => $results->vb_threadid'count' => $results2[replycount], 'thread_starter' => $results2[postuserid], 'replies' => $results3'vb_parser' => $parser'postusername' => $results2[postusername]); 

Then in the instructions for the Author (wordpress templates) - this was only being called once and resulted in the same author being displayed in all my posts on the main page:

Changed:

PHP Code:

if (function_exists('Comment_Handler') and $vbridge == '') { 

to

PHP Code:

if (function_exists('Comment_Handler')) { 

Also to removed the following from the comment code (redundant since a function call is already made by the author portion of the code)

PHP Code:

if (function_exists('Comment_Handler')) {

    
$vbridge Comment_Handler($post->ID);

    global 
$vbulletin


Everything fully working on LineageJunkies.com

RobInjection 02-23-2009 05:24 PM

Quote:

Originally Posted by Jafo232 (Post 1751326)
Hmm, I may have written that wrong in the readme:

Code:

<img src="<?php echo get_option('vbb_VBURL') ?>image.php?u=<?php echo $reply['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32"

Still having the same problem of the userid not being generated. I looked in the readme instructions and I noticed that section was if I wanted to replace the Wordpress commenting system with vB comments. I do not want to do this. First off, I dont sync my blog posts with vB forum posts, just the users.

And, all I want to do on the Wordpress side, within the Wordpress comments is have the user avatar show up, as well as link to their profile pages. Is this possible?

Right now this is all I dump in, and it doesnt generate a user id:

PHP Code:

<? global $vbulletin; ?>
<img src="<?php echo get_option('vbb_VBURL'?>image.php?u=<?php echo $reply['userid'?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">


laztrix 02-23-2009 05:57 PM

Guys I spend 2 weeks to integrate wordpress with vbulletin with no success!

I'm running a Turkish Forum Platform.

When I post something while the bridge is on, the post content corrupts in vbulletin.

Images, charachters like ş,ç,ö,ü,ı are not shown properly.

Please help me aut if I did pass something:

-I tried to post while the UTF8 option was on and out,
-It was told that maybe the installation of wordpress itself was causing this so I did it with the official setup of wordpress = same old same !

neither the UFT8 changing was succesfull nor installing the offical wordpress installation.

What can I do to solve this problem ?

GoodOmens 02-23-2009 06:51 PM

Ok new bug ... seems links made in the original post are not being parsed during the post.

I get the following in my forum post from a link called "Check it out."

http://ahref>Check it out.

AzzX 02-24-2009 07:58 AM

Quote:

Originally Posted by GoodOmens (Post 1752574)
Ok new bug ... seems links made in the original post are not being parsed during the post.

I get the following in my forum post from a link called "Check it out."

http://ahref>Check it out.

I got around this by turning on Excerpt Forum Post? and setting Characters In Exceprt: to 2000.

This may also help laztrix.

Blaine0002 02-24-2009 01:26 PM

I need a way to use existing wordpress userbase, and have them able to log into vbulletin using it. New registers can register to wordpress.

Katman 02-24-2009 02:55 PM

This doesn't work for me either. Running vB 3.8 with WP 2.7.1, and all it does is go to a blank white page after I click the Publish button in WP and does not post to vB from WP..

tjpeople 02-25-2009 12:07 AM

Quote:

Originally Posted by GoodOmens (Post 1752574)
Ok new bug ... seems links made in the original post are not being parsed during the post.

I get the following in my forum post from a link called "Check it out."

http://ahref>Check it out.

Yes I'm getting this same bug.

Fraik 02-25-2009 08:30 AM

Okay, I am getting a few bugs which I'd just like to report:

- In the "edit post" and "edit page" sections, the page/post authors have wrong names. However, in the post/page editing screen itself, the author names are displayed correctly.
- I am getting the same problem with parsing links as above, displaying http://ahref>forum for example.
- The media (flash) upload system doesn't work for me, it just keeps loading it infinitely.

AzzX 02-25-2009 12:00 PM

Quote:

Originally Posted by Fraik (Post 1754074)
Okay, I am getting a few bugs which I'd just like to report:

- In the "edit post" and "edit page" sections, the page/post authors have wrong names. However, in the post/page editing screen itself, the author names are displayed correctly.
- I am getting the same problem with parsing links as above, displaying http://ahref>forum for example.
- The media (flash) upload system doesn't work for me, it just keeps loading it infinitely.

Same issues here as well. Only just noticed the media upload not working - you can escape out of it by pressing escape a few times. Vbridge III from the previous release still works bar incorrect dates in the wordpress comment field so I have been using that in the meantime.

Fraik 02-25-2009 05:41 PM

Quote:

Originally Posted by Fraik (Post 1754074)
Okay, I am getting a few bugs which I'd just like to report:

- In the "edit post" and "edit page" sections, the page/post authors have wrong names. However, in the post/page editing screen itself, the author names are displayed correctly.
- I am getting the same problem with parsing links as above, displaying http://ahref>forum for example.
- The media (flash) upload system doesn't work for me, it just keeps loading it infinitely.

I would like to add that the aforementioned problem with custom permalinks is solved for normal categories in the latest version, but it still send a link with /%postname%/ when using subcats.

Chirag patel 02-26-2009 04:57 AM

Figure it out. Sorry :(

Chirag patel 02-26-2009 05:16 AM

How do you turn off the user page completely for all users in wordpress so that they will not go at all to wp-admin/ at all and if they do type that then they automatically go directly to the profile page in the forum?

Also how do you make the comment box only to show up for vbulletin users (or subscribers) only?

Chirag patel 02-26-2009 05:17 AM

Quote:

Originally Posted by Katman (Post 1753375)
This doesn't work for me either. Running vB 3.8 with WP 2.7.1, and all it does is go to a blank white page after I click the Publish button in WP and does not post to vB from WP..

Check the plug-in it might be still off.

pspcrazy 02-26-2009 05:55 AM

Thanks Jafo, oddly users aren't auto redirected to the forums to sign in which is much needed for me. Thanks

Chirag patel 02-26-2009 06:29 AM

Quote:

Originally Posted by Fraik (Post 1754074)
Okay, I am getting a few bugs which I'd just like to report:

- In the "edit post" and "edit page" sections, the page/post authors have wrong names. However, in the post/page editing screen itself, the author names are displayed correctly.
- I am getting the same problem with parsing links as above, displaying http://ahref>forum for example.
- The media (flash) upload system doesn't work for me, it just keeps loading it infinitely.

The uploads do not work for me as well. Great plug in over all. Good job :D

Chirag patel 02-26-2009 08:04 AM

Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Error happens when clicking on add images on the text editor

laztrix 02-26-2009 08:22 AM

Quote:

Originally Posted by AzzX (Post 1753128)
I got around this by turning on Excerpt Forum Post? and setting Characters In Exceprt: to 2000.

This may also help laztrix.

Unfortunately that did not help either.

I find out that I'm using ISO-8859-9 encoding on my forum.
I tried to change the default encoding from utf8 to ISO-8859-9 in wordpress.
But that did not help either.

http://easycaptures.com/8561614980 this is what happens.

skariko 02-26-2009 09:32 AM

Quote:

Originally Posted by logiik (Post 1750987)
Has anyone tried uploading an image or any file for that matter from wordpress? If I try clicking the upload image button from the post editor, I just get a 404 page from the popup.

Going to Upload from the top bar, after uploading it just takes me to the login page.

Quote:

Originally Posted by Fraik (Post 1754074)
Okay, I am getting a few bugs which I'd just like to report:

- In the "edit post" and "edit page" sections, the page/post authors have wrong names. However, in the post/page editing screen itself, the author names are displayed correctly.
- I am getting the same problem with parsing links as above, displaying http://ahref>forum for example.
- The media (flash) upload system doesn't work for me, it just keeps loading it infinitely.

Quote:

Originally Posted by AzzX (Post 1754179)
Same issues here as well. Only just noticed the media upload not working - you can escape out of it by pressing escape a few times. Vbridge III from the previous release still works bar incorrect dates in the wordpress comment field so I have been using that in the meantime.

Quote:

Originally Posted by Chirag patel (Post 1754978)
The uploads do not work for me as well. Great plug in over all. Good job :D

Same issue here.
All worked to me but yesterday i had to clear all the cache of my browsers... and now the media upload doesn't work.
With Firefox it just keeps loading it infinitely, on IE7 it give an 404 error.

Jafo, try to delete all the cache of your browser to see this issue. :)

Celebutopia 02-26-2009 07:41 PM

I have installed this and this is the error that I get:

Code:

Fatal error: Cannot redeclare get_userdatabylogin() (previously declared in /home/celeb/public_html/wp-includes/pluggable.php:166) in /home/celeb/public_html/wp-content/plugins/functions_vbbridge.php on line 33

Blaine0002 02-27-2009 12:42 PM

Quote:

Originally Posted by Blaine0002 (Post 1753309)
I need a way to use existing wordpress userbase, and have them able to log into vbulletin using it. New registers can register to wordpress.

anyone try this?


All times are GMT. The time now is 02:23 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.01821 seconds
  • Memory Usage 1,878KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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