Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 44.741.753 Times

Premium Content Access Permissions By Term 5.x-1.0-beta1

  Date Added: June 05, 2013  |  Visits: 471

Premium Content Access Permissions By Term

Report Broken Link
Printer Friendly Version


Product Homepage
Download (36 downloads)



The Premium Content Access Permissions By Term module allows access to content to be restricted to certain roles by taxonomy term and Drupal role permissions and supports multiple access tiers.It does not use the node_access table. It integrates with views via its use of taxonomy terms. It is similar but different to the Taxonomy Access Control, TAC Lite, Restricted Content and Premium modules.When access is denied to a content item it supports redirecting the user to another path, or giving them the access denied page. Support for more behaviors can be added reasonably easily.Installation instructions 1. Create a vocabulary for the access levels. A suitable name for the vocabulary is "Restrict access to". It must not be hierarchical or multiple. It can be required if you want, though this is usually not recommended. 2. Enable the vocabulary for at least one node type for which access can be restricted. 3. Create one term for each premium level. You don't need a term for "all users can access", since if a node has no access-level term set, then access control falls through to the "access content" permission. 4. Add the following line to the end of settings.php and change 123 to the ID of the vocabulary you created; 5. If you want to redirect users to a page where they can promote themselves (e.g. by registering or purchasing a role), then add the following lines to the end of settings.php; 6. Change 456 and 789 to the term IDs for the access level terms you created. Change user/login and node/1 to the Drupal system paths that users should be redirected to when they need to upgrade their account. If you don't configure any settings for a term, then it will simply return the 403 access denied content. Currently only the redirect behavior is supported, more behaviors can be added in the module, such as teaser, callback function, view, panel. 7. On the permissions page you can now set access permissions for each role and term you created.Important NoteIf you change a term name you will need to reconfigure permissions. This is a bug that needs to be fixed, by form_altering the permissions form so that the permission string uses the term ID, but the UI uses the term name.

Requirements: No special requirements
Platforms: PHP
Keyword: Access Added Array Behavior Change Content Created Denied Don Fphp Level Path Permissions Redirect Settingsphp Users Vocabulary
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


PREMIUM CONTENT ACCESS PERMISSIONS BY TERM RELATED
Development Tools  -  CS PHP arrayToPath 0.2
This script allows you to programmatically access an array using unix filesystem-like paths. Adding, removing, and updating items in an array without hard-coding it's location within the array itself. Especially helpful if the location of data is...
 
Network & Internet  -  Unity Web Player for Mac OS 2.6
Enables you to view blazing 3D content created with Unity directly in your browser, and autoupdates as necessary.
4.4 MB  
Utilities  -  Touch Files 1.0
Touch Files is an Automator action to change date created and/or date modified of the specified files/folderst. You can create and execute a workflow which contains changing time stamp operation if you install the action. You can create a service...
143.36 KB  
Modules  -  CCK Field Permissions 1.0
This is useful if you have a content type that you want to allow some classes of users greater use of- for example, a CCK node may have a field for a link to an external website. Using this module you can allow only registered users to have access...
 
Modules  -  Nice Primary Menus 1.0
An option is added to the admin/content/menu interface for selecting which nice menu to display. This option is only added to the children of the primary menu.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable...
 
Networking  -  Tweet Import 1.3.1
Tweet Import is a WordPress plugin that imports Twitter tweets from multiple Twitter accounts and lists into WordPress. By importing tweets, Tweet Import actually creates WordPress regular posts using the content of the imported tweets. It allows...
10 KB  
Business  -  OpenOffice.org 2.3
OpenOffice.org 2,3 incorporates an array of new features and enhancements to all its core components, and protects users from newly discovered security vulnerabilities. It is a major release and all users should download it. Plus: It is only with...
106 MB  
Business  -  Chart ModelKit 3.5
OpenOffice.org 2,3 incorporates an array of new features and enhancements to all its core components, and protects users from newly discovered security vulnerabilities. It is a major release and all users should download it. Plus: It is only with...
106 MB  
Content Management  -  TW-CMS 4.0.0RC1 1.0
TW-CMS is a content management system based on Postnuke designed for Persian speaking users and provides an out of the box environment ready for Persian language/date system.
 
Security Tools  -  Ridentd 0.9.3b
Ridentd server application is meant for the totally paranoid that need access to servers that require ident and dont want to give any information about local users to the remote server or its other users. Ridentd is a stand-alone replacement for...
7.17 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB