I have to build a site that receives some custom report from my users and store them in a database. The users are able to view their reports and the department administrator comments on it. I was creating this myself using PHP although it was good but it's full of security holes and I get lost after a while when my code grows bigger.
I think if there is a module for drupal or wordpess that can benefit from grouping my users into separate groups that would be much easier.
Does anyone know if there is such plugin or would you recommend me some keywords to search with.
Thanx in advance
Sounds like Drupal would be a good fit for this. There would be (at least) two roles (one for regular users and one for administrators), and there would be a 'report' content type. Regular users would be able to upload reports and view their own reports and administrators would be able to comment on reports.
Drupal + CCK (and possibly the FileField module if users are uploading document files) would be able to handle all of this pretty easily.
Drupal with the CCK & FileField modules would work great (as Mike mentioned). Two roles would suffice (admin & regular user).
As for security, make sure to use the latest versions in Drupal 6 & stay on top of when those 2 modules get updated although Drupal makes it super easy for you through site notification. Along the lines of security, you'd want to 'hide' the login box from the homepage & use www.sitename.com/user for your users to login.
Related
I´m currently developing the Intranet for the company I am working for. The site is currently based on SharePoint, but I have to migrate it to Wordpress. And that´s my first developer experience with Wordpress, you just should know. Creating the theme, content and working with the WP Admin area works very well, but where I´m feeling defenseless is the permissions topic.
Generally, the whole page content is managed by the Marketing department. So, for me it is ok that they have access to WP Admin and I would use one of the predefined roles available.
But there will be also an area for the departments where specified users per department should be able to
edit the pre created page content
add subpages and edit its content (it would be nice if it can be defined which page templates can be selected by the user)
add posts for a pre created category (that should not be changeable by the user)
edit its profile and password
A whole access to WP Admin should be therefore prevented.
I read much information about roles, capabilities and reviewed forums and blogs presenting potential plugins. But to be honest, I´ve lost the overview and I´m totally scared about what´s the right way to do such like this the professional way.
Is there anybody who was already in such a situation or knows a good resource where to read more?
Thanks a lot.
John
PressPermit is the tool I choosed. It covers all needs described in my question.
Note: To use all features, you need to buy a support subscription currently available for $55 a year for one site.
However, a very powerful tool and in comparison to Advanced Access Manager I tried before, it really supports permissions also for multiple roles.
If you are thinking about, use the screencasts to see if the tool cover your needs. Unfortunately, there is no trial available, but you can request an evolution wordpress installation which was setup within one day in my case. This service costs $5.
I know next to nothing about Drupal but I do have a question about it. Once a professional web developer builds a Drupal site for a customer, how much can a non-technical customer change? Can they change all of the text? Can then replace images. Can they insert new images? Is there some kind of dashboard that gives them access to what they can change?
Thanks
Drupal is a content management system (CMS) and it's whole purpose is to make it easy for a non-technical user to use. That includes creating, editing, and deleting of any content. There is also a dashboard for them to go to and much more features such as setting user roles, permissions, a lot of modules (plugins), and the community is big so there is a lot of help if you need it. The best way to start is to read the Drupal documentation and also follow some tutorials on youtube.
Documentation
Drupal documentation
Is there an alternative module or way that I can query a drupal database to return results from a table for example, the users table, and have the search results visible even for anonymous users? I have tried using the views module but only a logged in user is able to see the results. I have changed the access permissions to no avail. I am working with Drupal 6. Please help!!!
There is no reason a view should only show up to logged out users, unless the data being loaded in the view is not available to logged out users. The view itself has permissions. Assuming you're in Views 3 (though 2 is similar) and depending whether it is a page or a block, the middle column will have "Block Settings" or "Page Settings" under which one of the options is "Access". You can tie the view to a specific permission, use custom PHP, or specifically enable it for certain roles. You can also choose "none" here and completely bypass permissions -- then the view will be available to everyone to see the data in, regardless of their permission to the data itself. However, be careful with that if there's any sensitive data on your site.
Views is definitely the best way to create an advanced search in Drupal. I'm sure there are alternatives, but this is exactly what Views is for, and Views is the #1 tool and #1 reason people use Drupal. What I recommend is opening a new issue for help figuring out why your view does not show to anonymous users.
I am working on a project for a client that started out as a simple CMS with pages, posts, and a directory. The client is constantly expanding the scope of this project with requirements for customization of just about everything. As a single developer, I am having trouble keeping up with the clients time-table. I have googled for software packages that might already exist that proved the features my client needs but I have not found anything. Does anyone know of any pre-built software that allows for the following customization or at least better words to describe this type of package?
Here are some examples of the customization that is requested:
A page or directory listing needs to be formatted from an admin-defined template. Within this template there needs to be admin-defined sections that contain admin-defined data types. (This is so the look and feel of the site can be maintained while users can easily build content, add listings, and etc.)
Advertising-tiles need to be able to be defined and populated globally and at page level.
All user generated content, pages, posts, and directory listings need to be associated with user and have flexibility to show all other user generated content for inter-linking between same users content.
Site would need billing/e-commerce system for premium listings, premium posts, advertising tiles, and etc.
Approval system for all user added or edited content (pages, posts, directory listings, etc.)
(asp.net and mvc are definitely preferable)
Site would need billing/e-commerce system
This is the number one reason you should not roll your own. Find an established CMS and take the time to learn to use it.
My dear friend, I've read your question & I may suggest that you should try some open-source CMS software with your own which can generate, display admin-generated templates & other stuffs. You should use the
Pre-bulit CMS software for keeping track of pages.
Your own small customized cms for maintaining templates.
osCommerce (open-source) for eCommerce support.
I've not had a change to use it, and I'm not sure if it will provide for you all of your demands or not, but I've heard a lot of great things about the project. Have you tried the open source project Drupal?
I'm using drupal and phpbb with a bridge called phpbbforum. It works quite well, the user information is synched between the drupal and phpbb databases. The forum is embeded in a drupal page, so all variables that come with page.tpl.php should be avaliable.
I want drupal to be the only profile handler, so when someone clicks on a phpbb username, that person get's linked to the drupal profile. In phpbbs template files, the link to the profile is called by function get_username_string. I think the right place to edit it is in the /includes/functions_content.php file on line 1178. Right above that line it says "* Get username details for placing into templates." and there's a section about profile links.
I just can't figure out how to edit it so that the profile links lead to drupal profiles. Can anyone figure this one out?
I managed to achieve this just a few days ago! I must say, it did take a good 30 minutes for me to figure the files that needed to be edited, but after that, it was a breeze!
Basically, you have to edit the phpBB3 PHP Includes files, so that they point to the Drupal user profile, instead of the phpBB one. This can be achieved very easily. Firstly, install the Pathauto Drupal module. Make an auto alias for all user profiles, so that they go to yoursite.com/users/[username]. Then basically, in the phpBB PHP Includes files, make the user profiles direct to: yoursite.com/users/{USERNAME}.
In phpBB, {USERNAME} means the user's username. So when you add yoursite.com/users/{USERNAME}, it will direct to the Drupal profiles that you created with Pathauto. For example, my Drupal profile pages are mysite.com/users/admin, and phpBB will use the {USERNAME} tag to print the user's username. So in phpBB, if you change the profile URLs, they'll go to the same place.
It's pretty easy, but will require a bit of PHP knowledge. Mine is working seamlessly now, and only took about 5 minutes after I'd searched through the phpBB files. What you must remember is - These modifications would be made to phpBB itself, and not Drupal, seeing as you want phpBB profiles to go to Drupal ones. If you need any help, let me know, I'll try to help you out. :)