TotalGolf
Customers
Post Count:223
 |
| 21 Mar 2011 12:43 AM |
|
- Active Social Version: 1.9.1
- DotNetNuke Version: 5.6.1
When I try to remove options available to members as profile privacy options, I get a javascript error.
|
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 24 Mar 2011 10:19 AM |
|
Are you using a custom skin on the admin side of your site? If so, try changing the admin skin to MinimalExtropy. |
|
|
|
|
TotalGolf
Customers
Post Count:223
 |
| 24 Mar 2011 12:32 PM |
|
I switched to Minimal Extropy and still have the same issue. |
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 24 Mar 2011 02:47 PM |
|
Considering you are having another unrelated javascript issue simultaneously, it might be something on your end causing an interference with the javascript. It could be the browser, or something else on the page (although changing the skin to MinimalExtropy should have ruled that out.) |
|
|
|
|
TotalGolf
Customers
Post Count:223
 |
| 25 Mar 2011 04:39 PM |
|
I just did a brand new install of DNN. The only thing I did was install AS. The error is still there. I can actually add new items to the available options, but I can't remove Everyone or Friends Only as options. I still get the same javascript id error. |
|
|
|
|
TotalGolf
Customers
Post Count:223
 |
| 25 Mar 2011 04:59 PM |
|
Ok. upon further investigation, it looks as though the behavior is even quirkier than I thought. If you have all of the options available on the right, you can successfully remove them IF you start with the one on the bottom and delete them bottom to top. It seems that regardless of which options are available, you can't delete them in any other order. |
|
|
|
|
TotalGolf
Customers
Post Count:223
 |
| 25 Mar 2011 05:01 PM |
|
Oh, and just to be clear. This is the same behavior on my existing install and my brand new one. |
|
|
|
|
TotalGolf
Customers
Post Count:223
 |
| 07 Apr 2011 08:28 PM |
|
I just solved this issue the same way I solved another issue I've been wrestling with for quite some time...realized I had a custom template that removed something I apparently shouldn't have. So, to point out the obvious, my "brand new" install had my custom templates folder copied over. I was under the impression that my error was being caused by a conflict with another module or some other configuration conflict. |
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
| 08 Apr 2011 07:20 PM |
|
I've done that a couple times and was banging my head trying to figure it out. In the end, I always go back to the default views, review the code and make sure there is something I forgot to add into my custom view. Also make sure to review some of the classes used, if you run into this in the future. Some classes are used in the js library. |
|
Cheers! Jeff
@northeastok | @jeffblanks | My Blog |
|
|
TotalGolf
Customers
Post Count:223
 |
| 21 Apr 2011 03:10 PM |
|
Thanks Jeff for the insight. After seeing an issue posted by another member, I came back to this post and noticed that I had posted that I solved this issue. In fact I haven't. My response was meant for another thread of mine that I did solve. This is still in my opinion a bug in AS. You can't delete profile access options unless you start from the bottom of the list and work up. |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 21 Apr 2011 03:56 PM |
|
I have reproduced this issue, and will report it to the developers. |
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
| 30 May 2011 03:05 PM |
|
TotalGolf,
I was having a similar issue with removing "notes" in the "mysettings.ascx". I had it working in a previous version (I thought). And now I realize that whenever settings were changed with certain settings commented out, that I would get an error in my event log and the settings weren't saved.
InnerException: Must specify valid information for parsing in the string. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.EnumResult.SetFailure StackTrace: Message: System.ArgumentException: Must specify valid information for parsing in the string. at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument) at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult) at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at System.Enum.Parse(Type enumType, String value) at Active.Modules.Social.Controls.MySettings.btnSave_Click(Object sender, EventArgs e)
After more testing, I found out that adding enabled="false", or commenting out the whole control, both produce the same error.
So, I tried a workaround with CSS that I have tested and works. You can add style="display:none;" to the code you want hidden, or you can also create your own "nodisplay" class with: display:none; height:0;
Not sure if this will help you for what you're doing, but thought I'd pass it along for anyone else out there getting errors when trying to lock down the "mysettings.ascx" template.
|
|
Cheers! Jeff
@northeastok | @jeffblanks | My Blog |
|
|