Announcement

Collapse
No announcement yet.

announcements on forums home page?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • announcements on forums home page?

    Hi - Is there a way to make an announcement that appears on the home page? I am concerned that people either go directly to a posting, or are on the home page and will never see the announcements we post.

    Please advise.

    Thank you,
    Allen

  • #2
    The announcement system is only for forumdisplay pages. You can always edit an announcement directly into the template code. For example, edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> -> Forum Home Templates -> FORUMHOME

    Add the red code near the top. Change the blue code appropriately:

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    	<!-- no cache headers -->
    	<meta http-equiv="Pragma" content="no-cache" />
    	<meta http-equiv="Expires" content="-1" />
    	<meta http-equiv="Cache-Control" content="no-cache" />
    	<!-- end no cache headers -->
    	$headinclude
    	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
    </head>
    <body>
    $header
    $navbar
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="tcat" align="left">
    		Announcement
    	</td>
    </tr>
    <tr>
    	<td class="alt1" align="left">
    		YOUR ANNOUNCEMENT HERE
    	</td>
    </tr>
    </table>
    <br />
    
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    	<if condition="$show['guest']">
    	<!-- guest welcome message -->
    	<tr>

    Comment


    • #3
      thank you!

      Comment


      • #4
        Originally posted by Jake Bunce
        The announcement system is only for forumdisplay pages. You can always edit an announcement directly into the template code.
        Could this go as a feature request in a future version? I think it could be useful to have this kind of feature. Hardcoding is a bad idea - in my opinion.

        Comment


        • #5
          I don't see this requested often, but you can always post a suggestion in the suggestions forum.

          Comment


          • #6
            you miss close the </if> tag
            Mortal Kombat Nexus
            Pleae read before buying Ryan

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X