Custom Table? Template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Timeout 19
    Member
    • Sep 2008
    • 36

    Custom Table? Template?

    Hi,

    I have this little table in my ForumHome and I was wondering if I could duplicate it on multiple pages with a simple code like this "$navbar".

    I change the table every week so I don't want to edit every code on every page it is on. Right now it's in the FORUMHOME template. Here is the code if this helps.

    Code:
    <!-- CUSTOM EVENTS -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    	<tr>
    		<td class="tcat" colspan="4">Upcoming Events</td>
    	</tr>
    </thead>
    
    
    <tbody>
    	<tr>
    		<td class="thead" colspan="4">
    			The upcoming Saturdays
    			
    		</td>
    	</tr>
    </tbody>
    
    <tbody style="smallfont">
    	<tr>
    
    
    	
    
                    <td class="alt2"><center><a href="http://teamtimeout.com/forums/calendar.php?do=getinfo&e=71&day=2009-6-20&c=1">
    
    Saturday, June, 20, 2009</br><img src="http://www.teamtimeout.com/forums/images/headers/minievent7.gif" alt="$vbphrase[calendar]" border="0" /></a></center></td>
    
                    <td class="alt1"><center><a href="http://teamtimeout.com/forums/calendar.php?do=getinfo&e=72&day=2009-6-27&c=1">
    
    Saturday, June, 27, 2009</br><img src="http://www.teamtimeout.com/forums/images/headers/minievent1.gif" alt="$vbphrase[calendar]" border="0" /></a></center></td>
    
                    <td class="alt2"><center><a href="http://teamtimeout.com/forums/calendar.php?do=getinfo&e=73&day=2009-7-11&c=1">
    
    Saturday, July, 11, 2009</br><img src="http://www.teamtimeout.com/forums/images/headers/minievent6.gif" alt="$vbphrase[calendar]" border="0" /></a></center></td>
    
                    <td class="alt1"><center><a href="http://teamtimeout.com/forums/calendar.php?do=getinfo&e=74&day=2009-7-18&c=1">
    
    Saturday, July, 18, 2009</br><img src="http://www.teamtimeout.com/forums/images/headers/minievent3.gif" alt="$vbphrase[calendar]" border="0" /></a></center></td>
    
    	</tr>
    </tbody>
    </table>
    <br />
    <!-- end CUSTOM EVENTS -->
    Is there any way I can do this?
  • Timeout 19
    Member
    • Sep 2008
    • 36

    #2
    Can I get some help?

    Comment

    • peterska2
      Senior Member
      • Oct 2003
      • 8869
      • 3.7.x

      #3
      You will need a plugin to do that. Please at at vBulletin.org for help with this.

      Also, please do not bump threads as per the forum rules www.vbulletin.com/go/rules

      Comment

      • Timeout 19
        Member
        • Sep 2008
        • 36

        #4
        Ok, thanks!

        Sorry for bumping.

        Comment

        • JamesC70
          Senior Member
          • Dec 2007
          • 113
          • 3.8.x

          #5
          Originally posted by Timeout 19
          I have this little table in my ForumHome and I was wondering if I could duplicate it on multiple pages with a simple code like this "$navbar".
          If you place your table in one of the advertising templates, it'll appear magically on all forum pages that call the ad templates. You might consider ad_header_end or ad_navbar_below.

          You might add some collapsible box code to your table, if the new location is significantly higher up the page than the old location. This will help compensate for your navbar or thread listings being pushed down the page to make room for your table.

          Comment

          • Timeout 19
            Member
            • Sep 2008
            • 36

            #6
            I actually found an article written by Peter on vBullutin.org and it helped me. It works now.

            This is what I found.

            ...but thanks anyway!

            Comment

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