miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

How To Present A Message To Members After Logging In

Author michael1234
Registered
#1 | Posted: 13 Jan 2007 21:43 | Edited by: michael1234 
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
Registered
#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 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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB