miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Integrating into existing website

 
Author Bitfiddler
Partaker
#1 | Posted: 22 Mar 2011 17:08 
Apart from skinning and header an footer. The main problem is

I have my own registration page as the forums are a tiny part of the website. Can I

1. Use my own registration page and copy user records over at signup ?
2. Use my own login page and automatically log the user into the forum ?
3. Remove Login/Logout/Signup menus ?

Author Paul
Lead Developer 
#2 | Posted: 23 Mar 2011 07:36 
It's all is possible. But: check the synchronization guide at first. It's not that simple as you may imagine.

So answering your questions in detail:

Bitfiddler:
Use my own registration page and copy user records over at signup
Copying is a sign of a really bad lame programming. Your system should use only one members table. miniBB then could use such table as described in the Guide above.

Bitfiddler:
Use my own login page and automatically log the user into the forum
It more depends on your own script, how it sets cookies. miniBB could then read such cookie and verify the user based on your members table, and then log user in or not. In general, this based is the same practice as used above. So it's possible.

Bitfiddler:
Remove Login/Logout/Signup menus
Removing is the most easy part, just modify miniBB templates. To remove the Sign up, set

$enableNewRegistrations=TRUE;
in setup_options.php

Author Bitfiddler
Partaker
#3 | Posted: 24 Mar 2011 02:22 
Paul,

thanks. I have looked at over 40 forums, this is the most organised solution. Since its my own software, setting the cookie to whatever your stuff needs is not a problem. Since I am using session variable for my stuff, using cookie for yours will make it separate and tidy.

I will have a go this weekend.

Thanks

Author Paul
Lead Developer 
#4 | Posted: 24 Mar 2011 11:09 
You can also set up miniBB to use sessions. I think the explanatory guide I've mentioned above is based exactly on sessions :) Sessions also use cookies btw.

Specific miniBB Support Forums / Specific /
 Integrating into existing website
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑