Register   Login
     
  Latest Posts  
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
  Forums  
Subject: wrong subscription status
Prev Next
You are not authorized to post a reply.

Author Messages
Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


9/29/2007 9:27 PM  

I've got an "Author" role that a subscriber gets put  into after successful payment.

Now I want to show all authors something like "Hello [FULLNAME] ... you are now an "author" on this site ... thanks for subscribing!"

And I want to show all (DNN) Registered Users something like "Hello [FULLNAME], please consider subscribing, which comes with the following benefits ...!"

In my tests the Registered User message will show for Registered Users AND for users with a valid subscripion (users who are in the Author role.)

It only shows the message for Authors if I clear the content for Registered Users.

So how does it determine what message to show if a given user account belongs to two roles? What am I missing?


Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/30/2007 8:48 AM  
Are you using the subscription status module to do this? The registered users part should be the last section to define in view options.

Scott McCulloch
Site Administrator
Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


9/30/2007 11:20 AM  
Yes Scott, the subscription status module.

My Edit Content table is in the following order:

- Administrators
- Author
- Registered Users
- Subscribers

So 3 DNN default roles and one "custom" role (Author.)

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/30/2007 3:41 PM  
Oh, it checks the roles in turn (down the list).

Try renaming subscribers to something starting with A-Q.

Scott McCulloch
Site Administrator
Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


9/30/2007 3:53 PM  
I deleted the Subscribers role altogether, but still have the same issue.

So Registered Users needs to be above Authors?

DNN won't even allow the renaming of roles ... I guess I would have to delete the role and create a new one ...

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/30/2007 4:35 PM  
No registered users needs to be at the bottom, this is what i do for this site.

I am going to add some ordering in the page that allows you to customise the checks, the way it works is to check each role in turn then display the content.

Scott McCulloch
Site Administrator
Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


9/30/2007 4:55 PM  
Thanks, but I still don't get it.

If people belong to both the Authors role AND Registered Users how does the module decide what to display?

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/30/2007 5:46 PM  
It picks the first one it matches, going from top to bottom.

Scott McCulloch
Site Administrator
Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


9/30/2007 7:54 PM  
Well, it looks like I'll have to abandon the subscription status module for now as I just can't get it to display the appropriate content :(

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
You are not authorized to post a reply.
Forums > Modules > Subscription Tools > wrong subscription status



ActiveForums 3.7