Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Allow events creation to admins only or at least from the back end
Hello,
I want to disable users from creating events. However, it seems that I'm disabling administrators as well. It would be simply fine if I could create an event from the backed but there I see this message:
Note: Event creation is now only available through the front end of JomSocial.
So what would be the proper way to allow administrators to create events?
1. You'll need to hide or remove Event button from Postbox. So you'll need to modify this file:
ROOT/components/com_community/templates/default/status.form.php line 254
2. Then you'll need to display create Event button only for certain group (or id maybe?) of users.
Button is here: ROOT/components/com_community/helpers/event.php
(WARNING! Core file hack! Please, make safe copy of edited file. It means also that this file will be overwritten during upgrade, so please make a safe copy of customized file as well)
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you