IPB

ISO Image Creator | Cheap EQ2 gold - Buy EQ2 gold, EVE ISK, EQ Plat and more!

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Create a new post area for IPB Boards
Nightfox_PC_Asst
post May 23 2005, 12:21 AM
Post #1


Newbie
Group Icon

Group: Members
Posts: 35
Joined: 11-October 03
Member No.: 4,270
 United States


Create a new post area for IPB Boards
By Nightfox PC Asst
From NH-PC Tech Support.net


Have you ever wanted to change the look of a posted message on your forums to something less default than the IPB one??

It places the members name on top with avatar and member info and the posted message is below..

Post Message Mod for Invision Power Boards 2.0.x
By Nightfox PC Asst
From NH-PC Tech Support

Okay for those new to coding and such I will make it simple for you and give you the code here. Heres how to place it in the forums.

1) Goto your ACP Panel
2) Goto Skins & Templates > Skin Manager > Skin of Your Choice > Edit Root Skin Template HTML
(Advanced)

3) Goto Topic View > RenderRow
4) Delete the entire code located in the template bit and replace it with the code below...

CODE
<table width="100%" class="forumtop">
<tr>
<td>
<div style="float: left;">
<span class="postdetails">{$post['post_icon']} <img src='{ipb.vars['img_url']}/to_post_off.gif' alt='post' border='0' style='padding-bottom:2px' /> {$post['post_date']}</span>
</div>
<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
<div align="right">
<span class="postdetails">{$post['ip_address']} {ipb.lang['posted_on']}
<a title="{ipb.lang['tt_link']}" href="#" onclick="link_to_post({$post['pid']}); return false;">#{$post['post_count']}</a>
<if="ipb.member['is_mod']">
<a href="#" title="Click to select this topic for bulk moderation" onclick="topic_toggle_pid('{$post['pid']}'); return false;">{$post['pid_start_image']}</a>
</if>

</span>
</div>
</td>
</tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td width="25%" valign="top">
{$author['name']}
{$author['avatar']}
{$author['title']}
{$author['member_rank_img']}
</td>
<td width="25%" valign="top">
{$author['member_group']}
{$author['member_posts']}
{$author['member_joined']}
{$author['member_location']}
{$author['member_number']}
<if="author['custom_fields'] != """>
{$author['custom_fields']}
</if>
{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" class="forumtop">
<tr>
<td>
<div style='text-align:left'>{$author['online_status_indicator']}{$author['addresscard']}{$author['message_icon']}<!--{$author['email_icon']}--></div>
</td>
</tr>
</table>
<table width="100%" cellspacing="0">
<tr>

</tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td width="100%" valign="top" class="{$post['post_css']}">
<!-- THE POST {$post['pid']} -->
<div class="postcolor">{$post['post']} <!--IBF.ATTACHMENT_{$post['pid']}--></div>
{$post['signature']}
<!-- THE POST -->
</td>
</tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td width="50%" nowrap="nowrap" class="formbuttonrow">
<div style="float: left;">
{$post['report_link']}<a href="javascript:scroll(0,0);"><{P_UP}></a>
</div>
</td>
<td width="50%" nowrap="nowrap" class="formbuttonrow">
<div align="right">{$post['delete_button']}{$post['edit_button']}<a href="#" onclick="multiquote_add({$post['pid']}); return false;" title="{ipb.lang['mq_title']}">{$post['mq_start_image']}</a><a href="{ipb.script_url}act=Post&CODE=02&f={ipb.input[f]}&t={ipb.input[t]}&qpid={$post['pid']}" title="{ipb.lang['tt_reply_to_post']}"><{P_QUOTE}></a>
</div></td>
</tr>
</table>


5) Save and Reload the template bit

6) Goto in Skin & Templates > Skin Manager > Skin of your choice > Edit Root Skin Stylesheet (Advanced CSS)

7) Place this code anywhere you like.

CODE
.forumtop{
background: #FFF;
border-bottom: 1px solid #000;
}


Enjoy!

Heres a screenshot of it...
New Post Area

Laters,

NF
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 13th October 2008 - 02:55 AM

  Page top

Webber Enhanced skin created by Im4eversmart of RuneHQ.

  Webmasters     Cool Sites     Money Network     Privacy Policy