Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2006, 08:40 AM
Svenna Svenna is offline
 
Join Date: May 2005
Location: Hamburg, Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [vB 3.5.4] Defect in advertisement of the header

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.
Attached Images
File Type: jpg headererror.JPG (9.8 KB, 0 views)
Reply With Quote
  #2  
Old 05-22-2006, 09:08 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 05-22-2006, 10:50 AM
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-24-2006, 05:38 PM
Svenna Svenna is offline
 
Join Date: May 2005
Location: Hamburg, Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:58 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.06030 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete