miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual | miniBB Mobile
Master Class miniBB Support Forums / Master Class /   

Integration with external DB and Session management

Page  Page 6 of 6:  « Previous  1  2  3  4  5  6  
Author AshD
Guest
#76 | Posted: 19 Oct 2010 17:53 
Hoping this forum is still managed.

Love the intergration walkthrough... it almost worked.
I'm intergrating into an existing custom login system on a site i'm working on and wanted to incorperate a forum into the members area. The walkthrough worked a treat, however, I not can't access admin. The admin login ID isn't '1' either which I fear is my first issue. Apart from in bb_admin.php and the points in the new bb_cookie.php (from the walk through), is there anywhere else that checks that its authorised to allow a particular user into the admin?
Author Paul
CEO
#77 | Posted: 20 Oct 2010 03:51 
AshD:
The admin login ID isn't '1' either which I fear is my first issue.

Yes, it should be 1. You may easily change it in the database.
Without this condition, miniBB's admin won't work. It would require too many stuff to re-program, not just bb_admin.php (which actually you should NOT touch while synchronizing members!!), but also many core files and add-ons where this condition is built-in. Just change it in database.
Author Bitfiddler
Registered
#78 | Posted: 26 Mar 2011 06:25 
I have been using the synchronizing_minibb.html and have almost finished the integration. It is operational. Some issues

1. The creation of table uses TYPE , this is now called ENGINE
2. In my case the user_id is unique (not the username), so I have changed bb_cookie appropriately.
3. Does this have other impact inside the forums ?
4. Inside the forum, it still shows Logout and SignOut. How can I remove them. My own menu has Logout. Logging out o fteh forum (but not from the site seems confusing to users).
5. user's num of posts and number of topics fields are not getting updated. Is thsi because of point 2 ?
Author Paul
CEO
#79 | Posted: 28 Mar 2011 03:50 
Both user_id and username preferably should be unique. Else how do you imagine a login routine having the same usernames? :) Synchronization guide mentions that user_id must be numerical besides of unique, too.

Logout link may be removed from templates/user_logged_in.html

Number of posts/topics field should be updated not regarding any of your mentioned issues. Re-check $dbUserSchema once again, it could be probably because you have put a wrong numerical index for those fields or different names.
Author Guest
#80 | Posted: 28 Mar 2011 05:26 
Paul, the login requires their email (which is unique). But its also private so I cant use as a username for the bbs.
Author Paul
CEO
#81 | Posted: 29 Mar 2011 04:46 
Ah ok then. Then you must have a unique username anyway :) Two crossing usernames on the same forum would look confusing. Good luck!
Page  Page 6 of 6:  « Previous  1  2  3  4  5  6 
Master Class miniBB Support Forums / Master Class / Integration with external DB and Session management Top
Your Reply Click this icon to move up to the quoted message
 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Attract your miniBB-community, letting members
publish their own photos with the Photo album add-on!
Photo album addon for miniBB