miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Integrating into existing website

Author Bitfiddler
Registered
#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
Registered
#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 Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB