Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Post Activity Plugin
#1
Post Activity plugin updated to MyBB 1.8. Base version was written by Saad T (King of Hearts).

Allow specified user groups access to the Post Activity page to see how many posts a user has made in each forum.

The latest version of this plugin can be downloaded from the MyBB website: https://community.mybb.com/mods.php?acti...w&pid=1322



This plugin allows certain user groups to see how many posts a user made in a specific forum. The /postactivity.php page (which is to be uploaded at the root of the forums) shows the number of posts made in a descending order.




I saw this had been requested in the past, with no updates for 1.8. I figured I would use it to, and so updated the plugin.

Released under the GNU General Public License. As with all GNU GPL software, this plugin and any derivatives developed from it are and shall always remain free.
Reply
#2
Thank you for your contribution.

Tho I would not recommend anyone using this code as lacks proper permissions checks and has overall poor coding.
Reply
#3
(2019-12-30, 04:51 AM)Omar G. Wrote: Tho I would not recommend anyone using this code as lacks proper permissions checks and has overall poor coding.

Intended to be as simple as possible. If I can make it a better plugin, I am open to suggestions.
Reply
#4
(2019-12-30, 12:14 PM)Sawedoff Wrote:
(2019-12-30, 04:51 AM)Omar G. Wrote: Tho I would not recommend anyone using this code as lacks proper permissions checks and has overall poor coding.

Intended to be as simple as possible. If I can make it a better plugin, I am open to suggestions.

There's simplicity, and then there's your plugin not working at all in certain instances. What Omar means is that your group checking only checks for the primary group. If you take a look in ../inc/functions.php you'll see a function there that you can use to check both primary and additional groups. Overall, you should look to optimise your code by using MyBB's already-made functions and there's probably a few other things you could do as well, by practise makes perfect.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#5
(2019-12-31, 04:48 AM)Wires Wrote: There's simplicity, and then there's your plugin not working at all in certain instances. What Omar means is that your group checking only checks for the primary group. If you take a look in ../inc/functions.php you'll see a function there that you can use to check both primary and additional groups. Overall, you should look to optimise your code by using MyBB's already-made functions and there's probably a few other things you could do as well, by practise makes perfect.

Thank you! Gives me a place to start. I am all for optimizing and securing in any way I can.

I learn by doing and tinkering anyway.
Reply
#6
Plugin has been updated:
-Fixes some conflicts with SQL.
-Additional tweaks and fixes specific to 1.8
-Special thanks to Darth-Apple from Makestation.net for the fixes.
Reply
#7
Any screenshots?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#8
(2020-03-28, 02:32 PM)Eldenroot Wrote: Any screenshots?


Added a preview screenshot to the project: https://community.mybb.com/mods.php?acti...w&pid=1322

Thanks. Cool
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)