1
francly
how to create the term of use everytime login to XOOPS
  • 2008/2/21 3:51

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


Dear All,

I have a portal using XOOPS 2.0.13.2, I want to create a page after user login and prompt for "TERM OF USE“ when use click agree button then can continue using the portal.

I can't find any hack or modification guide on the forum.

Please give me advice, thanks

2
Anonymous
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/21 10:17

  • Anonymous

  • Posts: 0

  • Since:


Perhaps you could use a module to create a blank page and add a custom block to it?

Try UserPage from Instant Zero's website.

3
Peekay
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/21 13:18

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


If you have 'general preferences/user-info settings'

Display Disclaimer = 'Yes'

new members must agree to your terms of use (whatever you put in the 'disclaimer' box) in order to register.

You could copy the terms into a plain page as well, perhaps using a module like WF-Channel? You could then remind people on the homepage that they must abide by the rules.
A thread is for life. Not just for Christmas.

4
francly
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/21 13:42

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


Thanks for the advice, I will try this

5
francly
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/21 13:46

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


Thanks Peekay, I already have disclaimer when user first register to portal but I want to always remind user the term of use when each login session is initial, I will try the WF-Channel later on.

6
francly
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/22 7:04

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


JAVesey,

I have install the userpage and create a blank page for myself, I'm not understand the next step how to add custom block, please advice.

7
Quest
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/22 13:35

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


You can create the custom block from your admin/system/blocks

Scroll down below and you will see where to input your information for the new/custom block. Create it, ensuring you have the appropriate location set-page, module, etc for where you want it to display and that it is set to YES to display. Then Save/Submit your Custom Block and you should have what you need. Don't forget, if you have to, you may have to or may want to also set group access permissions from the admin/system/groups.

Hope this helps.

Healing from Broken Back and left ankle,
Quest

8
Peekay
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/22 16:23

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I wrote a small hack that presents an 'I accept your terms' checkbox on login.

I accept your terms and conditions - Login hack

It also shows how to add your terms to the user login template page.

HTH
A thread is for life. Not just for Christmas.

9
francly
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/25 3:45

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


Thanks Quest for guiding me

10
francly
Re: how to create the term of use everytime login to XOOPS
  • 2008/2/25 3:47

  • francly

  • Just popping in

  • Posts: 12

  • Since: 2005/4/20


Thanks Peekay, I tried the code, when I click logout it show me blank page

Login

Who's Online

207 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits