Jump to the post that solved this thread.
Solved: 1 Month, 1 Week, 2 Days ago Edit Time Limit: Posts vs. mainposts!
#1
Solved: 1 Month, 1 Week, 2 Days ago
Hello,

I had an plugin for that but it is not working with the newer MYBB version or PHP version.

How can I make that the edit time in minutes is only counting for posts?

Firstposts should be editable unlimited.
Reply
#2
Solved: 1 Month, 1 Week, 2 Days ago
Somebody knows a solution for this?
Reply
#3
Solved: 1 Month, 1 Week, 2 Days ago
Which plugin is it?
Reply
#4
Solved: 1 Month, 1 Week, 2 Days ago
No plugin, I mean the option in usergroups.

   

I would like to allow users to edit their mainposts unlimited, while normal posts should only be 24h editable.

But this option is apply to all posts. I there a way to change this?

Edit: If you mean the plugin I was using before, it was custom code (not from me).

See attached file if you are interested, there is the custom plugin I used before.
But this plugin is not working anymore with PHP 7.3 and/or MYBB 1.8.26.

Also it is much complexer as I need it. I just want to distinguish between post and mainpost for ALL usergroups.


Attached Files
.php   edittimeplugin.php (Size: 11.82 KB / Downloads: 5)
Reply
#5
Solved: 1 Month, 1 Week, 2 Days ago
Check the following page:
https://ougc.network/entry?tutorial-disa...irst-posts

I did attach the same file below, but I do not guarantee to keep it synced over time.


Attached Files
.xml   hooks-disable-edittimelimit-for-first-post.xml (Size: 3.72 KB / Downloads: 8)
Reply
#6
Solved: 1 Month, 1 Week, 2 Days ago
Thank you for your help! Should I import this file as theme? Or where to put it?
Reply
#7
Solved: 1 Month, 1 Week, 2 Days ago
Please read the linked page.

Edit: Basically, you need the Hooks plugin, linked below:
https://github.com/frostschutz/MyBB-Hooks
Reply
#8
Solved: 1 Month, 1 Week, 2 Days ago
I already have the plugin library, but where I find the "hooks" tab?

   

Ah, now I understand, I need plugin library for this plugin "hooks" and then I can import the file.

Thank you for your help Omar G. I will test this in near future, but I think it is working. So, I mark this thread as solved. Thank you again for your good work!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)