1
Poekie
How to get recent topics in single lines
  • 2004/10/9 17:22

  • Poekie

  • Just popping in

  • Posts: 30

  • Since: 2004/9/15


Some themes (like bm-glass, fancy_free and fcTechnoBlue) have the recent topics blocks in single lines. Most themes use two lines for each topic though. I want to use a theme that uses two lines, but change it so it uses one line for each recent topic. How can I do that? I can't figure it out from the css of the three themes mentioned alas.

I will probably use imago07 by the way.

2
Poekie
Re:How to get recent topics in single lines
  • 2004/10/10 11:34

  • Poekie

  • Just popping in

  • Posts: 30

  • Since: 2004/9/15


To the top, I mean, must be someone who knows this, I hope?

3
Poekie
Re:How to get recent topics in single lines
  • 2004/10/10 16:45

  • Poekie

  • Just popping in

  • Posts: 30

  • Since: 2004/9/15


I solved it more or less by removing <{$topic.forum_name}> and <{$topic.forum_name}> (so it doesn't show the forum name anymore).

4
tedsmith
Re:How to get recent topics in single lines
  • 2005/1/5 14:27

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I have a query that kind of follows this, but not quite.

I want to be able to remove the little gif's that appear at the end of each Recent Topic in the Recent Topics block so that all you see are Date, Time and username of the poster, without the little graphic. This will mean that each post only takes up two lines on my main page instead of three.

I cannot find an option in the preferences, and have looked at the template for the block but can't work out which bit relates to the little graphics.

I'm using NEwBB2 BTW.

Can anyone help? Thanks

Ted

5
tedsmith
Re:Recent Topics - how to get in single lines without gifs
  • 2005/1/5 19:21

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


The grpahics I am talking about are these, just in case anyone was confused about what I am on about :

Resized Image

6
Dave_L
Re:Recent Topics - how to get in single lines without gifs
  • 2005/1/5 19:29

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


tedsmith, try this:

modules/newbb/blocks/newbb_block.php

Replace:

$topic['time'] = $time '$topic['jump_post'];


With:

$topic['time'] = $time;

7
tedsmith
Re:Recent Topics - how to get in single lines without gifs
  • 2005/1/5 20:29

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I will give that a go tomorrow when I get back to work - thanks Dave_L.

8
tedsmith
Re:Recent Topics - how to get in single lines without gifs
  • 2005/1/6 9:20

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


That worked a treat Dave - thanks.

9
Dave_L
Re:Recent Topics - how to get in single lines without gifs
  • 2005/1/6 19:21

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7




I'll just note here that in NewBB 2.0.1, that change will be possible by changing the template, rather than the .php file: http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=1834&group_id=1001&atid=104

10
DaytonXA
Re:Recent Topics - how to get in single lines without gifs
  • 2005/2/11 16:13

  • DaytonXA

  • Just popping in

  • Posts: 10

  • Since: 2005/2/10


I changed it so the little images could still be used, but the recent posts are taking up 3 lines by doing this instead of four.

$topic['time'] = $time '$topic_poster .  $topic['jump_post'];



        
$topic['time'] .= "";

        
$topic['topic_page_jump'] = $topic_page_jump;


So it looks like this
look at the results

Login

Who's Online

325 user(s) are online (256 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits