vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [vB 3.5.4] Defect in advertisement of the header (https://vborg.vbsupport.ru/showthread.php?t=116361)

Svenna 05-22-2006 08:40 AM

[vB 3.5.4] Defect in advertisement of the header
 
1 Attachment(s)
I try to announce the advertisement at the header besides my logo for some information but it somehow does not work!

Quote:

Mitglieder: => $numbermembers
Themen: => $totalthreads
Beitr?ge: => $totalposts
Online: => $totalonline

Neustes Mitglied: => $newusername
1. are these variable ones right?


important to here this one:
PHP Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="499"><img src="$stylevar[imgdir_misc]/header_mid_left.jpg" alt="" width="499" height="105"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_mid_bg.jpg);"><div align="right">
      <
p><span class="statstext1"><span class="statstext2"><span class="statstext4"><strong>Mitglieder:</strong$numbermembers<br>
            <
strong>Themen:</strong$totalthreads<br>
            <
strong>Beitr&auml;ge:</strong$totalposts<br>
            <
strong>Online:</strong$totalonline</p>
      <
class="statstext3"><strong>Neustes Mitglied:</strong> <a href="$vboptions[bburl]/member.php?u=$newuserid"
        
$newusername</p>
    </
div></td


this is the complete template:
PHP Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td style="background-image:url($stylevar[imgdir_misc]/border_left_bg.gif); background-repeat:repeat-y;" width="69" valign="top"><img src="$stylevar[imgdir_misc]/border_left.gif" alt="" width="69" height="260"></td>
    <
td>




<
style type="text/css">
<!--
.
statstext1 {font-familyTahoma}
.
statstext2 {font-size10px}
.
statstext3 {
    
font-familyTahoma;
    
font-size10px;
    
color#FFFFFF;
}
.
statstext4 {color#FFFFFF}
-->
</
style>

<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="223"><img src="$stylevar[imgdir_misc]/header_top_left.gif" alt="" width="233" height="24"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_top_bg.gif);">&nbsp;</td>
    <
td width="51"><img src="$stylevar[imgdir_misc]/header_top_right.gif" alt="" width="51" height="24"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="499"><img src="$stylevar[imgdir_misc]/header_mid_left.jpg" alt="" width="499" height="105"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_mid_bg.jpg);"><div align="right">
      <
p><span class="statstext1"><span class="statstext2"><span class="statstext4"><strong>Mitglieder:</strong$numbermembers<br>
            <
strong>Themen:</strong$totalthreads<br>
            <
strong>Beitr&auml;ge:</strong$totalposts<br>
            <
strong>Online:</strong$totalonline</p>
      <
class="statstext3"><strong>Neustes Mitglied:</strong> <a href="$vboptions[bburl]/member.php?u=$newuserid"
        
$newusername</p>
    </
div></td>
    <
td width="49"><img src="$stylevar[imgdir_misc]/header_mid_right.jpg" alt="" width="49" height="105"></td>
  </
tr>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="199"><img src="$stylevar[imgdir_misc]/header_bot_left.jpg" alt="" width="199" height="64"></td>
    <
td style="background-image:url($stylevar[imgdir_misc]/header_bot_bg.jpg);">&nbsp;</td>
    <
td width="27"><img src="$stylevar[imgdir_misc]/header_bot_right.jpg" alt="" width="27" height="64"></td>
  </
tr>
</
table>
<
table style="background-image:url($stylevar[imgdir_misc]/links_bg.gif);" width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="93"><img src="$stylevar[imgdir_misc]/links_left.gif" width="93" height="53"></td>
    <
td width="57"><a href="index.php"><img src="$stylevar[imgdir_misc]/links_home.gif" width="57" height="53" border="0"></a></td>
    <
td width="79"><a href="usercp.php"><img src="$stylevar[imgdir_misc]/links_usercp.gif" width="79" height="53" border="0"></a></td>
    <
td width="91"><a href="register.php"><img src="$stylevar[imgdir_misc]/links_register.gif" width="91" height="53" border="0"></a></td>
    <
td width="91"><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/links_members.gif" width="91" height="53" border="0"></a></td>
    <
td width="53"><a href="faq.php"><img src="$stylevar[imgdir_misc]/links_faq.gif" width="53" height="53" border="0"></a></td>
    <
td width="78"><a href="search.php"><img src="$stylevar[imgdir_misc]/links_search.gif" width="78" height="53" border="0"></a></td>
    <
td><div align="right"><img src="$stylevar[imgdir_misc]/links_right.gif" width="64" height="53"></div></td>
  </
tr>
</
table>




<!-- 
content table -->
$spacer_open

$_phpinclude_output 


has added a screenshot, so that one also sees where once again the problem lies.

kall 05-22-2006 09:08 AM

Does it work if you place it in the footer?

Or another template? FORUMHOME?

If so, you could try using an positional <div> to do what you need.

smacklan 05-22-2006 10:50 AM

In order for these stats to work, you need the following mod:

https://vborg.vbsupport.ru/showthrea...tats+in+header

Read the thread carefully as there are two versions of the plugin...one for sites who's database tables use prefixes and one for sites who's databases use no prefixes.

Svenna 05-24-2006 05:38 PM

hello john,

donĀ“t works! I have tried all sorts of things, 2 has changed a little different plugins tried but nothing of this.

I cannot really find 2 different versions either ...


All times are GMT. The time now is 03:56 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.01057 seconds
  • Memory Usage 1,798KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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