Buck Anderson - DNN Professor Member Login
May 22, 2012

ForumsDNN Professor Forums

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

Product Support and Product Forums Registration


Subject: Approved listing, but user cannot edit or delete it
Prev Next
You are not authorized to post a reply.

Author Messages
Rob RobertsUser is Offline

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

03/15/2010 11:29 AM  

I have an open listing site that automatically approves listings for our members (now it does, it didn't when the problem child was created).

There is a single listing for which a user cannot edit the listing. I have logged on as her and have the same issue. She is listed as the owner of the listing (she created it while logged on as a registered user) but she cannot edit the listing (the Edit and Delete functions do not appear on her listing when she's logged on).

I have verified that another listing that was created before the auto-approve was working properly CAN see his listing Edit and Delete buttons and has actually edited his entry successfully. Any clues to the cause?

Presently, I have un-approved her record (since it is incorrect) and am attempting to trigger the re-approval.


Rob Roberts
Leviathan Consulting
http://www.leviathanconsulting.com
blog http://www.funcnology.com
Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

03/15/2010 3:28 PM  

Hi Rob,

By default, all administrators and host accounts can manage all listings in XMod.

Once you change the Xmod form settings to require approval you need to assign the listing to a user in a security role that has privlege to add listings.

On the admin options portion of the form, you will see an assign to user dropdown menu.

By default this dropdown menu shows a list of users in the DNN role Administrators and another DNN security role that you may have not set up named Listing Agent.

On your Configure Xmod Module menu, Security Settings, see what roles you have designated as having the ability to add listings.

For example, if your user is in the DNN role, Registered Users, you will need to modify the assign to user dropdown box to include users from the role, Registered Users.

Developer Note: It is probably not a good idea to allow the role Registered Users to be able to add listings. If you have thousands users in the role, Registered users, it will slow down Xmod performance.

In the module menu Manage Forms >> Edit with Plain Text Editor >> Edit form code

You will see a line of code like the one below:

adduserpicker ref="AddUser" class="dnnpNormalTextBox" displayfield="userfullname" roles="Administrators,Listing Agent"

Using our above example, if your user is in the role Registered users you add that role to the dropdown menu.

adduserpicker ref="AddUser" class="dnnpNormalTextBox" displayfield="userfullname" roles="Administrators,Listing Agent,Registered Users"

and save your form.

Finally, as Administrator, edit her listing and in the assign to user dropdown box her user name should now appear. Select her name, enter her email address that was assigned in the DNN registration process and update the listing.

She should now have the ability to edit only her listings.

Note:

Also check your settings tab in Manage Forms to be sure that you have checked the XMod User Moderation section After Approval to allow users to edit a record after approval.

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


Rob RobertsUser is Offline

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

03/15/2010 4:36 PM  
Thanks. She is getting an error, but I believe it is because I was in the record (will check on that).
Our group has fewer than 100 members, so the Registered User should work for us. I had promoted using this module on a much larger website for a potential client, but they selected an off-the-shelf CMS instead of open source.
Thanks.
Rob Roberts
Leviathan Consulting

Rob Roberts
Leviathan Consulting
http://www.leviathanconsulting.com
blog http://www.funcnology.com
Rob RobertsUser is Offline

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

03/17/2010 5:58 AM  

If I leave the Settings of the form to the following:

ITEM APPROVAL  Auto-Approve All Records

USER MODIFICATION (all settings to ON)

APPROVAL ROLES  Administrators

AUTO-APPROVE ROLES  Administrators

The user can see the edit button, but when she clicks into the record, she gets an error--"Error- You are not logged on or are not authorized to edit this record"

Yet if I add Registered Users to the AUTO-APPROVE ROLES section, she can now un-approve the records of others. This doesn't make sense to me.

Any suggestions?


Rob Roberts
Leviathan Consulting
http://www.leviathanconsulting.com
blog http://www.funcnology.com
Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

03/17/2010 8:50 AM  

 Rob,

You are describing the functionallity of the Xmod product by dnndev,com.

As in all DNN modules the module action menu contains a settings link.

Can you please check to ensure that you did not assign any roles, other than administrators, to edit the module in the settings >> permissions section.

Xmod has its own permissions built into it and there is no need to assign edit permissions on the module settings level. By setting security roles to have the ability to edit in the settings permissions it will override XMod permission settings.

I mention this because another client was having permission issues and this was the cause.

Reference to XMod Online Help:
http://dnndev.com/help/xmod/default.htm

XMod Managing Form Permissions

Configuring User Permissions

Since I have been working with Xmod since 2004, I have not recieved the error message that you have reported.

At this point, I suggest that you evoke a support ticket to Kelly Ford, developer of Xmod, and feel free to ask him to include me on the support ticket so I may follow the progress and ensure that you get this resolved.

XMod Support

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

03/18/2010 4:05 PM  

To All XMod Users:

We may have discovered an incompatibility between the latest version of XMod and the DNN API.

Kelly Ford, developer of XMod, is testing the issue.

I will report the results when I recieve them from Kelly.

Thank you for your patience.

Best regards,
Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

03/19/2010 12:27 PM  

XMod Users:

Users of Xmod 5.5.3 will experience this issue.

If you are using Xmod 5.5.3 upgrade to the soon to be released XMod 5.5.4 to correct the problem.

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


Rob RobertsUser is Offline

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

03/31/2010 6:41 AM  

OK, got and applied the 5.5.4 upgrade. Still a problem.

As a user other than the admin account, my logon can edit and create new entries. None of my other users can create new or edit their existing entries.

In addition, as host or admin, when I "add listing" and enter all the data, the form returns to the initial screen with the data blanked out and no listing created. This is getting the group very frustrated after entering all this data and losing it every time.

We need a solution. I'll be happy to give you a logon (though you can create one yourself the way our system is set up).

http://www.t-netters.org

Not sure why this is happening, but it's just about enough to leave me looking for other options besides BD 6.1. I like the product, but it has to work.


Rob Roberts
Leviathan Consulting
http://www.leviathanconsulting.com
blog http://www.funcnology.com
Rob RobertsUser is Offline

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

03/31/2010 7:28 AM  

Update-

After re-indexing XMOD, I have been able to add 2 user listings, but both generated exceptions for "Object reference not set to an instance of an object" in the XMOD method "KnowBetter.XMod.XModEdit.CancelForm".

I'll also post this to the XMOD support forum (these have not occurred before the upgrade to XMOD 5.5.4).


Rob Roberts
Leviathan Consulting
http://www.leviathanconsulting.com
blog http://www.funcnology.com
David KuhnUser is Offline

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

06/28/2011 2:46 PM  
Upgrading Xmod 5.5.4 fix this issue for me
You are not authorized to post a reply.
Forums > Product Forums > Business Directory > Approved listing, but user cannot edit or delete it



ActiveForums 3.7

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