Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2003, 03:35 PM
imported_ULTIMATESSJ's Avatar
imported_ULTIMATESSJ imported_ULTIMATESSJ is offline
 
Join Date: Jun 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-07-2003, 03:10 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Halfed table? Like split half way?
Reply With Quote
  #3  
Old 02-07-2003, 03:56 PM
imported_ULTIMATESSJ's Avatar
imported_ULTIMATESSJ imported_ULTIMATESSJ is offline
 
Join Date: Jun 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 02-07-2003, 08:20 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-07-2003, 09:30 PM
imported_ULTIMATESSJ's Avatar
imported_ULTIMATESSJ imported_ULTIMATESSJ is offline
 
Join Date: Jun 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #6  
Old 02-19-2003, 12:38 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

</tr>
<tr>

Remove that from your code and it sould work.
Reply With Quote
  #7  
Old 02-19-2003, 08:38 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 10:11 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.05026 seconds
  • Memory Usage 2,215KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete