vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   "Free membership" shown to guest users (https://vborg.vbsupport.ru/showthread.php?t=52607)

TMM 05-05-2003 12:56 PM

"Free membership" shown to guest users
 
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:
Quote:

<!-- 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


All times are GMT. The time now is 05:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete