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)

WorkerB 02-17-2009 07:46 AM

Hello - great bit of code here. Nicely done. Worked right out of the box.

I am having one small problem regarding whenever I try to insert an image into a post in Wordpress. In the status bar at the bottom I see multiple requests/responses flying back and forth and then nothing - the usual image insert window never pops up.

This got me thinking - maybe I can try inserting an image another way, so I go back to Wordpress dashboard and I click on the "Media" selection on the left. Shortly thereafter, Firefox cancels the request and displays a warning:

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

I thought this was.... strange. The next thing I did was rename vbbridge.php to vbbridge.php.old and then again, clicked on "Media" in the dashboard and all was well again.

The link that "Media" is hooked up to is:
/wp-admin/upload.php
and looking in there I see lots of code that performs a wp_redirect...

I'm on signed in as an Administrator on Wordpress 2.7.0 with a fresh install of VB 3.8.1 and this latest Add-on. Any ideas? Thank you, much appreciated!

WorkerB 02-17-2009 07:51 AM

Oops - I also forgot to mention that on my Wordpress WYSIWYG editor, I've lost the ability to flip between Visual and HTML. All of the other editor docks that are typically rolled up are expanded as well... anyone else seeing this?

laztrix 02-17-2009 08:23 AM

Quote:

Originally Posted by WorkerB (Post 1746656)
Oops - I also forgot to mention that on my Wordpress WYSIWYG editor, I've lost the ability to flip between Visual and HTML. All of the other editor docks that are typically rolled up are expanded as well... anyone else seeing this?

I have silimar issues witht the visual editor.

Also I had to deactivate the plugin - like it say in the readme file! - because when I did activate the plugin the pages went blank.

This time I can not active it either because as soon as I activate it it happens again!

I searched for tables in the database found one in the user table but it was helpless....

WorkerB 02-17-2009 08:50 AM

Some additional info -

Looking around in vbbridge.php, near the top I see:

PHP Code:

if (basename($_SERVER['SCRIPT_NAME']) == 'upload.php') { return; } 

and

PHP Code:

if (basename($_SERVER['SCRIPT_NAME']) == 'media-upload.php') { return; } 

which looks like its bailing out of the script if either of these two .php files is being parsed. I commented them both out and was able to get into the media gallery, but uploading an image from a post had bizzare results - a warning popped - clicking OK, go ahead - a new Wordpress dashboard was placed inside of where I normally choose the image to upload.

AzzX 02-17-2009 09:56 AM

How is your Users list in wp-admin displaying as WorkerB? All my users show as nothing, just checkboxes.

AzzX 02-17-2009 10:03 AM

Quote:

Originally Posted by laztrix (Post 1746672)
I have silimar issues witht the visual editor.

Also I had to deactivate the plugin - like it say in the readme file! - because when I did activate the plugin the pages went blank.

This time I can not active it either because as soon as I activate it it happens again!

I searched for tables in the database found one in the user table but it was helpless....

In the Table wp_options there should be 20 odd entries for this bridge. If you are using phpmyadmin select the table wp_options, click browse, show 800 records from 0 and search for vbb (F3 in Firefox)

laztrix 02-17-2009 11:01 AM

Quote:

Originally Posted by AzzX (Post 1746717)
In the Table wp_options there should be 20 odd entries for this bridge. If you are using phpmyadmin select the table wp_options, click browse, show 800 records from 0 and search for vbb (F3 in Firefox)

I digged in more and remove them on my own.Thank though

Senseya 02-17-2009 03:45 PM

Hey, and thank's for upgrade this mod ;)
But i can't us this because my forum it's under a subdomain
Code:

forum.plop.fr
and my site on
Code:

www.plop.fr
.
How can i fix the cookies bug ? it's possible ?

Thank you.

WorkerB 02-17-2009 04:13 PM

Quote:

Originally Posted by AzzX (Post 1746709)
How is your Users list in wp-admin displaying as WorkerB? All my users show as nothing, just checkboxes.

Hey there - mine are not. My Wordpress Users lists is also showing all blanks with the odd user as an Administrator. Unfortunately, I've had to disable the bridge for the time being.

I think I am seeing what others are seeing as well:
  1. visual editor strangeness
  2. user list showing up with blanks
  3. users showing up as Administrator in WP

tjpeople 02-17-2009 06:13 PM

Thanks again, Jafo232.

I heavily customised the WordPress template code you used in the older version, I have updated the plug ins, but not changed any code. Things still seem to be working? Is this what should happen, or do I have to update the template code? What am I missing using the old code?

Did you fix the bug I reported?
Bug Report: "soft deleted" Post replies/comments in vb still show up in wordpress

Many thanks.

Jafo: You can add my site if you wish http://www.malcolminthemiddle.co.uk/


All times are GMT. The time now is 10:51 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.01809 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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