Return to Jive Software

Skip navigation

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2,259 Views 6 Replies Last post: May 21, 2009 9:43 AM by anthony RSS
edovale Novice 216 posts since
Mar 29, 2009
Currently Being Moderated

Apr 17, 2009 7:36 AM

Adding Splash Screen

Hi there,

I have a use case where I need to add a splash page that will come up before the actual default page in clear spaces. Can any one shade some light as to what's the best way to achieve this?

 

Thanks a lot.

 

Erick.

anthony Jive Employee 2,691 posts since
Sep 23, 2005
Currently Being Moderated
Apr 17, 2009 7:50 AM in response to: edovale
Re: Adding Splash Screen

Do you need it to be presented to the user everytime the login/arrive to the site? Or just once, like a T&C page?

 

Anthony

marcello.rinaldi Intermediate 535 posts since
Feb 13, 2009
Currently Being Moderated
May 19, 2009 4:14 AM in response to: edovale
Re: Adding Splash Screen

Yes, we too are interested in presenting a specific message to every user ONLY the first time he/she accesses the community. It woulb be a Terms Acceptance message, that users should click and accept. Their acceptance should then saved to user database in order for us to have proven track of users acceptance.


How to do this?


My best,


Marcello

anthony Jive Employee 2,691 posts since
Sep 23, 2005
Currently Being Moderated
May 20, 2009 2:41 PM in response to: marcello.rinaldi
Re: Adding Splash Screen

Sorry for the delay on this - I missed the other response.

 

This could be done in a plugin, you can either write a global interceptor or add a filter. Basically, the idea would be to catch the user if they do not have an extended user property set, and hold them at a page. Once they "accepted" the page, they would then have a user property set that would then allow them to bypass this on subsequent calls.

 

Cheers,

 

Anthony

marcello.rinaldi Intermediate 535 posts since
Feb 13, 2009
Currently Being Moderated
May 21, 2009 1:14 AM in response to: edovale
Re: Adding Splash Screen

Hi, thanks.

 

Could you give more hints on how to develop a plug-in for Jive SBS? I would need to pass this information to our programmers. Thanks.

And... Isn't it possible that a similar plug-in already exists? :-D

 

My best,

 

Marcello

anthony Jive Employee 2,691 posts since
Sep 23, 2005
Currently Being Moderated
May 21, 2009 9:43 AM in response to: marcello.rinaldi
Re: Adding Splash Screen

Marcello,

 

Take a look here for the plugin documentation:

 

http://www.jivesoftware.com/builds/docs/clearspace/latest/BuildingPlugins.html

 

It is possible that someone has created something like this - but it might not meet your exact needs.

 

You could then extend Filter:

 

public class TermsAndConditionsFilter implements Filter { }

 

spring.xml:

 

    <bean id="termsAndConditionsFilter" class="com.jivesoftware.plugin.termsandconditions.TermsAndConditionsFilter">
        <property name="jiveGlobals" ref="jiveGlobals"/>
    </bean>

 

Then inside that filter you can do what you need to do in terms of checks - you can always display the splash screen on entry...you can keep track if you've displayed it before, etc.

 

Cheers,

 

Anthony

More Like This

  • Retrieving data ...

Bookmarked By (0)