Buck Anderson - DNN Professor Member Login
February 04, 2012

ForumsDNN Professor Forums

DotNetNuke Forums | Xmod Forums | Internet Marketing Forums | DNN Professor Product Forums

Product Support and Product Forums Registration


Subject: Listing Administrator
Prev Next
You are not authorized to post a reply.

Author Messages
JeffUser is Offline

DNN Newbie
DNN Newbie
Posts:8
Send This Member a Private Message

02/11/2010 4:19 PM  

We're Using:
Multiple Category Form and Listview 2

We have a Role for "Advertisers" available through a paid subscription.
We have another role for "Professional Setup"
Both are allowed to "Add Records" in XMOD

Multiple Category form is set to "Require Approval"
"Administrators" and "Professional Setup" are allowed to approve and manage records.

Before approval, users are allowed to edit and delete their listing
After approval, users are allowed to edit their listing

Everything works great except the "listing administrators" functions are available to the advertisers after the listing was approved as a standard listing.  I would think this would only be available to "Administrators" or the security role "Professional Setup".  I dont think it would be to handy if an advertiser could upgrade to an enhanced listing by themselves.

Thanks in advance.

Jeff

Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

02/11/2010 5:39 PM  

Jeff,

That doesn't make sense.

In the form code, below the parameter section is a line of code:

panel showroles="Administrators,Listing Approval"

which is the default on the forms for Business Directory.

Only comma separated roles in the showroles section have rights to view the Admin option section on the top of the entry from.

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


JeffUser is Offline

DNN Newbie
DNN Newbie
Posts:8
Send This Member a Private Message

02/11/2010 7:58 PM  

Show roles was the problem.  My partner found it about the time you responded.  Thanks.

Love the Directory.

Jeff

JeffUser is Offline

DNN Newbie
DNN Newbie
Posts:8
Send This Member a Private Message

02/12/2010 8:12 AM  

What generates that data?

Thanks

Jeff

Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

02/12/2010 9:04 AM  

 Hi jeff,

The panel control is built in functionality of XMod forms.

The showroles attribute looks at the DotNetNuke security roles and compares the logged in user to users assigned to specific roles.

If the current user belongs to one of the roles in the list, the contents of the panel will be visible. Otherwise, the contents will be hidden. If showroles is empty or not specified, the contents of the panel will be visible.

XMod Online Help reference for Panel
 


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


You are not authorized to post a reply.
Forums > Product Forums > Business Directory > Listing Administrator



ActiveForums 3.7

Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map