vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Header template shows different on certain pages (https://vborg.vbsupport.ru/showthread.php?t=145483)

aacircle 04-22-2007 08:47 AM

Header template shows different on certain pages
 
Hello,

I have modified my header template to include the below code:

Code:

  <tr>
    <td width="226" style="background-color: #E8E4AD" height="72">
      <a href="http://www.aacircle.com.au">
      <img border="0" src="http://www.aacircle.com.au/images/AAC%20logo.gif" width="211" height="51"></a></td>

    <td style="background-color: #E8E4AD" width="100%" align="$stylevar[right]" valign="middle" height="72">

<!-- SPODs START -->
<table
 style="border: 1px solid rgb(232, 228, 173); background-color: rgb(232, 228, 173); font-family: Arial,Helvetica,sans-serif; font-size: 12px;"
 cellpadding="0" cellspacing="0" height="60"
 width="468">
  <tbody>
    <tr>
      <td colspan="9" bgcolor="#5e7fa7"> &nbsp;
      <a href="http://friends.aacircle.com.au"><font
 color="#ffffff"><b>AAC Friends</b> - Join Now,
FREE!</font></a> </td>
    </tr>
    <tr style="font-size: 8pt;">
      <script language="javascript"
 src="http://cache.meta4-group.com/aac/spods.js?locale=en_US&amp;count=8"
 type="text/JavaScript"></script>
      <script language="javascript">
for (var i = 0, n = wfSPODArray.length; i < n; i++) {
var spod = wfSPODArray[i];
if (spod.nickname.length>10) spod.nickname = spod.nickname.substr(0,8)+'...';
spod.link = 'http://friends.aacircle.com.au';
spodHtml = '<td align="center"><a href=' + spod.link + '><img src=' + spod.photo.url + ' width=50' +' height=50 border=1 hspace=2 vspace=2' + '></a></td>';
document.write(spodHtml);
}
      </script></tr>
  </tbody>
</table>
<!-- SPODs END -->


    </td>
  </tr>

The "Friends Pics" are showing ok in the header at www.aacircle.com.au/forums/ , however if you clidk on threads or categories, they don't show on the page. Eg: www.aacircle.com.au/forums/f19/ doesn't show the "Friends Pics", whereas www.aacircle.com.au/forums/calendar.php would. It seems only threads and categories cannot show the "Friends Pics".

Does anyone have any suggestions?

Thank you.


All times are GMT. The time now is 09:14 AM.

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.00990 seconds
  • Memory Usage 1,711KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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