Memberlist DisplaySettings

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
11/15/2011 5:32:03 PM
Gravatar
Total Posts 38

Memberlist DisplaySettings

Hi,

I understand that I should be able to configure the Memberlist Displaysettings from theme.skin, but I'm not really sure how to do that. I thought it was as easy as to add the following code in the theme.skin-file

<portal:MemberListDisplaySettings  runat="server"
        HideWebSiteColumn="true"
        HideForumPostColumn="true"        />

But it seems like I'm totally wrong!?

Would very much appreciate if someone could give me some help,

::Anette

11/16/2011 8:58:13 AM
Gravatar
Total Posts 18439

Re: Memberlist DisplaySettings

It should work except if you are using .NET 3.5 under medium trust then it won't be able to use the theme.skin file from the skin folder, so in that case you would ahve to put it in /App_Themes/default/theme.skin

The theme cache can be rather stubborn, it should clear the cache when the theme.skin file is edited or when web.config is touched but sometimes on rainy Tuesdays it seems very hard to clear the theme cache, I've seen it not work as expected myself on occasion but most of the time it does clear the cache as it should.

Hope that helps,

Joe

11/17/2011 3:30:05 AM
Gravatar
Total Posts 38

Re: Memberlist DisplaySettings

YIPPEE, now it worked! Strangely enough I  did touch the web.config   - nothing happend (ok- it was a Tuesday but not a rainy one). But today the same approach worked!

::Anette

5/17/2012 11:28:42 AM
Gravatar
Total Posts 14
"I call the big one Bitey"

Re: Memberlist DisplaySettings

Hello, just come across this solution, I'm working on our company intranet, and would like to hide these columns, but putting that code in the theme.skin of my skin breaks the site, and putting it in the App_Theme/Default/theme.skin doesn't seem to work.

Is this feature not available for MojoPortal version 2.3.4.8?

5/17/2012 11:39:48 AM
Gravatar
Total Posts 18439

Re: Memberlist DisplaySettings

Hi,

We never made an official release of version 2.3.4.8, so you must be working with something that someone got from our source code repository a very long time ago (circa early 2008). If you are starting a new project it would be best to work with the latest version of mojoPortal. The MemberlistDisplaySettings was not implemented very long ago so it did not exist in that older version.

Ideally you would upgrade to the latest version but not knowing the history of who worked on your site, it is possible that they forked the code meaning that you would lose their customizations and possibly break functionality in your site by upgrading.

Hope that helps,

Joe

5/17/2012 11:44:05 AM
Gravatar
Total Posts 18439

Re: Memberlist DisplaySettings

I take it back, we did release a version 2.3.4.8, I guess it just didn't get listed on the release history page.

As long as no-one forked the code, upgrading would be highly recommended though it is a very old version to upgrade from and you could run into difficulties so read the upgrading notes carefully and back up your site both the file system and the database in case you need to restore the old version if something goes wrong.

If you do run into problems after the upgrade we'll try to help you sort through them. Make sure you at least have MS SQL 2005 or higher because we dropped support for SQL 2000 long ago.

Hope that helps,

Joe

5/18/2012 3:16:17 AM
Gravatar
Total Posts 14
"I call the big one Bitey"

Re: Memberlist DisplaySettings

Hi Joe,

Thanks for the info, I was the one who had MojoPortal installed, so as far as I remember we didn't fork any code, and we used the custom .config files, so hopefully upgrading shouldn't have any extra complications.

Reason we haven't upgraded sooner is that everything has to go through tech support for live sites, which puts an extra layer of process onto things. But I think 2 years is probably justifiable to upgrade..! 

Cheers!
Graham

 

5/21/2012 8:55:25 AM
Gravatar
Total Posts 14
"I call the big one Bitey"

Re: Memberlist DisplaySettings

Hello again,

Upgrading is going well, but I have a couple more questions:

Are there any more attributes for the MemberListDisplaySettings such as HideJoinedPostColumn?

Unrelated question: The admin menu icons are different in the new version, but I see the old icons are still in Data\SiteImages (key.png, page_white_add.png, page_white_wrench.png). How can I change them back please?

Cheers,
Graham

5/21/2012 11:13:47 AM
Gravatar
Total Posts 18439

Re: Memberlist DisplaySettings

There is not a display setting for that but I think you could hide that column by css. Something like this should do it but I have not tested it:

.memberlist table #t2, .memberlist table td[headers=t2] {display, none}

The settings for those icons can be found in Web.config, you could copy the relevant settings into user.config and change them, however in a future release I will probably change that to use some display settings that can be controlled from theme.skin since they are currently global to all sites in an installation and it would be better to be able to control them on a site by site or per skin basis.

Hope that helps,

Joe

5/22/2012 6:58:08 AM
Gravatar
Total Posts 14
"I call the big one Bitey"

Re: Memberlist DisplaySettings

Cheers Joe,

The table column hiding worked thank you, I don't think it'll work on IE6, but if we have any users using IE6 we can get them upgraded.

I only found the <add key="UseIconsForAdminLinks" value="true" /> entry in web.config, which I control in my master file, so instead I set it to false and used CSS to select the images, and then used a negative text-indent to hide the text. Plus this way I could position it slightly off on  :hover to get a little bit of interaction on the go.

Thanks again!
Graham

You must sign in to post in the forums. This thread is closed to new posts.