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 05-18-2005, 04:14 AM
Pion Pion is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need a little help with a template

I have managed to dabble in the code a bit and changed it to the way it is now. How can I move left "newusername" so it's aligned with total members' #. Also how can I change so that the "Newest Member" stays bold but not the actual member name?

This is the template code that I have

Code:
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="3"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_welcome_panel')"><img id="collapseimg_forumhome_welcome_panel" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><div align='center'><b>{$welcome_message}</b></div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_welcome_panel" style="">
<tr>
<!-- Main Welcome Panel Block :: Begin -->
	<td class='alt1' width='1%'>
	<!-- Avatar Cell :: Begin -->
	{$welcome_avatar}
	<!-- Avatar Cell :: End -->
	</td>

	<td class="smallfont" class='alt2' width='55%' valign='top'>
	<!-- Forum Quick Stats :: Begin -->
	{$welcome_intro}
	<table width='100%' cellspacing='0' cellpadding='0' valign='bottom'><tr><td width='50%' valign='bottom'>
		<table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr>
		<td width='85%'>
	{$welcome_topics}
		</td></tr>
		<tr><td width='85%'>
	{$welcome_posts}
		</td></tr>
		</table>
	</td>
	<td valign='top'>
		<table width='100%' cellspacing='1' cellpadding='1'  valign='bottom'><tr>
		<td width='85%' colspan=''>
	<b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[newest_member_x]</phrase></b>
		</td></tr>
		<tr><td width='85%'>
	{$welcome_members}
		</td></tr>
		</table>
	</td></tr></table>
	<!-- Forum Quick Stats :: End -->
	</td>
		<if condition="$bbuserinfo[userid]!=0">
	<td class="smallfont" class='alt2'width='40%' valign='top'>
	<!-- User Stats :: Begin -->
       		<b>Users Online:</b> $totalonline<br /> 
      	   	<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase><br /> 
     	   	<phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase><br /> 
      		<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> 
	<!-- User Stats :: End -->
	</td>
		</if>
<!-- Main Welcome Panel Block :: End -->
</tr>
</tbody>
</table>
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
Attached Images
File Type: gif problem.GIF (7.8 KB, 0 views)
Reply With Quote
  #2  
Old 05-18-2005, 04:44 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

With the bolding:

Replace:

Code:
<b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[newest_member_x]</phrase></b>
With:

Code:
<b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername"></b>$vbphrase[newest_member_x]</phrase>
That should work. o_o I don't think it'll interfere with the phase.

With the aligning,

I'd have to play around with that. But try:

Replace:

Code:
	<td valign='top'>
		<table width='100%' cellspacing='1' cellpadding='1'  valign='bottom'><tr>
		<td width='85%' colspan=''>
with:

Code:
	<td valign='top'>
		<table width='100%' cellspacing='1' cellpadding='1'  valign='bottom'><tr>
		<td width='85%'>
It's a bit of guess, so just replace with the old code if it doesn't work.
Reply With Quote
  #3  
Old 05-24-2005, 09:03 PM
Pion Pion is offline
 
Join Date: May 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neither one of them worked. The first change just changed the font to regular, both "Newest Member" and the username and the second change didn't do anything at all.
Reply With Quote
  #4  
Old 05-25-2005, 06:54 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

Oh crap. With the first one, you have to change the variable calling the text itself. It's all in one, so you can't do that through templates. It'd involve going into your database or hacking.

Second one, can't really do unless I play around with the code. *shrugs* It should work already...
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:41 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.09872 seconds
  • Memory Usage 2,209KB
  • 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
  • (5)bbcode_code
  • (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