MyBB Community Forums

Full Version: change location text
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
as you can see here http://www.adminstop.net/showthread.php?...613#pid613 i have in the postbits info of the person IE admin experience, posts etc all except location is bold, how do i make it bold?
Go to your postbit template, and copy paste the code there, here?
<tr>
<td class="$altbg" width="100%" valign="top" nowrap="nowrap"><a name="pid$post[pid]"></a><div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><span class="largetext">$post[profilelink]<!-- <a href="member.php?action=profile&amp;uid=$post[uid]">$post[username]</a> --></span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br />
$lang->postbit_status $post[onlinestatus]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
<strong>$lang->postbit_joined</strong> $post[userregdate]<br />
$location
<strong>$lang->postbit_group</strong> $usergroup[title]<br />
<strong>$lang->postbit_posts</strong> $post[postnum]<br />
<strong>Admin Experience:</strong> $post[fid5]<br /></div>
</span>
</td></tr><tr>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<p>$post[message]</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">$post[postdate] $post[posttime]</span><br>
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom"><td align="left" ><span class="smalltext">$email$pm$www$find</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$edit$quickdelete$quote$report</span></td>
</tr>
<tr valign="bottom">
<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>
$seperator
Replace with
<tr>
<td class="$altbg" width="100%" valign="top" nowrap="nowrap"><a name="pid$post[pid]"></a><div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><span class="largetext">$post[profilelink]<!-- <a href="member.php?action=profile&amp;uid=$post[uid]">$post[username]</a> --></span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br />
$lang->postbit_status $post[onlinestatus]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
<strong>$lang->postbit_joined</strong> $post[userregdate]<br />
<strong>$location</strong>
<strong>$lang->postbit_group</strong> $usergroup[title]<br />
<strong>$lang->postbit_posts</strong> $post[postnum]<br />
<strong>Admin Experience:</strong> $post[fid5]<br /></div>
</span>
</td></tr><tr>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<p>$post[message]</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">$post[postdate] $post[posttime]</span><br>
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom"><td align="left" ><span class="smalltext">$email$pm$www$find</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$edit$quickdelete$quote$report</span></td>
</tr>
<tr valign="bottom">
<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>
$seperator
um, both parts are bold, how to just make the title and not what the user inputs as bold?
Can you give me the ID of the Location Profile Field?

Check it by going to

Admin CP -> Users and Groups -> Custom Profile Fields ->
its ID is 1
Try this...
<tr>
<td class="$altbg" width="100%" valign="top" nowrap="nowrap"><a name="pid$post[pid]"></a><div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><span class="largetext">$post[profilelink]<!-- <a href="member.php?action=profile&amp;uid=$post[uid]">$post[username]</a> --></span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br />
$lang->postbit_status $post[onlinestatus]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
<strong>$lang->postbit_joined</strong> $post[userregdate]<br />
<strong>$lang->location: $post[fid1]</strong><br />
<strong>$lang->postbit_group</strong> $usergroup[title]<br />
<strong>$lang->postbit_posts</strong> $post[postnum]<br />
<strong>Admin Experience:</strong> $post[fid5]<br /></div>
</span>
</td></tr><tr>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<p>$post[message]</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">$post[postdate] $post[posttime]</span><br>
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom"><td align="left" ><span class="smalltext">$email$pm$www$find</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$edit$quickdelete$quote$report</span></td>
</tr>
<tr valign="bottom">
<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>
$seperator
now it looks like this


Joined: Apr 2006
: Australia
Group: Administrators
Posts: 142
Admin Experience: Advanced
<tr>
<td class="$altbg" width="100%" valign="top" nowrap="nowrap"><a name="pid$post[pid]"></a><div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><span class="largetext">$post[profilelink]<!-- <a href="member.php?action=profile&amp;uid=$post[uid]">$post[username]</a> --></span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br />
$lang->postbit_status $post[onlinestatus]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
<strong>$lang->postbit_joined</strong> $post[userregdate]<br />
<strong>Location:</strong> $post[fid1]<br />
<strong>$lang->postbit_group</strong> $usergroup[title]<br />
<strong>$lang->postbit_posts</strong> $post[postnum]<br />
<strong>Admin Experience:</strong> $post[fid5]<br /></div>
</span>
</td></tr><tr>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<p>$post[message]</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">$post[postdate] $post[posttime]</span><br>
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom"><td align="left" ><span class="smalltext">$email$pm$www$find</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$edit$quickdelete$quote$report</span></td>
</tr>
<tr valign="bottom">
<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>
$seperator
Pages: 1 2