MyBB Community Forums

Full Version: Simple Recent Posts Bar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: 4hbwcrU.png]

I'd like to create a simple recent threads inside the Board Stats section on my Index. Anyone able to help me with these? I'm willing to do it all myself, just not sure how to do so without guidance.

Thanks
You can use prostats plugin to do this for you
https://community.mybb.com/mods.php?action=view&pid=59

A little modification in that will make it exactly suit your needs.

Regards
WallBB
(2017-01-28, 07:49 AM)WallBB Wrote: [ -> ]You can use prostats plugin to do this for you
https://community.mybb.com/mods.php?action=view&pid=59

A little modification in that will make it exactly suit your needs.

Regards
WallBB

Yeah I was actually just thinking of that, is it only possible through a plugin though?
(2017-01-28, 07:57 AM)Kioshi Wrote: [ -> ]
(2017-01-28, 07:49 AM)WallBB Wrote: [ -> ]You can use prostats plugin to do this for you
https://community.mybb.com/mods.php?action=view&pid=59

A little modification in that will make it exactly suit your needs.

Regards
WallBB

Yeah I was actually just thinking of that, is it only possible through a plugin though?

Yes
Does anyone know how I can add "Re:" infront of new replies to a thread, but don't have it for new threads in ProStats?

also, I need help editing the positioning so it looks like the picture I posted in OP. Here's how its looking so far:

[Image: VYI2UDW.png]

All I have left to do is add "Re:" to new replies to a thread, edit the positioning, and then place it inside the Forum Stats bar somehow.
I'd recommend using str_replace for this.
$title = str_replace("Re:", "", $title);
(2017-01-28, 08:09 PM)dragonexpert Wrote: [ -> ]I'd recommend using str_replace for this.
$title = str_replace("Re:", "", $title);

Where would I place this?
(2017-01-28, 08:14 PM)Kioshi Wrote: [ -> ]
(2017-01-28, 08:09 PM)dragonexpert Wrote: [ -> ]I'd recommend using str_replace for this.
$title = str_replace("Re:", "", $title);

Where would I place this?

Still wondering about this
You'll need to edit the plugin file.
(2017-01-30, 10:20 AM)dragonexpert Wrote: [ -> ]You'll need to edit the plugin file.

Sorry, I'm a real noob with these kinds of things. Am I suppose to place that code somewhere in the plugin file, or replace something?