Page 1 of 1

Remove topics/posts/last post from forum links

Posted: 22 Jul 2010, 14:24
by Steve
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

Re: Remove topics/posts/last post from forum links

Posted: 22 Jul 2010, 15:52
by Stoker
Nice Steve.
I think this should be standard in the phpBB package.

Re: Remove topics/posts/last post from forum links

Posted: 22 Jul 2010, 18:07
by cisco007
yeah, that is nice, i never even looked at that! nice!

Re: Remove topics/posts/last post from forum links

Posted: 29 Jul 2010, 15:25
by Stoker
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.

Re: Remove topics/posts/last post from forum links

Posted: 01 Aug 2010, 10:55
by Steve
Yes your write stoker same way ive been writing them for the side menu.
1st post updated.

Re: Remove topics/posts/last post from forum links

Posted: 15 Aug 2010, 12:42
by newsbee
Traditional question: is it possible to have it for subsilver2-based styles?