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)

RobInjection 02-15-2009 08:24 PM

I had the plugin working fine before. Then I upgraded and it took away my WP access. I did not see any instructions to re-map users when upgrading :(

Jafo232 02-15-2009 09:02 PM

Quote:

Originally Posted by Shana (Post 1745249)
The admin account shouldn't be replaced under any circumstances, it's the original and has all the settings / permissions, no? I put all users as 'regular users' assuming the admin account would be there. I cannot disable the plugin and re-enable it as the settings are still there.

It would be nice if the admin account stayed while the others were imported.

Unfortunately, the Wordpress engine is not built that way. If you read a couple posts back, I show you how to disable the settings.

RobInjection 02-15-2009 09:03 PM

Woohoo, thanks for the tip about editing my database. I got it working.

Now my question is, is there any way I can call the user's avatar and their User ID within Wordpress? Then, this would be bliss!

Thanks

Jafo232 02-15-2009 09:03 PM

Quote:

Originally Posted by RobInjection (Post 1745268)
I had the plugin working fine before. Then I upgraded and it took away my WP access. I did not see any instructions to re-map users when upgrading :(

You do not have to remap users. Are you sure you are logging in with a VB user that is an administrator?

Jafo232 02-15-2009 09:08 PM

Quote:

Originally Posted by RobInjection (Post 1745301)
Woohoo, thanks for the tip about editing my database. I got it working.

Now my question is, is there any way I can call the user's avatar and their User ID within Wordpress? Then, this would be bliss!

Thanks

Yes, you can. Make sure $vbulletin is global (global $vbulletin;) then:

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">
Or if you mean the article AUTHORS avatar:

Code:

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

RobInjection 02-15-2009 09:41 PM

Awesome thanks.

I just noticed that all my users have been mapped to be Administrators.

This is really weird, because in the settings page the only Users that I set to map to anything were Admins to Admins.

Did I do something wrong?

RobInjection 02-15-2009 10:05 PM

Just to add to what I posted above,

All of my Wordpress users have been remapped. The plugin is causing WP to remap usernames to user IDs, resulting in all my post authors being changed.When I search for a user in WP the result would be a different user who is now occupying the 1st users previous ID.

Any idea why this is happening?

AzzX 02-15-2009 10:19 PM

1 Attachment(s)
I just noticed I have lost the Visual editor in Wordpress with the plugin enabled, disabling the plugin it comes back. See attached image.
I have tried disabling all my other plugins to find a conflict but couldn't find an issue.

The user list in Wordpress shows up as blank invalid users though the bridge is working fine using a vb admin. Is this OK?

Thanks.

RobInjection 02-15-2009 10:30 PM

Can you explain to me where I should declare the global $vbulletin?

I put this code into my comments section and it didn't work. It didnt grab any vB references.

Code:

<?php global $vbulletin; ?>

<?php echo $vbulletin->userinfo['username'] ?>'s

<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">


remotay 02-16-2009 01:56 AM

Another serious issue, Perhaps it's because I'm upgrading....

Upon enabling the new version of the Vbulletin bridge, ALL of my Wordpress users show as 'administrator' on wordpress. I have them mapped to become 'subscribers'. The only users mapped to be admins are Administrators.... I Had to disable the plugin for security purposes. Ugh >_>. Any suggestions on getting this to work properly now...?


All times are GMT. The time now is 05:50 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.01888 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
  • (3)bbcode_code_printable
  • (3)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