Current time: 03-17-2010, 06:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Horizontal avatar and info
02-21-2008, 08:20 PM (This post was last modified: 02-21-2008 08:23 PM by DalinS.)
Post: #1
[Tutorial] Horizontal avatar and info
Ok, some people may like to this but dont know how to, im gonna show you. ALL CREDIT GOES TO DENISTT

First go to your admin CP/Templates/modify/delete/(choose template) expand/postbit templates (expand).

After that you will see:
Postbit
Postbit_author_guest
Postbit_author_user
Postbit_avatar

edit the "Postbit" and delete that code and enter:
PHP Code:
<td class="tcat" colspan="2" height="18" style="white-space: nowrap; text-align: left">{$post['posturl']}<div class="smalltext" style="float:left">{$post['postdate']} {$post['posttime']}</div>
{
$post['icon']}<div class="smalltext" style="text-align: center"><strong> {$post['subject']}</strong></div>
</
td>
</
tr>
<
tr>
<
td class="{$altbg}" colspan="2" valign="top" style="white-space: nowrap; text-align: left;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
{
$post['user_details']}
</
td>
</
tr>
<
tr>
<
td class="{$altbg}" colspan="2" width="85%" valign="top">
<
table width="100%">
<
tr><td>
<
div id="pid_{$post['pid']}">
{
$post['message']}
</
div>
{
$post['attachments']}
{
$post['signature']}
<
div style="text-align: right; vertical-align: bottom;">
{
$post['editedmsg']}
{
$post['iplogged']}
</
div>
</
td></tr>
</
table>
</
td>
</
tr>
<
tr>
<
td class="{$altbg}" colspan="2" width="100%" valign="middle" height="18">
    <
table width="100%" border="0" cellpadding="0" cellspacing="0">
    <
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"><span class="smalltext">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}</span></td>
    </
tr>
    </
table>
</
td>
</
tr

Then edit "postbit_author_guest" then delete that code and enter this one:
PHP Code:
{$post['useravatar']}<strong><span class="largetext">{$post['profilelink']}</span></strong>
<
br />
<
span class="smalltext">
    {
$post['usertitle']}<br />
    {
$post['groupimage']}
</
span

Same for "postbit_author_user" but with this code:
PHP Code:
<div class="smalltext" style="float: right">
    {
$lang->postbit_posts} {$post['postnum']}<br />
<!--        {
$post['userstars']} {$usergroup['title']}<br /> {$lang->postbit_joined} {$post['userregdate']}<br /> -->
    {
$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
</
div>

{
$post['useravatar']}<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<
span class="smalltext">
    {
$post['usertitle']}<br />
    {
$post['groupimage']}<br />
</
span

Same for "Postbit_avatar" with this code:
PHP Code:
<div style="float:left; padding-right: 10px;"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></div

thats it
ALL CREDIT GOES TO DENISTT

I Heart Yumi and MrD.
Find all posts by this user
Quote this message in a reply
02-21-2008, 08:24 PM
Post: #2
RE: [Tutorial] Horizontal avatar and info
Wrong section Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2008, 08:27 PM
Post: #3
RE: [Tutorial] Horizontal avatar and info
read the sticky in user submitted tutorials Smile

I Heart Yumi and MrD.
Find all posts by this user
Quote this message in a reply
02-22-2008, 11:37 AM
Post: #4
RE: [Tutorial] Horizontal avatar and info
Toungue its in 1.4
Find all posts by this user
Quote this message in a reply
02-22-2008, 04:53 PM
Post: #5
RE: [Tutorial] Horizontal avatar and info
Still a handy tutorial for anyone not in a rush to upgrade.

Jude

If I post in your thread, please do not PM me for more help! Thanks!
Find all posts by this user
Quote this message in a reply
03-16-2008, 08:49 PM
Post: #6
RE: [Tutorial] Horizontal avatar and info
Doesn't the ALIENTECH theme have this by default, or do I not know what you mean by horizontal avatar...?
Find all posts by this user
Quote this message in a reply
03-16-2008, 09:12 PM
Post: #7
RE: [Tutorial] Horizontal avatar and info
I think u should have included a screen of the mod
Find all posts by this user
Quote this message in a reply
03-23-2008, 12:27 PM
Post: #8
RE: [Tutorial] Horizontal avatar and info
Nice and easy tut Smile

[Image: sigknuckles.gif]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2008, 02:50 PM
Post: #9
RE: [Tutorial] Horizontal avatar and info
Very very nice tut!
Find all posts by this user
Quote this message in a reply
07-22-2008, 09:10 PM
Post: #10
RE: [Tutorial] Horizontal avatar and info
Very nice mod, but I need a little help here. How can I edit it and change colors, move thing more left/right and stuff?
Also, there are no stars below forum team name (like when Administrator has 6 starts below, and a newbie has only one) sorry, i can't remember how is it called.

Every help is appreciated.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: