1
rajaito
automatic subdomain for users profile
  • 2005/6/13 17:51

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


Does anyone know how I can set up an automatic script that will give users a subdomain of their choice that will point directly to their profiles??

I see that hotscripts has some scripts like this available, but I wouldn't know how to impliment them into the XOOPS database.

2
pegasus00321
Re: automatic subdomain for users profile

You can use .htaccess with mod rewrite to do this, but its a bit complicated.

Basically you'll need to point all x.domain.com to a file that will convert the username to their ID, then it will need to process it like what user.php does with that ID to display the user info.

3
rajaito
Re: automatic subdomain for users profile
  • 2005/6/15 14:35

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


That sounds awesome!

But I have no clue how I would even start to do this.
I'd basicly need step by step instructions as I am not a programmer. Although, I do feel fairly comfortable getting around XOOPS php code now.

Can you point me to a tutorial or something?

4
maumed
Re: automatic subdomain for users profile
  • 2005/6/15 16:19

  • maumed

  • Just popping in

  • Posts: 50

  • Since: 2004/10/18


wow! it can be made by htaccess??

Can you send me an example of htaccess to do this? so i can make the script to redirect this to the correspondent user profile and post here... That would be amazing, and many other people already ask for a script like this in the foruns before.


thanx in advance,
Mauricio

5
rajaito
Re: automatic subdomain for users profile
  • 2005/6/18 0:12

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


anyone have any idea how to do this?

6
rajaito
Re: automatic subdomain for users profile
  • 2005/6/30 4:53

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


bump!
My xoops site: ElectroniCulture.net

7
rajaito
Re: automatic subdomain for users profile
  • 2005/7/29 4:30

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


cha cha.....


I'd still like an answer to this question.
I can't imagine this isn't possible.

Especially after pegasus00321 said it was possible with htaccess.

I am just a dumb butt and need someone to tell me how.


P...P...P...Please???
My xoops site: ElectroniCulture.net

Login

Who's Online

228 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 228


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