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)

vsumargo 01-09-2009 05:46 AM

First, thank you for this great plugins!

When i integrated the plugins to wordpress, i didn't map the wordpress administrator usergroup to vbulletin administrator usergroup.
Now the problem i'm facing is, i cannot enter my wordpress admin dashboard. The admin login i'm using to vbulletin work, but it gave me "wordpress editor dashboard" for admin.

I still have another wordpress login which has administrator right. How to delete this bridge database and start over? I wish to map the word administrator usergroup to vbulletin administrator usergroup.

Thanks

skariko 01-09-2009 08:05 AM

If anyone is interested i've solved the problem changing this line:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

to this:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . 'login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

MadsK 01-09-2009 10:33 AM

Quote:

Originally Posted by skariko (Post 1706041)
If anyone is interested i've solved the problem changing this line:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

to this:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . 'login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

So now it works with VB 3.8? As far as you know?

skariko 01-09-2009 11:46 AM

Quote:

Originally Posted by MadsK (Post 1706149)
So now it works with VB 3.8? As far as you know?

Yes, for me is all ok (with this small modification).
I have Wordpress 2.7 and VBulletin 3.8 installed and the bridge works.. i don't use the 'posting' but i use only the bridge user and it all works :)

MadsK 01-09-2009 02:42 PM

Sounds great. I'll be using both 2.7 and 3.8 for my new website and only using it for the user stuff not posting so.

Thanks for the modification :D

Shaliza 01-10-2009 09:44 AM

That's good to know. I was really only trying to merge users. That's the biggest deal here, so thanks for that small mod.

MadsK 01-10-2009 10:16 PM

I've just switched host and now i get this problem everytime i turn on auto integration. I can turn the plug in on all right.

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/swtorco1/public_html/wp-content/plugins/vbbridge.php on line 454
cannot load /usr/local/apache/htdocs/home/swtorco1/public_html/forum/global.php. You should check your path!

So i uncommented and wrote in the relative path $vwd = '/home/swtorco1/public_html/forum';

but the problem still persists. I don't know why it goes out and gets /usr/local/apache/htdocs - i haven't specified that anywhere. Can someone help me?

tafreeh 01-12-2009 12:35 AM

does it work wid wp2.7 and vb 3.8 ?
if not can some1 update dis please?

PGP 01-12-2009 08:02 AM

Quote:

Originally Posted by skariko (Post 1706041)
If anyone is interested i've solved the problem changing this line:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

to this:

echo "<script> location.href = \"" . get_option('vbb_VBURL') . 'login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;

The right is to change
Code:

echo "<script> location.href = \""  . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;
to this
Code:

echo "<script> location.href = \"http://"  . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;
This will solve '404 error' problem if you specify you forum URL in settings without http://

P.S. VB ver 3.8.*

skariko 01-12-2009 10:17 AM

Quote:

Originally Posted by PGP (Post 1709464)
The right is to change
Code:

echo "<script> location.href = \""  . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;
to this
Code:

echo "<script> location.href = \"http://"  . get_option('vbb_VBURL') . '/login.php?do=logout&logouthash=' . $vbulletin->userinfo[logouthash] ."\"; </script>"; exit;
This will solve '404 error' problem if you specify you forum URL in settings without http://

P.S. VB ver 3.8.*

I try this but the link became:

http://http//www.etcetcetc

and it goes to a 404 page :)


All times are GMT. The time now is 08:14 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.01722 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_code_printable
  • (4)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
  • (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