![]() |
Hi,
Im using ArbuZz's code base and its working create; i am using it as well as a SSO bridge between my app and the integrated vbulletin board. Once thing i would like to achieve is that as soon as I trigger the login call for a user through my busines logic not only the session cookie is set but that that partiular users appears as online within vbulletin as well. Is this something that can be achieved through the Data API as well? //Thomas |
Thank you, and thank you! This fixed my problem.
Quote:
|
After hours of hacking at this, I am once again stuck. I have included this code in my CMS.
Code:
if ($vbswitch == 'Y') { and lower down Code:
if ($vbswitch == 'Y') { Database object is not an object in [path]/includes/class_dm.php on line 172 I am stumped. I tried adding the global hack referenced a few posts back, and it did nothing for me. I am spending more time trying to get VB rgistration integrated that I am writing my entire CMS!!! ARRRGGGHHH !!!!! I would gladly pay someone to do this for me if I could find them. ********************************** Nevermind. I just wrote my own object. WAY faster and easier. |
Quote:
Try the following workaround: PHP Code:
|
Thanks. I had already tried that, then removed it. That was my reference to "the global hack referenced a few posts back". It did not help. At this point I am creating a new user and maintaining critical fields managed with some SQL directly into the vB database. As soon as I figure out cookies and login, I am good to go. That is, until vB changes the user scheme, at which time i will have an ongoing maintenance nightmare. OTOH it took me 2-3 hours to figure out and write the custom code from scratch, and I spent many more hours than that (and got more frustrated) trying to research and utilize the VB object library.
Added ----- After more review, I see that you added lines relating to $backupdb. That may have done the trick, but dealing with vB and its programming philosophy is just a nightmare, and I am too close to done to go backwards again. Thanks for your effort though. |
I am porting all my users from a social networking site (Drupal CMS) to our new vBulletin forum, but having a small issue.
Since all Drupal passwords are already MD5'ed, I am simply creating vBulletin users manually by connecting to the vBulletin database and inserting the appropriate data into the user-table, the userfield-table and the usertextfield-table. (Since this is what I gather from the vBulletin registration script) The users are created fine and working well, except that all users created with my script get the "Guest" title in their forum posts. And I just can't figure out why. There are no users in the unregistered/guest usergroup (where people are assigned the "Guest" title), so that's not it. We have no "Guest" user title in the User Title Manager, so that's not it either. I'm assuming I'm missing to add some data to some table for each user. Would someone here be able to offer some help? Thanks in advance. |
Quote:
If not, you have to set the usergroup id for each member: $newuser->set('usergroupid', 2); |
Quote:
Problem not really solved, but vBulletin's own "fix broken user profiles" feature does correct the user profiles, and I'm ok with this for now. |
usergroupid=2 is normally the default setting for the 'registered users' group.
Go to http://www.YourForumAddressHere.com/....php?do=modify and use whichever number for the usergroupid that you want to set for each member you're importing. The usergroupid sets the permissions that you want the user to have on the forums. Is that clearer for you? |
I appreciate the effort, but I am aware of all this. Unless there is another database table related to the usergroups, the usergroups do not seem to be the problem here.
Quote:
|
All times are GMT. The time now is 06:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|