1
Anonymous
A UserInfo shortcut using 404 error
  • 2004/10/15 15:05

  • Anonymous

  • Posts: 0

  • Since:


This is my first PHP Code.

Installation:
1. .htaccess changes:
ErrorDocument 404 /404.php


2. Put 404.php file in XOOPS root directory.

Using:
https://xoops.org/Valker or https://xoops.org/Valker/ redirects to https://xoops.org/userinfo.php?uid=18947 .

Click here to see code at dev.xoops.org .

Enjoy it and send me suggestions.

2
Anonymous
Re:A UserInfo shortcut using 404 error
  • 2004/10/15 15:10

  • Anonymous

  • Posts: 0

  • Since:


Thanks to XOOPS Brasil Users, especially ozp11 (idea) and maumed for suggestions.

3
Anonymous
Re:A UserInfo shortcut using 404 error
  • 2004/10/15 17:07

  • Anonymous

  • Posts: 0

  • Since:



4
giba
Re:A UserInfo shortcut using 404 error
  • 2004/10/15 17:18

  • giba

  • Just can't stay away

  • Posts: 638

  • Since: 2003/4/26



5
wcrwcr
Re:A UserInfo shortcut using 404 error
  • 2004/10/15 17:36

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hey Walker

Well done

A kind of short url or a "business card" for some members.
Nice idea.

Maybe the sead of a "PersonalMiniWebPages" module.
Who knows?

6
ozp11
Re:A UserInfo shortcut using 404 error
  • 2004/10/18 20:02

  • ozp11

  • Just popping in

  • Posts: 74

  • Since: 2003/6/2 1


This is a great "hack" or addon!

Because many users can't create their pages, this allow them to use the "friendly" link

7
Mithrandir
Re:A UserInfo shortcut using 404 error

Provided you don't have broken links anywhere on the site... and that the username is actually in the database.

Would also like to see XOOPS API being used instead of manual mysql_* commands.

8
Forlorndeeds
Re:A UserInfo shortcut using 404 error

I managed to do a subdomain for my users. eg. Username.xoops.org
Involves having a fixed IP, and using CNAME* ponit.

Login

Who's Online

347 user(s) are online (240 user(s) are browsing Support Forums)


Members: 0


Guests: 347


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