Restricting guest users from asking questions..

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
edm
Posts: 2
Joined: Tue Jan 29, 2008 7:53 pm

Restricting guest users from asking questions..

Post by edm »

I was wondering if there is a way to not allow everyone that visits my PMF website to post questions. I basically want everyone to have to be a registered user before they can post any questions. With that being said, would it be possible to automatically generate the user's name and email address that is asking the question as long as they are logged in? As it stands right now, anyone can post a question and the user's name and email may not always be entered correctly by the user posting the question.

I am currently running PMF 2.05 stable on MySQL 5.x and PHP5 and we are looking to replace our current KB to PMF.

Secondly, is there a way to hide the tabs in the administration page from users that are not given access to those tabs? For example, I am using groups that do not have configuration access. If I put a user in that group, they still see the tab but they can't use it since they don't have access. It would be preferred to hide the backup, configuration, add users/groups, statistics and exports tabs from users that are not given permissions to them.

Another question that I had was the ability to change the attachment sizes. We have a requirement to add much bigger attachments and the current 2MB limitation does not meet our needs.

Thanks for your time and so far your work on PMF is excellent by far.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Restricting guest users from asking questions..

Post by Thorsten »

Hi,
I was wondering if there is a way to not allow everyone that visits my PMF website to post questions. I basically want everyone to have to be a registered user before they can post any questions. With that being said, would it be possible to automatically generate the user's name and email address that is asking the question as long as they are logged in? As it stands right now, anyone can post a question and the user's name and email may not always be entered correctly by the user posting the question.
currently this isn't possible. Maybe we'll add this in version 2.5, maybe later.
Secondly, is there a way to hide the tabs in the administration page from users that are not given access to those tabs? For example, I am using groups that do not have configuration access. If I put a user in that group, they still see the tab but they can't use it since they don't have access. It would be preferred to hide the backup, configuration, add users/groups, statistics and exports tabs from users that are not given permissions to them.
If a user doesn't have the permissions he doesn't see the tabs.
Another question that I had was the ability to change the attachment sizes. We have a requirement to add much bigger attachments and the current 2MB limitation does not meet our needs.
You have to change this in your php.ini file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
edm
Posts: 2
Joined: Tue Jan 29, 2008 7:53 pm

Post by edm »

Thanks for the prompt reply. I found the setting in php.ini as you mentioned:

upload_max_filesize = 2M
Post Reply