Looking for a PHP script that has this following functionality [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a PHP script that has this following functionality, preferably open source so I could add more functionalities.
At least 4 types of users:
1) Admin - Me has access to all.
2) Group Manager - Can create new topic, upload multimedia files like (videos, audio, docs, pdf, etc.) and attach it to a certain topic they have created, approve viewers to view its created topic
3) Viewers - this are registered users only the website and their only function is to view the topic created by the Content Manager, they are limited to the topic where the Content Manger has approved them to view.
4) Guest - any unregistered users has very limited access, can only see contents that are tagged as for public
Functionality:
1) User registration for Content Manager and Viewers which needs approval from the Admin.
2) Can have multiple Group Manager, and each Group Manager is limited to the topic it has created. Which means it can't edit / delete nor see a topic that he has not created.
3) A Group Manager can upload any multimedia files he like and attach it to any of the topic he created.
4) A viewer user needs to ask permission to view a topic and download its content. Group Manager needs to approved the viewers who could view a topic. Approval is based on topics. A viewer needs to be approved on all his topics if he wants it all to be viewable to the user.
It doesn't have to function exactly the same way, I could modify it to fit my need so it needs to be Open Source free or not.
Also what do you call this type of software?
Added:
I know about the popular CMS like Joomla, Drupal, Wordpress, etc. But I'm not sure they could do the #2 on the functionality list above, definitely not Joomla at least. Once you logged in at the backend you could see the whole content regardless of who uploaded it.
Basically each Group/Content manager will have it's own people under it, it's own group of people who registered just to get the content of it's group manager he is following. Each Group/Content Manager will be a different person who doesn't know each other so it's really important the content they created and uploaded remained anonymous to each other.

You definitely need a CMS. My vote would go to Silverstripe - simple to set up (& upgrade), great interface, has extensions for most things, good underlying code structure with easy to understand templating, produces standards-compliant code, etc, etc.

This can be done by typo3. It is a professional open source content management system. Maybe a bit complicated, but very good. http://typo3.org/

Wordpress will do everything you asked for http://wordpress.org/ and a lot more, and it's free.

Related

How do I give certain users access to specific Wordpress pages?

I've been searching for a good answer to this question for years and I wanted to ask it here. I've even raised the question on Wordpress forums to no avail.
Is there a way to give certain users access to specific pages on Wordpress? For example, I may want a school teacher to edit only their personal page and the classroom's pages, but let the principal edit anything.
I've searched for a plugin which can get close, but the only ones I found are terrible. They're complicated, unreliable, aren't secure (according to WordPress), and cause other problems on the site.
Most CMS programs come with a feature to limit (or grant) access to certain pages or groups of pages based on the user. Can Wordpress do this?
Thanks!
Brendan

WordPress - How to dynamically change language for the visitor [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like my visitors to be able to swich between languages with a language bar. I've tried to use Polylang but it totaly crashes my website, changing categories etc. (most likely because I've moved this site manually, without using Duplicator). Polylang seems to be confused and sometimes redirects users to the old address.
What I would like to do is to create a simple language bar that will set a language for the client and then will grab strings from .mo files to translate the content (not the content of posts, only selected, static content from the theme). I don't even know how to start, because all tutorials seem to be ignoring the explanation of how to switch between those languages. Those tutorials mention only how to add languages to WordPress.
Could anybody explain to me how to code this solution into my theme?
WordPress does not support bilingual or multilingual sites really. Creating a mulitlingual WordPress site is basically installing WordPress in more than one language and creating a script to jump between them based on your users locality. However, you don't want to do this:
If you install another 3rd part plugin, you will have to support translations.
You may not be able to support the language, such as Liki (Moar), + the other hundreds.
Making even the smallest of changes you could have a huge task on your hands.
You are best looking at the following approaches which are not PolyLang based lifted straight of the WordPress Codex.
Manage multilingual posts in one post per language (e.g. WPML - paid, xili-language or Bogo). Translations are then linked together, indicating that one page is the translation of another.
Store all languages alternatives for each post in the same post (e.g. qTranslate).
Manage translations on the generated page instead of using a post context (e.g. Transposh and Global Translator)
Plugins that direct you to external translation services (e.g. Google AJAX Translation)
Plugins like Multisite Language Switcher, Multilingual Press, and Zanto, link together separate
WordPress network (multisite) installations for each language by pinging back and forth.

Allow authors to only post on admin-approved pages?

Apologies in advance if this is a silly question but I've been thrust into running full stack (website as well as iOS and Android apps) for a company after they previously contracted work to some sloppy programmers. Documentation is sparse and the code base is a mess.
They're running the site off of WordPress. A feature of the site/apps is to allow certain users (the authors) to post updates.
Each author has a page of their own. When a post goes up, it goes live on the aggregated feed as well as their own unique author page.
Currently authors can post, however the issue is that they can post to any page. Whats worse is they have access to other features of the site (such as creating new pages, etc.)
How can I properly police these author permissions? Is there a different type of user group more suitable to what I am trying to accomplish?
Thanks!

Wordpress - Harvard Gazette - How did they do X? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I just came a cross matt's post on the new Harvard Gazette wordpress based magazine.
This theme is doing some very cool things I would like to know how to do too. So if any one knows of tutorials/plugins on how to do them, please share.
Here are some of the things:
1) Amazing calendar.
2) A very strong multimedia section.
3) A revolving "top news" (which I believe I have seen a plugin that does that)
4) posts from a specific category (I am guessing this is done through games in the loop + good CSS)
Any comment (especially for the first two points), will be greatly welcomed.
Best,
Tal
1) It says at the bottom of the calendar "events calendar powered by Trumba"
2) Just a Flash video player and a post list. You can put all the video posts in their own category and exclude that category from your main post list (see #4).
3) Look up "jQuery carousel". There are a number of versions available that you can easily plug in to WP.
4) Use query posts to alter what posts appear in the main loop, and get posts to create multiple loops in one theme file.
The calendar uses a javascript driven widget - you can get plenty of them if you search for jquery datepicker and it also has some preloaders setup as you can see those spining circles when page loads. The multimedia uses embeded flash video player which is pretty much the standard these days.
I don't understand really what you mean by revolving news so can't help you there, but most of the things that make something move on the page are done with javascript. Posts from specific category? Don't see what so special about that - it's just an sql statement that selects needed posts out of the database.

Need to build a news article based site - any open source solution I can tweak? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have a freelance project where I have to build a news articles based website. Let me go over it a bit. The site is such that you have a super admin and you have writers - writers join the website by sending in an application along with a sample of their writing skills - if approved the admin approves them and an account is created for the writer. Aside form writers anyone can join the website - upon joining members get a free blog and can post comments on articles and other users blogs.
The writers as stated earlier can post actual articles which are categorised. The categories however are quite.. well.. deep ended you have Main sections - then you have categories within the main section - then you have sub categories and then.. further sub categories...and then articles. Don't ask me why because well thats the clients requirement and he won't budge from it.
Aside that the website would have a page where you see all blog posts by all users. All users would have a profile page. Also down the line the client would like to add in a forums section where all members can host discussions. He would also like to add in an online store where he could sell certain articles via paypal or so..
I can build this thing myself from scracth using Php mysql and a bunch of classes I've developed over time but I'm interested in looking to use a third party open source option for this which pretty much handles all the work. Keeping all the requirements stated in mind - what could be used to build something of this nature. I've seen the following news websites: www.gulfnews.com and www.thenational.ae - I assume they're both built on some similar open source platform...
What would be a good extensible CMS or open source package that could meet all the requirements stated above...wordpress, drupal? I'm open to suggestions - it has to be Php MySQL based as thats my tool of choice..
EDIT============
Basically I have no experience with Drupal at all so I'm completely new to using it. Would the end result be an independant website or would it be intertwined with drupal such that I'd have to have drupal set up on the clients end for it to be able to work? Sorry if my question sounds lame :(
I'd recommend drupal: http://drupal.org/
You can create a writer role for your writers. The taxonomy module will take care of your categorization needs. The blog module will provide individual blogs for all or selected users and provide a page to display all blog entries, as well as pages that only display specific blogs. You can use CCK if you need more to your articles than is provided by the built-in page or story content types, and views if you need to tweak the output. All users have a profile by default, and you can easily add to it with the profile module.
You can do all of this without any coding whatsoever.
Later on, you can easily add a forum, paypal integration, almost ANYTHING ELSE using only contributed modules.
Checkout http://www.drupalsites.net/ to see lots of sites built with drupal.
Drupal should fit your needs nearly out of the box.
You can argue Wordpress is not a CMS, but Wordpress MU offers everything you need, except the forum and store, but there are good plugins for that.
Wordpress MU has extensive support for user roles and nested categories.
Th MU part means that you can have one install for multiple blogs, and a central part.
http://Wordpress.com is ran using Wordpress MU.

Categories