vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

redraider 04-30-2008 04:02 PM

Jafo could you please help me with the problem where the "Read More" URL doesnt get posted properly?

Thanks

Hi Jafo,

Could you help us solve this problem. The problem started after we upgraded to WP2.5 and latest vbridge.:

On further investigation I see this, the permalink system on my blog is like this:
/%year%/%postname%/

%year% gets converted to 2008.... somehow the plugin is not converting the %postname% variable to the correct postname when the thread is posted to the forums. The "Read More" Link has this URL

2008/%postname% instead of 2008/name-of-the-post ... in other words %postname% doesnt get changed to the correct URL
__________________

nicholas.alipaz 04-30-2008 04:33 PM

I am on a Windows Server. Is there anything that would cause this not to work because of it? I am having tons of path issues. Even issues finding global.php.

I defined $vwd as F:\Domains\mysite\forum and it doesn't seem to work. What should I use if this isn't right?

pspcrazy 04-30-2008 05:16 PM

Wow thanks for fixing the bugs ;) Now I can go wild and upgrade, your great as always!!

VNefedov 04-30-2008 05:23 PM

Thanx Jafo232! Have new version installed.

Jafo232 04-30-2008 05:33 PM

Quote:

Originally Posted by nicholas.alipaz (Post 1503573)
I am on a Windows Server. Is there anything that would cause this not to work because of it? I am having tons of path issues. Even issues finding global.php.

I defined $vwd as F:\Domains\mysite\forum and it doesn't seem to work. What should I use if this isn't right?

You may want to try running this script in your wordpress document root and calling it directly:

Code:


<?php

// current directory
echo "My current working directory is " . getcwd() . "\n";

?>

It could point you in the right direction.

tekknikal 04-30-2008 06:18 PM

thanks for the update. will be trying this on my test site today. will first update vb, then wp.
edit -> updated my test site. i closed the forums, deactivated the plugin.. updated to vb37.. then turned on forums (forums worked)..then updated plugin. for some reason the content on the main page wasnt loading. i went directly to the wp cp though (manually went to url) and reactivated the plugin + configured it, and now everything seems to work...

nicholas.alipaz 05-01-2008 12:39 AM

Quote:

Originally Posted by Jafo232 (Post 1503644)
You may want to try running this script in your wordpress document root and calling it directly:

Code:


<?php

// current directory
echo "My current working directory is " . getcwd() . "\n";

?>

It could point you in the right direction.

Thanks for the quick response. I will give this a shot tomorrow and report back. I'll see if we can get a little info for those people using IIS.

mikesz 05-01-2008 02:56 AM

Hello Jafo,

I have just installed 3.03 on 3.7.0 with WP 2.51 and functionally, it works correctly now.

The display on the mapping page is also working correctly for the box / dropdown content but the dropdown on the selection of the forum is "mudged" like the mapping page was in the previous version that did not work.

It recognizes forum users as it should but the odd thing is that you have to refresh the WP page because the first screen does not have the member logged in but the refresh brings up the correct page with the correct member greeting at the top of the page. So, it "looks" like its not working on the first pass but the refresh brings up the correct screen.

The other oddity that I noticed was that I entered the URL in the vbbridge setting for my forum and it got pretty confused like, it loaded www.mysite.com/www.mysite.com in the browser so I got a fair number of 404 until I removed it in the vbbridge setting so the URL field there is now empty and it works happily.

Thanks for the quick turn around. I appreciate it.

edit :

I can not find any definition in WP for class="inputbox" though I am sure that it was there at some point it does not seem to exist now. I changed the "size" parameter to "tabindex" and it now act like a regular dropdown menu which is fine with me. I could not get it to display the five line box for some reason, though if I copied that code to an html file it did display as intended but not in WP?
BTW, near the end of that function, it has a <P> tag that doesn't appear to be related to anything and it doesn't close either as far as I can see.


regards, mikesz

nicholas.alipaz 05-01-2008 11:54 AM

Jafo, it looks like the directory I named earlier is correct minus the \forum.

F:\Domains\joomla

is what came up in my test. So is this the directory I should specify for $vwd? Or do I need the \forum part as well?

If so, won't this cause some issues with forward slashes versus back slashes? If so, what would I need to change?

As for the rest of the setup in Vbridge Settings:
For my Forum URL, should it be the root of my forum? i.e. - http://community.mysite.com/forum
Forum relative path would be: /forum

I am sorry for so many questions, it seems that things always seem to be so different on IIS and I just want to confirm these settings before I mess it up again. ;)

Thanks again for your time,
--
Nicholas

Jafo232 05-01-2008 12:09 PM

It looks like you uploaded that script into your Joomla directory.. Is that where wordpress is?


All times are GMT. The time now is 11:01 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.02849 seconds
  • Memory Usage 1,746KB
  • 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_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