miniBB ® 

miniBB

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

Replace "guest name"-field with variable

 
Author Guest
~
#1 | Posted: 24 Sep 2013 17:11 
Hi to all,

I have a website with a basic login system. I dont want to integrate minibb completely. I just want to check if a session_id is set already , and when its set go get the username and post it instead of letting guests choose their nickname.
Does anyone know wich file i'll want to edit?

Thank you a lot in advance :)

Author Paul
Lead Developer 
#2 | Posted: 24 Sep 2013 21:46 
MiniBB has just two files for authorization/logging procedure:

- bb_func_login.php - contains the code to handle the login routine itself, i.e. when a user submits the "Login" button after entering Username/Password on the main page, or internal thread pages. Most of the routine could be caught in setup_options.php or bb_specials.php, if you have something significantly different. In other cases, it's better to leave this file by default, then it will be easier in upgrades. But it's up to you.

- bb_cookie.php - the set of functions, which read the authorization cookie, parse its value and consider, if user is logged or not.

Most possibly you should take a look in both of files. Hope you know what to do next.
Good luck!

Specific miniBB Support Forums / Specific /
 Replace "guest name"-field with variable
 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.


  ⇑