PDA

View Full Version : "Free membership" shown to guest users


TMM
05-05-2003, 12:56 PM
Hi!

I'd like to display a message stating that "Membership is free!" to unregged users on the forums homepage, maybe next to the login user/pass box.

This should obviously only be visible to guests.

How should approach this?

TMM

amykhar
05-05-2003, 01:58 PM
Customize the forumhome_unregmessage template to say what you want to say. Then, it's just a matter of moving the $unregwelcomemessage variable in the forumhome template to where you want it.

Amy

TMM
05-05-2003, 06:41 PM
Thanks - but where/when exactly is this message supposed to show up? I can't see it by logging out and then visiting the forum index page...

Could this perhaps be due to my skin/style?

amykhar
05-05-2003, 11:24 PM
Can't tell because you don't have your site listed here.

Amy

TMM
05-05-2003, 11:31 PM
The site can be found at http://www.taxi24.no/forum .

As you can see, it is in Norwegian - however you probably get the picture anyway...

Thanks,

TMM

amykhar
05-06-2003, 12:50 AM
The style is missing the unregistered user message. Just put the variable $unregwelcomemessage in your forumhome template whereever you want it and edit the forumhome_unregmessage template to say what you want to say.

Not hard at all :)

Amy

TMM
05-06-2003, 12:52 AM
Thanks a lot, I'll give it a try!

TMM
05-07-2003, 01:16 PM
Perhaps someone could help me out a bit when it comes to placing the $unregwelcomemessage - I'd like it between the $bbtitle and $logincode, on the same line and in a nice looking fashion... . This is from the forumhome template of my board:<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><a href="javascript:window.location=window.location" oncontextmenu="return false;"><img src="{imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
<normalfont><b>$bbtitle</b></normalfont></td>
<td align="right">$logincode</td>
</tr>
</table>

<!-- $unregwelcomemessage -->

<!-- WhosOnline -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
$loggedinusers
$birthdaybits

Thanks for your help!

TMM