I use Block Editing by Q2A Market plugin.
Block Editing by Q2A Market
This plugin will allow to block edit, hide and close buttions from questions, answers and comments after defined minutes in the options.
- Block Editing
- Block Hiding
- Block Closing
- Admin Can Access Everything
- Option to Exlude Moderators
- Option to Exclude Userids
1. Extrat zip file.
2. Place directory called `q2am-block-editing` in qa-plugin folder.
once you complete installation than you can start to use the plugin with following steps.
1. Login with admin id.
2. Go to Admin > Plugins page.
3. Scroll down to `Q2AM Block Editing` in plugin list.
4. Click on `options` link to jump to the options section,
Here you will find all available options to customize your advert.
##### Enable Block Editing
This will activate the plugin
##### Block After
The system will block editing after defined minutes. Make sure value should be in minutes only. No seconds or hours allowed. If you want to set 2hours than set it to `120` the system will calculate it as `120/60 = 2`
##### Exclude Group and Above
This will exclude all members from the selected group and above level. For e.g if selected `Editor` than `Editor`, `Moderator`, `Admin` and `Super Admin` will be excluded from blocking.
##### Block Editing
This will block `edit` buttion after defined minutes above
##### Block Hiding and Closing
This will block `hide` and `close` buttions after defined minutes above
##### Exclude by User IDs
You can exclude user by set userid in the field. For instance `19` or if you wan to exclude multiple users than separate it by comma e.g. `10, 24, 79, 1035, 4568`
##### Save Changes
Will save all changes.
Q: Buttons doesn't block after defined time in the options
A: Check your server or script timezone set with your country timezone
Q: I have set timezone but still plugin don't hide buttions
A: Make sure `Enable Block Editing` checkbox is **selected**
Q: I have set `1` in `Block After` but plugin blocking buttions very early and not after one hour
A: You must have to define minute value for the `Block After` option. So if you want to set for one hour than you need to set value of `60`
Q: Why moderators can't see all buttions?
A: To allow moderators to see all buttions you need to select `Exclude Moderator from Blocking ` option
Q: I have done everything correctly but still plugin don't block some of buttions.
A: Check if any other plugin conflict with this. To find remove all other plugin and add one by one and check which plugin create conflict.
Q: Edit buttion is blocked but user still can see hide buttion.
A: Make sure you have selected `Block Hiding and Closing` option
Q: How can I allow certain users to unblocked and allow editing and closing?
A: Set userid in `Exclude by User IDs` option
Change Logs V1.0
This is the first version
[Question2Answer][q2a_link] is a open source question and answer system built on PHP. Built with great flexibilities to customize according to the requirements. [Find out Question2Answer community][q2a_community]
About Q2A Market
[Q2A Market ][author]is the leading developer for Question2Answer open source system. It is providing high quality theme, plugins and customization service.