Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
ricktido
Worker
Worker



Joined: Nov 09, 2012
Posts: 127

PostPosted: Tue May 07, 2013 10:46 am Reply with quote

I asked at ClanThemes a few days ago on how they get their horizontal postbit, but got no answer of it.

I've read on Codezwiz that Telli never planned on releasing his horizontal postbit, either... So can I have some help with this? I want a horizontal postbit similar to ClanThemes' and Codezwiz's.
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1774

PostPosted: Tue May 07, 2013 12:12 pm Reply with quote

coRpSE wrote:
That is just a matter of knowing tables and modifying the viewtopic_body.tpl. All themes are different so there is no basic was of just saying do this and that's it.


He is right. Its not hard but you must compare the tables of your theme. This only a example and its simple html code. In other themes can it be different but it should help to find the right way.

For example i will use the RavenIce theme:

open themes/RavenIce/forums/viewtopic_body.tpl and find:

Code:
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">

<tr>
<th width="150" height="28">{L_AUTHOR}</th>
<th width="100%">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></span><br />
<span class="postdetails">{postrow.POSTER_RANK}<br />
{postrow.RANK_IMAGE}<br />
{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_JOINED}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POSTER_FROM}</span><br />
<img src="themes/RavenIce/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>


Change it to:

Code:
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">

<tr>
<th width="100%" height="28">{L_AUTHOR}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td valign="top" class="{postrow.ROW_CLASS}">
<span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></span><br />
<span class="postdetails">{postrow.POSTER_RANK}<br />
{postrow.RANK_IMAGE}<br />
{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_JOINED}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POSTER_FROM}</span><br />
<img src="themes/RavenIce/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>
</tr>
<tr>
<td width="100%" height="28">{L_MESSAGE}</td>
</tr>
<tr>

_________________
Github: RavenNuke 
View user's profile Send private message
ricktido







PostPosted: Tue May 07, 2013 3:33 pm Reply with quote

Thanks for the reply, neralex.

I know how to do that, but I'd have to make a table, and that's what I need help with. Here is what I'd like:

Image

I want a two-column table like that. I've tried by myself. I've read a lot about tables and creating and adjusting columns, but I don't know what to do. I know that I could change the percentage of the column, to make it how big / where I want it, but I'm still not sure what to do.
 
neralex







PostPosted: Tue May 07, 2013 3:43 pm Reply with quote

You have only seen the top of the mountain. Why don't you play with the html code. Try it out. You can find so much things on the net to create html and tables. This is basic stuff. You should find a lot of them. But how i have it written. Its in every theme different. You can't find a perfect solution because the perfect solution is only based on your own preferences and on the files of the theme what you are using. Compare it with the themes in the RN package or with other themes. Building a own theme could costs more than 100 hours.
 
ricktido







PostPosted: Sat May 11, 2013 5:11 pm Reply with quote

Well, I was able to achieve something like this:

Image

But I have decided to migrate to Nuke Evolution Xtreme.
Thanks for all of your guys' help.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©