vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   New Online Users Template (https://vborg.vbsupport.ru/showthread.php?t=86222)

imported_ULTIMATESSJ 02-06-2003 03:35 PM

New Online Users Template
 
Something that i would really like, would be if someone can make a template, which joins the online users and onloine users today (from a hack) into one halfed table, it would look pretty good

Tony G 02-07-2003 03:10 AM

Halfed table? Like split half way?

imported_ULTIMATESSJ 02-07-2003 03:56 PM

yep, so that the users online are on the left side, and the users today are on the right side, the tables could look the same, but he split down the middle

Tony G 02-07-2003 08:20 PM

Quite simple, just make sure they use the same <tr> tag. When you want them tp split, add a </td> and then start a new one. Make sure the width is at 50% to be even on both sides. Also it will split the category side to it too.

imported_ULTIMATESSJ 02-07-2003 09:30 PM

i've tried this, but no matter what i've tried to do, i get this problem, heres the code

Code:


<tr id="cat">
        <td width="50%" bgcolor="{categorybackcolor}" colspan="5"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td>


    <td width="50%" bgcolor="{categorybackcolor}" colspan="6">
        <normalfont color="{categoryfontcolor}"><b>
        Number of Active Users Today:</b>
        </normalfont><normalfont color="{categoryfontcolor}">
        <b>$numbertodayonline</b></normalfont>
    </td>


</tr>
<tr>
        <td bgcolor="{firstaltcolor}" colspan="5"><smallfont>
        <nobr>There are currently  $numberregistered members and $numberguest guests on the boards.</nobr> |
        <nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
        $activeusers</smallfont></td>

    <td bgcolor="{firstaltcolor}" colspan="6"><smallfont>
        <nobr>Most users ever online on a day was $todayrecordusers on $todayrecorddate.</nobr> |
        <nobr>The following members have already visited the Board today:</nobr><br>
        $todayloggedinuser<br>
        </smallfont></td>


</tr>


Brad 02-19-2003 12:38 PM

</tr>
<tr>

Remove that from your code and it sould work.

Tony G 02-19-2003 08:38 PM

Yes, I mentioned for you to split the tables using a </td> and not a </tr>. You did that, but no </tr> is needed otherwise it starts a new line.


All times are GMT. The time now is 01:34 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.01015 seconds
  • Memory Usage 1,721KB
  • 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
  • (7)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