1
hipoonios
newbb recent topics block?
  • 2005/11/13 11:44

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


Im using newbb and i want to show "recent topics in the forums" on my frontpage, but i have not such a block. I have only a "most active topics" in my settings.

another newbb question; how can i disable the "Message Icons" ?

please help.
I love Xoops!

2
highlander
Re: newbb recent topics block?
  • 2005/11/13 14:07

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi hipoonios,

you should have a NewBB block called : "Latest forum messages". I believe this is the one you want.

I am not sure how to disable the message icons in Newbb.
If not showing them is what you are after than modifying the template to not show $topic.jump_post will do the trick.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
http://www.AnimalPedigree.com

3
unlucky
Re: newbb recent topics block?
  • 2006/1/19 15:26

  • unlucky

  • Just popping in

  • Posts: 26

  • Since: 2005/8/26


Hey,

I am using newbb2 and I have the same problem. The only block I have available is "Most Active Topics".

It is the only block listed in both the ADMIN>BLOCKS>LIST ALL BLOCKS and in the ADMIN>MODULES>FORUM>BLOCKS menus. I also do not see any buttons for adding new custom blocks or anything like that.

Any idea?

4
phppp
Re: newbb recent topics block?
  • 2006/1/19 16:13

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Check readme about "how to clone a block"

5
unlucky
Re: newbb recent topics block?
  • 2006/1/19 17:42

  • unlucky

  • Just popping in

  • Posts: 26

  • Since: 2005/8/26


Ah, ok, now that makes sense!

Thank you, now I feel dumb. :)

However, a suggestion, so you dont have to deal with idiots like me in the future.

I would change some of the wording around, because I was lost at first.

Quote:

With NewBB 2.0 you can add blocks on-fly as following.

1 Enter 'Administration Menu'=>"block admin"=>"Add new block"

2 In the "Add a new block":

2.1 Block Type: choose anyone as you prefer
2.2 Weight: input any valid value as you prefer
2.3 Visible: select any one as you prefer
2.4 Visible in: set any one as you prefer
2.5 Title: input any valid text as you prefer
2.6 Content:

include_once(XOOPS_ROOT_PATH . '/modules/newbb/blocks/newbb_block.php');
$options = "10|0|time|0";
b_newbb_custom($options);
//$options = "TheNumberToDisplay|ViewMode(0?1?2?)|time_Or_reviews_Or_replies|ForumId1,ForumId2,ForumId3";


2.7 Content Type: MUSTBE "PHP Script"
2.8 Cache lifetime: choose any one as you prefer
2.9 Preview, Submit: press any one as you prefer, BE SURE press at least one time "submit" before leaving block admin


I would consider changing the highlighted text to this:
Quote:

With NewBB 2.0 you can add blocks on-fly as following.


1 Enter 'Administration Menu'=>"Blocks"
2 Select 'Custom Block' from 'System' partition of the Add dropdown list.


3 In the "Add a new block":


It is only a semantics thing, cause obviously you explain just fine how to put in the blocks. But it is that one little thing I kept over looking. I didnt see an "Add New Block", so I didnt think to select the Custom Block for a while.


But either way, you helped me fix my problem. Thanks a lot! :)

6
hipoonios
Re: newbb recent topics block?
  • 2006/1/19 18:01

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


Finally! I have waited long for this replay:) And it works!!

THANKS!!
I love Xoops!

7
technigrafa
Re: newbb recent topics block?

I have a problem with the NewBB Recent Topics block. It won't save the category that I am setting to only show. When I go back tot eh block, "All" is selected again. All the other info, IE - number of posts to show, title, etc are being saved.

Anyone know what's going on?

Login

Who's Online

171 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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