miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

How To Present A Message To Members After Logging In

 
Author michael1234
Partaker
#1 | Posted: 13 Jan 2007 21:43 
Is there a way to present a message to a user after logging in? I would like it to appear as a regular page, similar to the disclaimer, then proceed to the forum. I would only like this message to be seen once, after logging in, if possible and not re-appear after a second login session.

Thanks.

Michael

Author Paul
Lead Developer 
#2 | Posted: 18 Jan 2007 14:28 
Try the following (non-core-destructive!) solution:

1) Download/unpack the template login.html and drop it in /templates/ folder (modify on your wish)

2) At the end of setup_optons.php file BEFORE closing ?> paste the code line:

if (isset($_POST['mode']) and $_POST['mode']=='login') $metaLocation='login';

It works on my side...

Author michael1234
Partaker
#3 | Posted: 20 Jan 2007 16:40 
Great work! Thank you.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 How To Present A Message To Members After Logging In
 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
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑