Topics & Post
Page 1 of 1 • Share
- ThomasBeta Tester
- Forum Posts : 14
Member Since : 2011-11-05
I would like to know how to make the topics and post look like the ones on here where its in a round box
- Rocker92Valued Member
- Forum Posts : 1
Member Since : 2011-11-06
OK, be sure to keep up
Goto: ACP > Display > Templates > General Box > index_box
Replace the default code with this:
Then add this to your CSS:
Hope this helps
Goto: ACP > Display > Templates > General Box > index_box
Replace the default code with this:
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head">
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
{catrow.forumrow.FORUM_DESC}
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td class="tc2" style="width: 80px;">
<div class="postbit">{catrow.forumrow.TOPICS}<br /><strong>Topics</strong></div>
</td>
<td class="tc3" style="width: 80px;">
<div class="postbit">{catrow.forumrow.POSTS} <br /><strong>Posts</strong></div>
</td>
<td class="tcr">
<span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
Then add this to your CSS:
- Code:
.postbit {
background: url('http://i43.servimg.com/u/f43/16/93/80/74/postbi10.png') no-repeat;
width: 74px;
height: 38px;
padding-top: 3px;
}
Hope this helps
- [FTS] JackBeta Tester
- Forum Posts : 6
Member Since : 2011-11-07
Is this compatible with all forum versions?
- DazationValued Member
- Forum Posts : 222
Member Since : 2011-10-30
[FTS] Jack wrote:Is this compatible with all forum versions?
Unfortunately no, the code posted is specifically for PunBB, which is what what we are using currently.
It would be very difficult to get this to work on PHPBB2 off hand, as I haven't reviewed the code and would imagine that it would be more then changing a few indicators and adding some JS codes....
- ThomasBeta Tester
- Forum Posts : 14
Member Since : 2011-11-05
I have PunBB
And it's solved now thanks.
And it's solved now thanks.
- tommycooMember
- Forum Posts : 11
Member Since : 2011-12-15
but how i can hide the border like this forum ?
- tommycooMember
- Forum Posts : 11
Member Since : 2011-12-15
but can u just make what code must be edit in index box not to replace all code ?..
- tommycooMember
- Forum Posts : 11
Member Since : 2011-12-15
what do u mean ?drogba921 wrote:that's in css.
- tommycooMember
- Forum Posts : 11
Member Since : 2011-12-15
drogba help please
- HyperActive
Banned - Forum Posts : 42
Member Since : 2011-12-16
The code, It's in the CSS Style Sheet.
- tommycooMember
- Forum Posts : 11
Member Since : 2011-12-15
yes i know .. what i mean is that code is to replace all index box code right .. but i dont want to do that .. i just want edit the code not to replace all .. which code to edit thats
- HyperActive
Banned - Forum Posts : 42
Member Since : 2011-12-16
Oh, i don't really know, sorry....
- CoddyMember
- Forum Posts : 45
Member Since : 2011-11-21
Ohh, just add after all codes you have in stylesheet this:
- Code:
.pun .main table td.tc2, .pun .main table td.tc3{
border: none !important;
}
- Matti_7CSS Expert
- Forum Posts : 35
Member Since : 2011-11-25
Legendrock7 wrote:So wait, im confused, is this compatible with Phpbb2?
No, but you can make it like that for phpBB2
- CodyMember
- Forum Posts : 43
Member Since : 2011-11-13
This is certainly past solved, lol.
Marked Solved & Locked
Marked Solved & Locked
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|