The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
@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 |
#12
|
||||
|
||||
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....
|
#13
|
||||
|
||||
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 |
#14
|
|||
|
|||
Thanks Julian this will be most useful
|
#15
|
||||
|
||||
Quote:
|
#16
|
||||
|
||||
Yah man, this hack would rule
|
#17
|
|||
|
|||
Any updates?
|
#18
|
||||
|
||||
yes ...i can?t wait to get this hack!
|
#19
|
||||
|
||||
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. |
#20
|
||||
|
||||
This is the trick!!
Thanks Axe!! Will check this out... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|