MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Photos section..what am I missing....photos not viewable by general public..  (Mono Support )

35327 put(a) pogledan, 14 odgovor(a) 16.3.2011. 15:18:42Kreirao(la) forcevfx
forcevfx

forcevfx

16.3.2011. 15:18:43
http://www.playmerc.com/MonoX/Pages/SocialNetworking/PhotoGallery.aspx

is there a setting I am mising..I want the genral public to view, no login rquired...can I do this??
same thing with my blog.

"No blog posts were found for the required criteria."

what critera..i'll look at the module, is it tsql query based on date??

p-


Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
khorvat

khorvat

16.3.2011. 20:22:02
Hi Patrick,

the sample / demo page that you are referring to is intended for authenticated users only and the code that is stopping the unauthenticated users from viewing the albums is:

snPhotoGallery.DefaultActiveControl = Page.User.Identity.IsAuthenticated ? ActivePhotoGalleryControl.MyAlbumList : ActivePhotoGalleryControl.EmptyAlbumList;

To make your gallery public please make a copy of the "/MonoX/Pages/SocialNetworking/PhotoGallery.aspx" and create your own page that will hold the module.

Note: Your copy of the PhotoGallery.aspx should not inherit from the MonoX class
MonoSoftware.MonoX.Pages.SocialNetworking.PhotoGallery

So just by putting the photo gallery module on that page you will have public photo gallery.

Let us know if we can help you in any other way.


Regards.

Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
forcevfx

forcevfx

16.3.2011. 21:26:39
I actually went back took a closer look..created a new base user..logged in and still can't see it...

why is this on that page/module??
View roles (by default, all users can acess the page):


I will follow your advice..just add a new page...

also..

I am having a real problem with cache ..when it is created, when it is refreshed...

contact page..it does not matter what I do...log in, go to contact page, edit module, make changes, set cache length to 0, or 1 sec, save changes...see the changes in admin mode..log out..and still the old address shows up when I log out..I can not find that record in the database..I re-started my webserver, recycled the app pool, re-built the web site...

it should not take anyone an hour to update the address on your web site...what is the deal???

again...I delete the page, added new page and added contact module re input my address...

and still no address change....but logged in as admin..there it is....WTF!!

how do I set everything to not cache at all, and work backwards...
I see a top level key:

<add key="ClientCacheMaxAge" value="30" /> can i set this to 0????

I know I am not a .net master..but this is just painfull...

www.playmerc.com


Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
khorvat

khorvat

17.3.2011. 9:28:03
Hi Patrick,

"why is this on that page/module??" it is on that page because it is a demo page. MonoX pages can be used just as an example not a working solution for our custom web sites.

Caching

To get familiar with caching mechanisms please read the following

ASP.NET Caching
MonoX Caching - MonoX Manual Section "14.11 Caching"

You need to be sure what caching mechanism do you use so we can help you. There are two basic mechanism widely used in MonoX - Data caching (Enabled by setting the CacheDuration on Web part properties) and Page output caching (Enabled on Page properties in MonoX administration - Pages). In your scenario I thing that you are facing the Page output cache issue, but to be sure please check if you see the cache indicator in the top -left of your screen (see the attached screenshot). If that is the case then please login as an administrator and click on the Cache refresh as shown on the screenshot. So basically when you cache the page and then change properties of Web parts placed on that page it is practice for an administrator to refresh the cached instance of that page (or you may wait until cache expires).

I hope that clears things a bit for you.

Regards.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
khorvat

khorvat

17.3.2011. 9:41:26
To answer to other two questions you had:

how do I set everything to not cache at all, and work backwards...

By default few of the MonoX demo pages are cached and they are:

/MonoX/Pages/Features.aspx
/MonoX/Pages/AdditionalResources.aspx
/MonoX/Pages/SocialNetworking/Dashboard.aspx ("Let's Socialize")
/Blog.aspx

<add key="ClientCacheMaxAge" value="30" /> can i set this to 0????

There is no need to degrade the MonoX performance by setting this value to "0" this is mostly used for Avatar caching etc.

Regards.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
forcevfx

forcevfx

17.3.2011. 12:07:02
just forget it....I'm done
p


Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
khorvat

khorvat

17.3.2011. 12:32:46
I just wen't over to your web site to look at the photo gallery. One more thing that may be causing your photos not to show is privacy level which may be set to private ?

Regards.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
forcevfx

forcevfx

26.3.2011. 16:27:54
I can not get this to work...even a registered user can not view photo's, I went over this....checked and double checked..
created an acount, logged in, no photos....

there is no "MonoX/Pages/SocialNetworking/PhotoGallery.aspx" in my version..only a series of containers .ascx..under a different directory..
Please...why can't I have a public portfolio of still images..???

This is the last peice, I really need....

I went back and chaged the user to registered..no pics, so public, users, registered, can not view my photogallery..??
no matter what I do....

argh!!!!!!!!!!!!!!!!!
Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
forcevfx

forcevfx

26.3.2011. 16:42:14
well, maby its the individual photos, that are set to freinds, instead of public..Yikes

again..what happen to this??


Server Error in '/' Application.


The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /MonoX/Pages/SocialNetworking/PhotoGallery.aspx

Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
forcevfx

forcevfx

26.3.2011. 16:43:53
yep..for some reason..that page just ah..disapeared...will replace and check back..I'll get this to work...
Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 20 Ukupno objava
1 2