The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vbSubdomains v1.0 (german/english) Details »» | |||||||||||||||||||||||||
Hi everybody.
First of all I hope that my english is not to bad to understand because my favorite language is german. I have done my first hack and here it is. This hack will make it possible to give all registered members a free subdomain. It looks like http://username.yourdomain.com and using "frame-redirection". This hack will only work if you have a real toplevel-domain with 'wildcards' enabled. Somebody know it as 'catchAll-subdomain' (*.yourdomain.com automatic redirect to your homepage). Some hack details: * member can edit the subdomain options at the userCP -> edit options * member can change hompage title * member can change homepage url * member are able to set metatag 'author' * member are able to set metatag 'keywords' * member are able to set metatag 'description' * member are able to set metatag 'revisit' * member are able to set metatag 'robots' * special-chars in username are allowed * all subdomain-hits are counted. cause this it?s possible to create a "subdomain top 10" or anything else in future versions * subdomains are avaible for all registered and all new members * admin can set the amount of posts a member need before he can use the subdomain (requsted by hagi) * works with vBullentin v2.2.4 (Step 7.1) & v2.2.6 (Step 7.2) I wish that there will be no problems by installing this hack because I?m not often online for the next 1 - 2 weeks. Nevertheless I will come as often I can to help and to answer at your questions. The one and only thing I ask for is: Please rate this hack and click the 'install-button' if you use it. So i can see your opinion about it and know whether future versions are meaningfull. Show Your Support
|
Comments |
#2
|
||||
|
||||
care to give a example?
|
#3
|
||||
|
||||
Hi again.
Here is a snapshot of userCP -> edit subdomain options for a better illustrate. (with german templates) The attachment contains a snapshot from adminCP where you set the amount of needed posts. |
#4
|
|||
|
|||
is their a way to make it so that certain usergroups or if they have been here for xx days and have xx amount of posts because i wouldnt really want people to just join the board so they can have a subdomain.
|
#5
|
||||
|
||||
@ neo
Sorry, at this time i can´t give a sample(-account) cause I am using my domain (minots.de) for another free subdomain service. If my hoster enabled wildcards to my second domain (d0x.de) I will make a "demonstration board-account", so you will be able to see and test this hack live. @hagi This is a great idea and I will try to include it in the next version. |
#6
|
||||
|
||||
ill try this 2nite... it looks AMAZING.... ive been trying to get a hack like this for months...
but i can't quite understand how this works... does it jus give a redirect??? |
#7
|
||||
|
||||
@ Mist
I will try to give you a short description how it works. Lets see it with an example url like http://membername.boardname.com Because you have set a catchAll-Subdomain for your topLevel-domain (*.boardname.com) all requests are going to your main html-directory. The result of the .htaccess entry "DirectoryIndex vbsubdomain.php index.php index.html" is that the server was first processing the file vbsubdomain.php. In vbsubdomain.php the there are routines who 1.) get the host name (http://membername.boardname.com) 2.) get the "www." away if present 3.) delete everthing after the first slash "/" if present 4.) delete the ".boardname.com" result of this is that we now have the pur "membername" 5.) after that it checks if "membername" is in the usersubdomain-table if it isn?t --> auto proceed to your main hp-file like "index.php, index.htm, ..." 6.) if in table get subdomain variables(options) and do a framed html-output with all collected subdomain-options PHP Code:
PHP Code:
for error-handling. I hope that my description isn?t to hard to understand and you will now have a good overview how and why this hack works. With friendly greetings, |
#8
|
||||
|
||||
This is a really nice hack. Good job
|
#9
|
||||
|
||||
Wow, this looks great but still kinda cloudy on how it works. It looks as if members are allowed to add their own sub-domains, whatever that would mean
|
#10
|
||||
|
||||
Does anyone have this on their board so we can see how it works?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|