SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How to add a custom block to newBB2 forum
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: MUST BE "PHP Script"
2.8 Cache lifetime: choose any one as you prefer
2.9 Preview first, or Submit to save your new block


The comments are owned by the author. We aren't responsible for their content.


Login

Donat-O-Meter

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