DNN Dynamic Roles Tip 3: Show content for users that are members of Role1 and Role2

Using DNN’s default role system, you may know the following issue: When restricting the visibility of your site’s module to specific roles, the roles are connected by a logical OR. However, there are situations where you want a module to be visible only if a user is a member of two (or more) roles. Creating a separate new (combined) role and managing role memberships manually is complex and error-prone. DNN Dynamic Roles makes this job easy by extending DNN’s standard permission system and automating the process of managing role memberships. Continue reading

How to detect unsupported browsers with DNN Dynamic Roles

DNN Dynamic Roles can be used to detect an unsupported browser and or browser version in the DNN CMS platform. If an unsupported browser is detected, you can show an error message or update hint for example. Here’s how: Continue reading

DNN Dynamic Roles 01.03.00 released

We’re happy to announce today’s release of DNN Dynamic Roles 01.03.00. The new version features anonymous tracking – a powerful feature that keeps track of your dynamic roles even if your visitors log in on your website at a later point. Besides, the new version includes a new random rule as well as several bugfixes. Continue reading

Go beyond static: How to add automagic to DNN’s role system

Without doubt, DNN’s role system is a powerful means for customising your site’s content. The visibility of every single module on your pages can be configured on the basis of roles. By employing the technique, you can easily display additional content for super users, display some relevant information for your sellers, or hide products already bought from customers on your e-commerce website. But there is one central limitation. Continue reading

DNN Dynamic Roles Tip 2: Turn a static DNN role into a dynamic one

Do you already have set up a static (“usual”) role in DNN, assigned some users to it, and want to turn it into a dynamic one now? That’s easy: Just create a new dynamic role with the same name using DNN Dynamic Roles. As the module integrates smoothly with DNN’s default role system, the users assigned manually will stay assigned. Continue reading

Using logical operators in DNN Dynamic Roles

Logical operators are a powerful means to connect booleans. As you may know, you express the rules that make up a dynamic role in XML syntax. Each rule results in a boolean value when evaluated by the DNN Dynamic Roles module. Using the module’s logical operators is easy: Continue reading

DNN Dynamic Roles Tip 1: Use “Caching Time” to improve performance

If you have set up dynamic roles with complex rules that are expensive to evaluate, or you do not expect that the rule’s result will change from one second to another, you can use the dynamic role’s “Caching Time” setting to increase performance. In detail, after the rule is evaluated (and depending on the result, so whether the user was added to or removed from the dynamic role) the “Caching Time” defines the timespan in which the rule is not evaluated again. During this time the user’s role membership status remains unchanged.

One scenario for a rule where setting a “Caching Time” is recommended is a dynamic rule with trigger “Request” that’s based on geo localisation (see section “Geo Location” in the docs). Since most likely the user’s location won’t change from one request to the next, it is reasonable to use a suitable “Caching Time” to evaluate the rule only once in a while.

DNN Dynamic Roles 01.02.00 released

We’ve just released DNN Dynamic Roles Version 01.02.00 with several useful new features. Continue reading

Displaying dynamic content in DNN depending on the source of traffic

If you are active in marketing your website, a common scenario is setting up landing pages. A good landing page exactly matches a visitors expectations. Thus, it’s a good practise to tailor your landing pages exactly to the source of traffic. For example, you may have one landing page which is addressed by a set of slightly different advertisements (i.e. Google AdWords, banner ads, affiliate marketing, etc.). DNN Dynamic Roles is great for customising your content depending on the source of traffic. Continue reading

DNN Dynamic Roles 01.01.00 released

We’ve just released version 01.01.00 of DNN Dynamic Roles – our module for the DNN CMS which allows for defining criteria which, when matched, automatically assign your visitors to roles (and unassigns them again when the criteria are not matched anymore). Continue reading