1
melissawb
Change Homepage?
  • 2006/11/24 21:59

  • melissawb

  • Just popping in

  • Posts: 9

  • Since: 2006/11/22


Hi,

I have a homepage that has a members section. The members section is powered by xoops. How can I put a link on the login page which will take the user back to the original home page (not part of xoops)?

2
teibaz
Re: Change Homepage?
  • 2006/11/25 13:27

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13


Quote:

melissawb wrote:
Hi,

I have a homepage that has a members section. The members section is powered by xoops. How can I put a link on the login page which will take the user back to the original home page (not part of xoops)?


Sorry, I can't understand what do you want to do

You want that:
* users that logged in would be redirected to your site?
* users that login incorrectly would be redirected to your site?
* you would have login block in your non-xoops site, and after user login it would be redirected to xoops?

:) If you ask more clearly maybe someone could help you :)

Good luck,
teibaz

3
melissawb
Re: Change Homepage?
  • 2006/11/25 14:59

  • melissawb

  • Just popping in

  • Posts: 9

  • Since: 2006/11/22


Hi,

Sorry that I was so confusing. A login block on the non-xoops site would be perfect. But then I would need a way for them to get from the XOOPS page back to the non-xoops page.

Thanks!

Melissa

4
teibaz
Re: Change Homepage?
  • 2006/11/25 15:45

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13


Simply put this code:
<form action="http://www.yourxoopssite.com/user.php" method="post">
    
Username: <br>
    <
input name="uname" size="12" value="" maxlength="25" type="text"><br>

    
Password: <br>
    <
input name="pass" size="12" maxlength="32" type="password"><br>
    <
input name="op" value="login" type="hidden">
    <
input value="User Login" type="submit"><br>
form>


But remember that you'll be redirect in your XOOPS site even if member login fail.

In XOOPS you can create plain block, so add there your link to non-xoops site and that's all.

5
melissawb
Re: Change Homepage?
  • 2006/11/25 18:21

  • melissawb

  • Just popping in

  • Posts: 9

  • Since: 2006/11/22


Thanks! I was trying to make this more difficult than it was. I did not think of just putting in a block with the code already in it for a link back to the original site. Thanks! https://xoops.org/uploads/smil42e7a44fda194.gif
https://xoops.org/uploads/smil42e7a44fda194.gif https://xoops.org/uploads/smil42e7a44fda194.gif
https://xoops.org/uploads/smil42e7a44fda194.gif

Login

Who's Online

333 user(s) are online (256 user(s) are browsing Support Forums)


Members: 0


Guests: 333


more...

Donat-O-Meter

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

Latest GitHub Commits