MyBB Community Forums

Full Version: Portal Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I go about putting a message in the portal, that will stay constantly? I'm looking for something around the nature of, "Welcome to ...! Please get registered and ..."

(I did a search, and found nothing.)

- Lucas
You could always edit the portal template Smile

ACP -> Templates -> 'portal' template

[wiki]Admin_CP_Templates#Portal_Templates[/wiki]
Tikitiki Wrote:You could always edit the portal template Smile

ACP -> Templates -> 'portal' template

[wiki]Admin_CP_Templates#Portal_Templates[/wiki]

Is there no plugin for something like this? To be honest, I don't even know which part of the template to amend.
No, there isn't a mod that does this. I'm sure someone can help you place the html though. (I've got to be going to school now)
ACP > Templates > Modify / Delete > *Template Set* > Portal Templates > portal

Find:
{$announcements}
Add above:
<table class="tborder" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="thead"><strong>Welcome Guest!</strong></td>
</tr>
<tr>
<td align="center" class="trow1">"Welcome to ...!  Please get <a href="member.php?action=register">registered</a> and ...</td>
</tr>
</table>
<br />
If you want this to only display for guests, you would need a plugin or a code mod. I might wip one up today or tomorrow if I get a chance. Smile
Alternatively you can use the conditionals template modification which is available somewhere in the code modifications forum (make a search for it).
Christian, it worked like a charm! Thank you!