2
After reading some other posts I think I would have to clone the "Recent Topic" block and call it [5] like this.
$modversion['blocks'][5]['file'] = "newbb_new.php";
$modversion['blocks'][5]['name'] = _MI_NEWBB_BNAME5;
$modversion['blocks'][5]['description'] = "Shows recent posts in the forums";
$modversion['blocks'][5]['show_func'] = "b_newbb_new_show";
[b][color=CC0000]$modversion['blocks'][5]['options'] = "10|1|time";[/color][/b]
$modversion['blocks'][5]['edit_func'] = "b_newbb_new_edit";
[b][color=CC0000]$modversion['blocks'][5]['template'] = 'newbb_block_new.html';[/color][/b]
By looking at the code I can see the differences between the blocks being the code that I have highlighted in red above.
Now, if I want to show last 10 posts instead of last 10 topics all I would have to change is the word "time" to "post" in the code for my [5] block and create a new file called 'newbb_block_newpost.html' ??
Or, am I way off track here
I am so confused
[size=x-small]"Edited about 12 times"[/size]