The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 --> |
#2
|
||||
|
||||
With the bolding:
Replace: Code:
<b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[newest_member_x]</phrase></b> Code:
<b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername"></b>$vbphrase[newest_member_x]</phrase> 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=''> Code:
<td valign='top'> <table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr> <td width='85%'> |
#3
|
|||
|
|||
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.
|
#4
|
||||
|
||||
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... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|