vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - ipbAuth - Use old Invision Power Board Passwords after migrating to vBulletin (https://vborg.vbsupport.ru/showthread.php?t=236012)

ozzy47 07-11-2010 04:11 PM

Is their a way to have my ipb v2.3.6 board read the members and passwords from vb 4.0

I have ipb for my arcade and need my vb forum members to be able to use their vb log on info at my ipb board

bigrover 08-06-2010 03:26 PM

This mod solved a big problem and saved me a lot of work. Thank you for putting in the time to code this solution. I also appreciate the level of commenting in your code. It made it very easy for me to see what was happening, know what to expect in the old IPB database to confirm it worked, and allowed me to make a change to search on a different field when looking up the userid. Good work.

deven316 02-21-2011 08:12 PM

HELP!!

I tried to install this mod as i have upgraded from IPB 2.3.6, i thought i followed the directions correctly, but when i try and login with any username i get this error

Parse error: syntax error, unexpected $end in /home/goozebum/public_html/forums/ipbAuth/controller.php on line 85

briggsbw 02-21-2011 08:35 PM

I'm guessing this will work for IPB 2.3 to vB 3.8 as well with some table name changes?

cpvrx 02-25-2011 07:02 AM

Great plugin!

Rebecca217 03-10-2011 01:15 PM

Quote:

Originally Posted by briggsbw (Post 2165145)
I'm guessing this will work for IPB 2.3 to vB 3.8 as well with some table name changes?

I'm curious about this, too.

Btw, excellent idea, and thanks so much for posting this mod!

ripley 01-12-2013 05:51 PM

Receiving the following:

Fatal error:

A required field called import_ipbpass is missing or has an invalid value.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 849

onespot 05-02-2013 06:18 AM

Hey Everyone - I spent a hell of a lot of time trying to get some functionality that I was just able to finally get wanted to share with everyone.

Basically my clients IPB didn't rely on usernames - it was mostly email addresses so I wanted this process to ALSO check if the user typed in an EMAIL address into the login and initiate this script properly if email matched the "email" field in IPB.

I then use https://vborg.vbsupport.ru/showthread.php?t=275348 which will take over the login process AFTER the new PW is saved.

All you need to do is edit the controller.php file in your ipbauth folder:

Find
PHP Code:

function fetch_userid_from_username($username) {
        global 
$vbulletin;
        if (
$user 
            
$vbulletin->db->query_first("SELECT userid 
                 FROM " 
TABLE_PREFIX "user WHERE username = '" 
                 
$vbulletin->db->escape_string(trim($username)) . "'")) {
                return 
$user['userid'];
        } 

Add Below:
PHP Code:

else if ($user 
            
$vbulletin->db->query_first("SELECT userid 
                 FROM " 
TABLE_PREFIX "user WHERE email = '" 
                 
$vbulletin->db->escape_string(trim($username)) . "'")) {
                return 
$user['userid'];
        } 

Works like a charm!

I'm no programmer so use this at your own risk - I very well could be missing something and it could not be doing something that is important here...


All times are GMT. The time now is 07:34 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.01072 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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