Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets
Post
by Steve » 22 Jul 2010, 12:24
As per title removes the topics ,posts, last post if the forum is actually a forum link,but
can not be achieved if links are in a category block see demo pics below.
Real easy this one.
Open styles prosilver/template/forumlist_body.html
find:
Code: Select all
<dd class="topics">{L_TOPICS}</dd>
<dd class="posts">{L_POSTS}</dd>
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
replace with:
Code: Select all
<!-- IF not forumrow.S_IS_LINK -->
<dd class="topics">{L_TOPICS}</dd>
<dd class="posts">{L_POSTS}</dd>
<dd class="lastpost"><span>{L_LAST_POST}</span></dd><!-- ENDIF -->
before pic:
link1.PNG
after:
link2.PNG
link categorys forum:
link cat.PNG
Last edited by Steve on 01 Aug 2010, 08:54, edited 1 time in total.
Reason: Updated code.
Post
by Stoker » 22 Jul 2010, 13:52
Nice Steve.
I think this should be standard in the phpBB package.
Post
by cisco007 » 22 Jul 2010, 16:07
yeah, that is nice, i never even looked at that! nice!
Post
by Stoker » 29 Jul 2010, 13:25
I have a suggestion for you Steve.
Change:
Code: Select all
<!-- IF forumrow.S_IS_LINK --><!-- ELSE -->
to
Code: Select all
<!-- IF not forumrow.S_IS_LINK -->
Its more correct.
Post
by Steve » 01 Aug 2010, 08:55
Yes your write stoker same way ive been writing them for the side menu.
1st post updated.
Post
by newsbee » 15 Aug 2010, 10:42
Traditional question: is it possible to have it for subsilver2-based styles?