Jump to content
  • 0
Sign in to follow this  
Alexandria

Message doesn't appear in a custom theme for fluxcp

Question

Hello guys

 

I have a fluxcp theme for rathena but i tried to update it to hercules version.

 

So far so good until someone makes a new account.

 

When you register in the default theme, it shows up this message:

 

wG7hhzs.png
 

But in my custom theme does not show the message "An e-mail has been sent containing...." after registration.

 

So Im wondering what file should have this code. Thank you.

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

@@Alexandria I had this same problem and I figured out the issue.. but I don't remember what I did. I'll update you if I can remember :P



EDIT: did you enable email verification?

Edited by Aeromesi

Share this post


Link to post
Share on other sites
  • 0

Hi Aeromesi.

 

In the default theme works good. We can read the "An e-mail has been sent containing account activation details, please check your e-mail and activate your account to log-in."

 

But when we change the theme to a custom theme. It direct to the "index" page but without the message.

 

PS: What do you mean with "did you enable email verification?" ??

 

Thank you for answering.

Share this post


Link to post
Share on other sites
  • 0

Messages generated in modules and store in session. This code output this is messages^

 

<!-- Messages -->                                <?php if ($message=$session->getMessage()): ?>                                    <p class="message"><?php echo htmlspecialchars($message) ?></p>                                <?php endif ?> 

You can put this code in any field your tempate.

Share this post


Link to post
Share on other sites
  • 0

Messages generated in modules and store in session. This code output this is messages^

 

<!-- Messages -->                                <?php if ($message=$session->getMessage()): ?>                                    <p class="message"><?php echo htmlspecialchars($message) ?></p>                                <?php endif ?> 

You can put this code in any field your tempate.

 

Thank you for answering. But in what file do you want me in insert that code?

Share this post


Link to post
Share on other sites
  • 0

 

Messages generated in modules and store in session. This code output this is messages^

 

<!-- Messages -->                                <?php if ($message=$session->getMessage()): ?>                                    <p class="message"><?php echo htmlspecialchars($message) ?></p>                                <?php endif ?> 

You can put this code in any field your tempate.

 

Thank you for answering. But in what file do you want me in insert that code?

You can put any file in your template. But if i understand - you want to get the same result as in the default theme. Then yoy put this code in index.php or any other file that the theme is based on a template and always displayed. In default theme is a file - themes/default/header.php

Edited by mirivlad

Share this post


Link to post
Share on other sites
  • 0

Thank you! It works good now!

 

Last question, where can I change the color font and the background? (About this message)

in css stylesheet your theme - class - message.

 

 

.message{background-color: #faa;color: #222;} 

Share this post


Link to post
Share on other sites
  • 0

 

Thank you! It works good now!

 

Last question, where can I change the color font and the background? (About this message)

in css stylesheet your theme - class - message.

 

 

.message{background-color: #faa;color: #222;} 

 

Thank you! It worked :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.