Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:57 pm EST
Geeklog Forums
Theme's in subdomains
Status: offline
NeoNecro
Forum User
Regular Poster
Registered: 02/07/04
Posts: 90
Hey,
I wonderd if it was possible to put a theme in a subdomain.
Example:
I have a babe's theme on my site, now I want people to get to this theme like this: babes.mysite.com
Is this posible? It would be very nice.
Grtz
dimis-site.be
I wonderd if it was possible to put a theme in a subdomain.
Example:
I have a babe's theme on my site, now I want people to get to this theme like this: babes.mysite.com
Is this posible? It would be very nice.
Grtz
dimis-site.be
13
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Let me guess: Slashdot?
Geeklog doesn't support putting topics on subdomains, though, so this isn't possible. There is, however, a hack that lets you define a different theme for each topic. Search for "chameleon", I think that's the one.
bye, Dirk
Geeklog doesn't support putting topics on subdomains, though, so this isn't possible. There is, however, a hack that lets you define a different theme for each topic. Search for "chameleon", I think that's the one.
bye, Dirk
9
14
Quote
tokyoahead
Anonymous
You could make a hack into the config.php I guess.
something like
if ($_SERVER["HTTP_HOST"]=="babe.mydomain.com")
{$_CONF['theme']= 'Babe';}
elsif ($_SERVER["HTTP_HOST"]=="whatever.mydomain.com")
{$_CONF['theme']= 'whatever';}
else {$_CONF['theme']= 'Smooth_Blue';}
Then make a link somewhere that points to that direction.
something like
if ($_SERVER["HTTP_HOST"]=="babe.mydomain.com")
{$_CONF['theme']= 'Babe';}
elsif ($_SERVER["HTTP_HOST"]=="whatever.mydomain.com")
{$_CONF['theme']= 'whatever';}
else {$_CONF['theme']= 'Smooth_Blue';}
Then make a link somewhere that points to that direction.
12
10
Quote
Status: offline
NeoNecro
Forum User
Regular Poster
Registered: 02/07/04
Posts: 90
OOh crap
I just saw I made a terible mistake in my question. Its because I'm not English, but I'm trying.
It had to be topic, not theme.
So I wan't to put different topics in different subdomains. Is this possible?
Sorry for my big mistake, I hope you guys will forgive me
dimis-site.be
I just saw I made a terible mistake in my question. Its because I'm not English, but I'm trying.
It had to be topic, not theme.
So I wan't to put different topics in different subdomains. Is this possible?
Sorry for my big mistake, I hope you guys will forgive me
dimis-site.be
11
13
Quote
tokyoahead
Anonymous
This might be impossible. Unless you want to create a rewrite in the typ of:
babe.mydomain.com
equals
mydomain.com/babe
and put a html file in there that redirects to
http://mydomain.com/index.php?topic=babe
but thats everything but an elegant solution.
maybe you can create some magic reqrite-rule on your apache-server, but thats out of my knowledge. It seems possible to me though. I dont see any way how you could do this with hacking geeklog.
check http://httpd.apache.org/docs/misc/rewriteguide.html for that.
babe.mydomain.com
equals
mydomain.com/babe
and put a html file in there that redirects to
http://mydomain.com/index.php?topic=babe
but thats everything but an elegant solution.
maybe you can create some magic reqrite-rule on your apache-server, but thats out of my knowledge. It seems possible to me though. I dont see any way how you could do this with hacking geeklog.
check http://httpd.apache.org/docs/misc/rewriteguide.html for that.
12
11
Quote
tokyoahead
Anonymous
ceck google groups
alt.apache.configuration
register, post the problem and I guess you will get an answer
alt.apache.configuration
register, post the problem and I guess you will get an answer
12
13
Quote
All times are EST. The time is now 09:57 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content