![]() |
yaXay user subdomains
Does anyone know how yaXay made it so every member has their own member.yaxay.com, and it redirects to their profile. How can I do this to my forum, and make it so they are automatically created for every member?
Thanks ReveX |
A lot of people would love such a hack :D
- miSt |
I don't think it redirects to tehre profile page. If you check there profile page, it doesn't have the comments, or the image functions. Though the SubDOmain profile does.
|
I would like to know how that was done. Anybody have any ideas?
|
is it not vb subdomains?
|
No it isn't.
|
I was checking out how to do this hack, and I did it really quick, but with one problem: It only works when you have your forums installed on the root of your site, for example: domain.com.
It won't work if you have your forums on domain.com/forum or forum.domain.com However, there's a solution, and it's what Minots did with his vB subdomain hack. Another point, what I did was just display the standard profile just like vBulletin does... Nothing like the information displayed in the yaxay site... So, if you people are still interested, I could do something to get this hack done. |
For me at least I will have to have mine installed to forum directory
|
Well yaxay's is not installed in the public_html directory...
Please reelease such a hack Julian :) - miSt |
Quote:
Man that would be very cool!! What do u think are the server-requirements for using this hack?? |
@JulianD - yaXay has never in the time that I have heard of it or seen it had the forums in the root directory (yaxay.com) - It has always been either yaxay.com/yack/ or forum.yaxay.com;)
But if you could get this done, it would be awesome:) Satan |
can't you use the haccess files to make it so that it forwards it making it fake a subomain, when it really i sjust a redirect of sort....
|
Yeah, a trick with the htaccess file is what you need to do...
Another good thing about this hack is make it usergroup based... So let me finish it and I'll release it in the Beta forum. Well... Now I have to go out and make some christmas shopping :D |
Thanks Julian this will be most useful
|
Quote:
|
Yah man, this hack would rule :)
|
Any updates?
|
yes ...i can?t wait to get this hack! :)
|
A hack like this is real easy...
You just need to be able to wildcard DNS. have *.yourdomain.com pointing to the IP address. Then set a default vhost for all non-specific names. Like you set one up for www.yoursite.com, which goes to your main site, you set one up for forum.yoursite.com, which goes to your forum, gallery.yoursite.com to go to your gallery, whatever... Then you have all the others by default going to the default vhost with just a php file which simply forwards to their profile URL. You just have it grab the first part of the hostname the whatever.yourdomain.com.. whack it in a variable like $subdom.... Then have it send the "location".. Code:
header("Location: http://forum.yoursite.com/member.php?s=&action=getinfo&username=$subdom"); Code:
header("Location: http://www.yoursite.com/forum/member.php?s=&action=getinfo&username=$subdom"); BUT, you can always just whack a lil SQL query in there before you forward 'em to wherever. Once you've figured out what should go in $subdom, simply connect to the vB database, say "Hey, is there anybody with the username $subdom?" If it says yes, forward to the appropriate URL. If it says no, forward 'em to your forum/website's homepage :) But, most web hosters ain't gonna be playing around with wildcard DNS on u'r domain, and depending on their mood, they might charge you an arm & a leg to modify the apache config, setup the DNS, etc... If you've got your own dedicated box though, and know how to do it, it only takes about 10 minutes to set it up, another 10 to figure out the script. You just gotta wait for DNS to update so everywhere knows u'r wildcard DNSing now. |
This is the trick!!
Thanks Axe!! Will check this out... :) |
Kars10 did u get it working
|
Yes, this works! :)
Can write a short install in the next days.. ;) Btw: Thanks Axe! |
No problem, any time I can help out :)
|
Quote:
|
Sorry, im very busy these days. I promise i write one soon!! ;)
|
All times are GMT. The time now is 07:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|