TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 307
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 274
  • Total: 274

Is this Possible

Started by gfxindia, September 18, 2006, 01:38:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gfxindia

I wanted to add a new functionality to my SMF board.
I'm starting a new site which uses SMF user system through SSI.php

I want a new feature.
When users sign up, i want http://username.mysite.com to be created. and the users should be able to add content to it using simple HTML.
That is, it will use my theme's index.template.php and all their content go with the theme.

Not necessarily a subdomain.
It can be http://mysite.com/username too.

People please tell me if this is possible and how.

Thank You

Xarcell

It's not possiabel through SMF alone. Your asking for is a "sub domain" for each user. Sub domains cost $$$, usually teh same as a normal domain. That also tend to be limited by host...

It would be possiable  to make a subfolder, but would require so much coding it wouldn't be worth it. Even with mod-rewrite.

I think the easiest way would be something like http://mysite.com/index.php?action=username. I dunno if that will give you what you want though.

gfxindia

Quote from: Xarcell on September 18, 2006, 01:46:05 PM
I think the easiest way would be something like http://mysite.com/index.php?action=username. I dunno if that will give you what you want though.
This will not be what i'll be wanting.

subdomains cost ? weird. my host gives unlimited subdomains. it comes with the CPanel.

The sites kinda similar to deviantart
so mysite.com/username or username.mysite.com will be better.

any can you give me starting tips on how to get the subfolder thing working.

gfxindia

you know the MultiSMF mod by vbgamer and gamesmad
they create subfolders/subdomains once the user get signed up.
Thats the kind of thing i am looking for.

IchBin

Xarcell, Sub-domains don't cost money. The only place it may cost you money is if your host wants to charge you for them. If you own the domain you have the ability to have your own Sub-domains. Otherwise, someone could just purchase name.yourdomain.com and steel part of your domain name.

Darkman, what your asking is beyond 99% of the knowledge of this community. I think you'll get suggestions on how to do this, but I wouldn't expect anyone to give you a how-to.

gfxindia

I dont need how-to's
I just need a start as to which file i should look and something like that.

JPDeni

You would probably want to look at Register.php, function Activate(), because you wouldn't want to create a directory for them until they had activated their account.

You could use the php mkdir function to create a directory and then copy whatever files you wanted into it. Not sure how you could create a subdomain, though.

This really is more of an SMF issue than a TP issue, though, I would think.

rebelrose

That sounds more like you would have to make a subdomain for each member in your cpanal and then grant them access to the subdomain in order to add content to the pages.

IchBin

You'll be better off going to a yourdomain.com/username like Myspace.com does because creating a sub domain does require an entry into the DNS server.

Xarcell

In my case then I can say that my host charges me $10 USD for a subdomain. Unless I'm mistaken...

This website is proudly hosted on Crocweb Cloud Website Hosting.