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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2002, 11:08 AM
Grunt Grunt is offline
 
Join Date: Aug 2002
Location: TN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A Loggedinusers problem

Ive been working on modding a welcome panel, but i cant get the $loggedinusers info to display..the template (tables) are
ok, but the info just doesnt show up..it is however working in the default location at the bottom of the forums..i just
basically just cut and pasted the info from the loggedinusers template info into a table..wondering perhaps what
the problem might be?

a snippet of the code:

Code:
				<tr id="cat">
					<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
						<!-- private messages table header -->
						<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
							<tr>
								<td width="100%" colspan="2"><normalfont color="#000000"><b>Private Messages</b></normalfont></td>
							</tr>
						</table>
						<!-- /private messages table header -->
					</td>
				</tr>
					<td bgcolor="#FFFFFF">
						<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
							<tr>
								<!-- private messages icon-->
								<td bgcolor="#FFFFFF" align="center" valign="top" width="70">
									<a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><img src="images/_silverorange/privmsg$lightbulb.gif" alt="Private Messages System" border="0"></a>
								</td>
								<!-- private messages icon -->

								<!-- private messages text -->
								<td bgcolor="#FFFFFF">
									<smallfont>
									<b>$bbuserinfo[username]</b> - You have <b>$newpm[messages]</b> new message(s) since your last visit.<br>
									(You have <b>$unreadpm[messages]</b> unread messages and <b>$allpm[messages]</b> total messages in all your folders.)
									</smallfont>
								</td>
								<!-- /private messages text -->
							</tr>
						</table>
					</td>
				</tr>
				<tr id="cat">
					<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
						<!-- Logged In Users table header -->
						<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
							<tr>
								<td width="100%" colspan="2"><normalfont color="#000000"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFFFFF"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFFFFF"><b>: $totalonline</b></normalfont></td>
							</tr>
						</table>
						<!-- /Logged In Users table header -->
					</td>
				</tr>
					<td bgcolor="#FFFFFF">
						<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
							<tr>

								<!-- Logged In User text -->
								<td bgcolor="#FFFFFF">
									<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>
									</smallfont>
								</td>
								<!-- /Logged In User text -->
							</tr>
						</table>

					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
what it looks like now:
Attached Images
File Type: gif problem.gif (33.8 KB, 0 views)
Reply With Quote
  #2  
Old 09-23-2002, 11:09 AM
Grunt Grunt is offline
 
Join Date: Aug 2002
Location: TN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for the ugly formatting of the post..sheesh..sorry..
Reply With Quote
  #3  
Old 09-23-2002, 12:21 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

Best to attach it, scrolling through code is an in-convienience.
Reply With Quote
  #4  
Old 09-23-2002, 12:28 PM
Grunt Grunt is offline
 
Join Date: Aug 2002
Location: TN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah good call..thanks..here it is:
Attached Files
File Type: txt moddedlogoutcode.txt (5.2 KB, 5 views)
Reply With Quote
  #5  
Old 09-23-2002, 01:22 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

What template name is this code in?
Reply With Quote
  #6  
Old 09-23-2002, 01:30 PM
Grunt Grunt is offline
 
Join Date: Aug 2002
Location: TN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

forumhome_logoutcode
Reply With Quote
  #7  
Old 09-23-2002, 01:32 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

Pretty sure it won't work in that template, needs file editing to make it work there.
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 04:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04953 seconds
  • Memory Usage 2,248KB
  • 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
  • (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
  • (2)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete