View Full Version : vBsubdomain2
Well well... You ask 4 it. Here it is.
This is the extended Version of my first one. Details (http://www.vbulletin.org/forum/showthread.php?s=&threadid=39332)
It includes the same features + many things more.
The main features are:
* member can as much subdomains (redirektors) as admin allows
* admin can allow/disallow the usage 4 every member and/or usergroup
* full integrated searching for vBsubdomain-user in adminCP
* custom error & redirect templates 4 this hack
Atention!
vBulletin3-Alpha1 is out now, so i will stop to work on this hack
for vB2. It´s possible that I will make a new one for vB3.
Also, the most templates in the zip-file are in german and have
to translate.
And you should only try to install this hack on a test-board.
There isn´t a "1-file-hack-instruction" in the zip! You have to be
advanced install-knowlege to let it work.
OK, hacker! Now it´s your turn.
Edit: a basic translation of templates can be found here (http://www.vbulletin.org/forum/showthread.php?postid=325714#post325714)
[D]Vincent
06 Aug 2002, 15:58
This is a nice hack indeed, I have 5GB of space so I could easily pull it off if it wasn't for my lack of bandwidth=\ and I only get 15 subdomains. So I'm not going to use it but it's still very nice.
You don´t need many more bandwith for that. ;)
It will
- check the "incoming-URL"
- compare it with DB entrys
- output a realy small site to make a redirektion
look at this code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That is smaler than you index-page I think. ;)
[D]Vincent
06 Aug 2002, 19:49
I don't even have enough for my vB, it ran out in two weeks last month =\ mainly because of the shoutbox, and it still may run out this month which is why i'm getting a new host soon.
assassingod
06 Aug 2002, 21:10
What exactly is this hack?
Originally posted by assassingod
What exactly is this hack?
if you install it a member can ask for a subdomain. when they get one it will redirect to his/her site
membername.yourforumurl.com
countryboy713
06 Aug 2002, 23:01
Atention!
vBulletin3-Alpha1 is out now, so i will stop to work on this hack
for vB2
wha! i never heard anything about it being released besides the demo board.
great hack btw
@ countryboy713
You´re right. That´s what I mean. Sorry 4 my bad english.
Schorsch
07 Aug 2002, 06:06
Hi Minots,
ich habe die neue Version gleich installiert, folgende Fehler tauchen auf:
1) in den User Groups wollte ich bei Registerd Users und Admin "Can use vBSubdomain" auf Yes stellen, allerdings hat er den Wert nie uebernommen. Nach druecken auf "Save Changes" ist er immer wieder auf No gesprungen.
Ich ging dann per phpmyadmin rein und habe den wert manuell auf 1 gesetzt.
2) Wo kann ich denn nun die subdomain einstellungen veraendern ?? hab schon alles abgesucht und nix gefunden, weder als admin noch als registered user.
Schorsch
07 Aug 2002, 06:50
Problem 1) gefunden: du hast in der admin-usergroup.php.txt Datei beim letzten schritt (Step 04) das vergessen einzufuegen: cansubdom=$cansubdom
nun merkt er sich die einstellung :)
Update zu Problem 2)
habe nun den inhalt des neuen templates modifysubdom direkt an betreffender stelle des alten templates modifyoptions eingefuegt (anstatt laut anleitung nur $modifysubdom einzufuegen), und nun kann ich wenigstens die subdomaineinstellungen in den user einstellungen sehen :)
soweit so gut :)
jetzt aber folgendes, ich muss jeden user einzeln freischalten damit es funzt (per user find) und das obwohl ich in den usergroups allen registered usern subdomains erlaubt habe
wenn ich das nicht mache kommt fuer den registered user die folgende meldung:
Diese Funktion steht Dir momentan nicht zur Verfügung.
Weitere Informationen darüber stehen entweder in der FAQ oder
können beim Administrator eingeholt werden.
was ist da falsch ?
cu
Schorsch
Highlander
08 Aug 2002, 10:07
hello..
in the installs wroites..that i have to modify..an esixsting TEMPALTe..named modifoptions..but there is no template..named like this..what should i do?
Schorsch
08 Aug 2002, 14:34
Originally posted by Highlander
hello..
in the installs wroites..that i have to modify..an esixsting TEMPALTe..named modifoptions..but there is no template..named like this..what should i do?
sure there is! press "show all", then you can find modifyoptions
Originally posted by Schorsch
jetzt aber folgendes, ich muss jeden user einzeln freischalten damit es funzt (per user find) und das obwohl ich in den usergroups allen registered usern subdomains erlaubt habe
Das liegt am query
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Du kannst die Spalte per PHPmyAdmin löschen und verwende
dann einfach diesen hier:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Weiterhin viel Erfolg wünscht
Demonslayer
09 Aug 2002, 17:46
what features do you plan on having in the final that aren't in here?
I´m not sure.
But it´s possible that i add features like:
* admin can change users subdomain-settings
* a "dynIP"-feature
* subdomain categorys
At this time I´m waiting for vB3. If the first final was released I´ll
make this hack again. Possible with the features above. ;)
Schorsch
09 Aug 2002, 21:15
Danke Minots!! Das Problem ist geloest :)
jetzt ist mir noch was aufgefallen, wenn jemand als Usernamen z.b. Bablabla Blubbblubb hat, also mit dem space dazwischen, dann funzt die subdomain nicht.
was kann man dagegen machen ?
Danke,
Schorsch
@Schorsch
Wunderbar! Dann bist Du wahrscheinlich sogar der Erste!
:banana:Congratulations!:banana:
Zu deinem "Leerzeichen Problem".:
Als erste Abhilfe, könntest Du diesen Membern 2 Redirektoren
gönnen. In dieser 2. können sie ja den Namen mit "-" verwenden.
Ansonsten müsste ich mich nachträglich eine "Namens-Korrektur"
einbauen, was ich aber aus zeitlichen Gründen eigentlich nicht
möchte.
Bei der Version für das vB3 werde ich aber darauf achten. ;)
Schorsch
09 Aug 2002, 21:37
gute idee mit der 2. subdomain pro user!! werd ich gleich machen :)
und Vielen Dank fuer deine Muehe und Arbeit, Minots, ist echt ein grossartiger hack :)
Gruss,
Schorsch
Schorsch
10 Aug 2002, 00:03
Hi Minots, ich schon wieder :knockedout:
grad hat ein user eine subdomain erstellt, kurz darauf habe ich folgende 2 email automatisch geschickt bekommen (DB ERROR):
Database error in vBulletin 2.2.6:
Invalid SQL: INSERT INTO usersubdomain (username, title, url, metaauthor, metakeywords, metadescription, metarevisit, metarobots, hits, userid) VALUES ('frodang', 'Fordang's Server', 'http://www.xxxxxxxxxxx', 'xxxxxxx', 'suchbegriff,wort,wort,...', 'hier gibt es immer meine frische IP', '999 days', 'NOINDEX','0', '723')
mysql error: You have an error in your SQL syntax near 's Server', 'xxxxxxxxx.' at line 1
mysql error number: 1064
Date: Saturday 10th of August 2002 12:55:07 AM
Script: http://www.fetter-esel.com/vB/vB/member.php
Referer:
Database error in vBulletin 2.2.6:
Invalid SQL: UPDATE usersubdomain SET title='Frodang's PU-Server',url='http://www.xxxxxxxxxx',metaauthor='Frodang',metakeywords='suchbegriff,wort,wort,...',me tadescription='hier gibt es immer die frische IP',metarevisit='10 days',metarobots='NOINDEX' where username LIKE 'frodang'
mysql error: You have an error in your SQL syntax near 's PU-Server',url='xxxxxxxxxxxxxx',metaauthor='Frod' at line 1
mysql error number: 1064
Date: Saturday 10th of August 2002 12:57:28 AM
Script: http://www.fetter-esel.com/vB/vB/member.php
Referer:
die subdomain des users funktioniert aber trotzdem.
weisst du was da falsch gelaufen ist ?
Danke :)
Schorsch
So langsam glaube ich, dass ich zu Deinem Tech.Admin werde.
Ich logge mich mal mit Deinen Daten ein & guck mal nach. ;)
Schorsch
10 Aug 2002, 00:18
Hi Minots,
also habs grad mal selber getestet, dieser DB Error kommt wenn man z.b. bei Description einen Apostroph eingibt, z.b. Minot's Server, dann kommt der DB error.
cu
Schorsch
OK, versuche es jetzt noch einmal bitte.
Schorsch
10 Aug 2002, 00:28
nope immer noch nicht, apostrophe mag er anscheinend nicht :banana:
is aber nicht weiter dramatisch.
Gruss,
Schorsch
proxyMX
12 Aug 2002, 02:14
i want this! but im not sure if my host allows it
Simply ask him.
If he allows a 'catch all' domain be happy. ;)
Cold Steel
17 Sep 2002, 14:15
Is there any way to integrate this with Lesane's store hack?
@ Cold Stell
Im sure, that´s possible.
But I never test it. Simply try it with a local installation by yourself.
NuclioN
18 Sep 2002, 02:27
--edit-- i had a problem but it's solved. ;) The mod is working but an url is shooting me to the host website. Maybe it's not allowed to have subdomains??? I shall ask them but maybe it's something that must change, i dunno. Idea?
NuclioN
18 Sep 2002, 14:36
--edit-- sorry, problem solved ;)
Originally posted by Minots
I´m not sure.
But it´s possible that i add features like:
* admin can change users subdomain-settings
* a "dynIP"-feature
* subdomain categorys
At this time I´m waiting for vB3. If the first final was released I´ll
make this hack again. Possible with the features above. ;)
i think it should be added to VB3 as a default hack this is incredible :D
some of the templates are in german :(
hi i am running VBB 2.2.7 and its not working :(
diavolo
30 Sep 2002, 22:39
hi I tried to upload and copy the query.txt to mysql, but I kept getting:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
im sure it's something simple, but I suck at mysql. Could you give me the correct syntax that will work for phpmyadmin?
I've just spent 10 mins trying to translate the templates via google translator and it got me nowhere :(.
Is there any change you could provide us with the english templates?
Thanks in Advance
- miSt
Chris M
24 Oct 2002, 01:15
I would be very interested to see if this works;)
Satan
I looked at the coding and can't see why it wouldn't
Just that the freakin' templates are in German lol!
- miSt
Does this do like http://yourusername.yaxay.com is that what this is ? Please let me know.
It allows people to have username.yoursite.com and then that subdomain links to a site of their choice :)
- miSt
Goldknight
13 Nov 2002, 20:17
Mist, why not post Mintos's templates at here then use translate feature at here, vb.org to read english heheh.
Or at least kneel and beg Xenon to translate =D
eckels2
23 Nov 2002, 23:38
Is it possible to mask the domain these subdomains link to with the subdomain name? If that were the case, something like this could be used as a no-ip type of service. That is something I would truly be interested in.
Hi all!
Cause I have to work on a lot of different projects, it´s
impossible 4 me to visit this thread often.
I´m realy sorry 4 that.
(And my english is still bad.) :D ;)
At this moment, I was able to spend a few minutes to help...
Enough said. Let´s do...
@ wolfe
"i think it should be added to VB3 as a default hack this is incredible"
Thanks! It´s realy fine to hear that kind of feedback! :)
I often think about the hard work I had with this hack in the past
& how much usefull it will be to include the new features. Still 10 min. ago I would have said that I will not make this work nevertheless probably. But than I read your posting.... So:
That´s the reason why I will include the features above, if a stable version of vB3 is avaible. :rambo:
@ diavolo
Yes that´s right, You have to do every query seperatly with phpmyadmin.
@ Mist
*hehe* Yeah I know how hard it is to translate freakin' words with google! :D
"Is there any change you could provide us with the english templates?"
I will try to do a 'general manner translation' in the next days.
@ hellsatan
"I would be very interested to see if this works;)"
Sure, why not? My first hack of this kind was vbSubdomains v1.x.
It´s working fine and the only different to vbSubdomains v2 are some more features. Oh, another different is present.:
Version1 comes with hack-instructions, Version2 comes only with my short informations I write down while develop it. :pirate:
Now I have add a special acc 4 to allow a DEMO of this hack.
- go to my page -> http://www.minots.de/
- login with betatester/betatester
- got to the UserCP -> http://www.minots.de/usercp.php?s=
- choose 3. Option from left (edit options) http://www.minots.de/member.php?s=&action=editoptions
- scroll down to the bottom of the page an hit the "Subdomain Daten" button
Note: This UserAcc can´t post anything and the redirection will not work for him. But you can see and play around with the redirection-options. ;) Add, Del a.s.o. :)
And.... No, I doesn´t make a "test-Admin-acc" :D
@ TimHL
Yes it does. A adfree redirection service 4 your Members. :)
@ Goldknight
Before santa is coming, you will get something like that. ;)
But remain already well-behaved! ( hehe, just kidding :D)
@ eckels2
Jepp, this will done in the next version. And I´m thinking about
3 ways of 'IP-updates' for the "no-ip type service" (aka DynIP).
1. IP-Update Option: the subdomainuser just have to visit your board
2. IP-Update Option: the subdomainuser is using a personal "update-url" with his browser (a simply entry in favorites will be usefull ;))
3. IP-Update Option: a small "automatic-update-client" was installed. (something like the one from DynIP.com)
That´s what I wanna do, but I can´t promise that every 3 Option
will be avaible.
Option 1 will be very easy, I think.
Option 2 is a little bit harder, but possible in a few hours.
Option 3 is the "deluxe Version". I will be glad if this work! :D
---------------------------------------------------------------
Ok hackers. Thats all 4 the moment.
With Best regards,
I dont know any German at all and when i tried the translator - not everything worked..
This hack would be installed on my forums by now had the templates been in english :(
- miSt
SRozhon
26 Nov 2002, 04:15
It was hard to install though with the language problem, but I think I got it now.
Maybe I can offer a little advise to the forum based on what I had problems with.
With the query, change
PRIMARY KEY (userid), UNIQUE username (username))
so it is
PRIMARY KEY (userid), UNIQUE username (username));
that helped me, otherwise you can do one query at a time.
------------------------
Ok, I just tried it out and even though I have set it to VIP, yes and Yes I get this permission screen when I press the subdomain options button.
You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Can anyone offer some help? :bunny: Thanks!
There are english templates in the followed attach.
I realy hope that my english is good enough 4 you all.
@ SRozhon
Please try this:
AdminCP -> User Groups -> Modify (administrator)
scroll down to "Miscellaneous Permissions" and check the option
"Can use vBSubdomain"
and try this one:
AdminCP -> Users -> your username
sroll down to "vBSubdomain Options" and check options
"Use vBSubdomain"
"Is vBSubdomain-VIP"
Some of those templates aren't proper english..
I'll have a go at a proper translation from what you've done already 2 weeks 2moro :)
- miSt
@ Mist
Why do you doesn´t post them?
Cuz i have exams in 2 weeks so i dont have time hehe
- miSt
SRozhon
30 Nov 2002, 23:41
YES!!! Thanks very much!! That was it. I think this hack is great! Thank you for your time and quick response. :-)
Mickie D
16 Mar 2003, 09:39
is anyone thinking of making this so that members can have about 2MB's of space ???? and actually build a webiste on my site ???
i have unlimited space and bandwidth so its not a problem for me i can see others having a problem with it though :(
There is no such thing as unlimited space and bandwidth :)
- miSt
Mickie D
16 Mar 2003, 20:40
i know what you are saying and i agree ... ;)
thats what they told me though and thats what i pay for :)
but i know exactly where you are coming from lol
but it would be a good idea though to be able to give your members say just 1MB to upload a few pictures and a bit about themselfs :)
Ok is this right to install now?????
templates ok??????
I want to offer this to my priemum members
The english translation was not complete so i never got a chance to even try it properly :(
so the templates are the only issue?
No - i hadn't even got as far to test it :(
Hi folks!
Please help me: It seems as if I'd be to stupid to install this hack. I can't find any word about subdomains in my profile (yes, I modified my modifyprofile template).
I'm running vB 2.3.0
What am I doing wrong?
Floh
@Floh
We´ve spoken 2 time about your different kind of problems.
And at last you doesn´t send me anymore mail, so I´ve to think that it works? ... i realy hope so...
@Mist
The english translation was not complete so i never got a chance to even try it properly
OK, it´s hard to translate a foreign language. That´s right.
But it can´t be impossible if you try it with "en<->de dictionarys". Also feel free to ask in this thread for a corresponding translation. ;) (so with a litle teamwork we´ll do it 4 you to)
With best greetings,
mmmmmmm, ok the instruction are not very clear but i will give it a trial run ..... first i already have a .htaccess file in the root folder for another hack!
in this case dont i have to add the contense of your .htaccess to the other one ??????
@trafix
in your current .htaccess file, is there any line begins with
DirectoryIndex? it works & look like the one from the apache configuration-file (httpd.conf).:
i.e.:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
if this line is already present, you need to change it like.:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
if you don´t have it in your .htaccess -> simply add it ;)
I presume that the .htaccess goes in the main forum folder not the root folder fo the site......
in my admin/usergroup.php
there are 2 occoasions of
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I would persume to replace both cases with your new code??
there is also 2 occessions of
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
one again i persume that i change both ???
I think you need to look at redoing the instructions for this hack.
I will let you updated as i contunue the instalation process.
another error in your instructions
admin-usergroup.php.txt
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
You forgot to put
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in the replace with line
I have finished installing.....
i got this error when i tried to add a new subdomain
Database error in vBulletin 2.3.0:
Invalid SQL: INSERT INTO usersubdomain (username, title, url, metaauthor, metakeywords, metadescription, metarevisit, metarobots, hits, userid) VALUES ('fun', 'party party party', 'http://www.atmyparty.com/', 'Alistair Fenton', 'party', 'party time', '10 days', 'ALL','0', '2')
mysql error: Duplicate entry '2' for key 1
mysql error number: 1062
i was also getting some other errors as well
Minots, do you have either icq or Y! mesenger?
un installing :(
let us all know when you get a working version 4 vb 2.3.0 +
I would really like to get this hack installed on my board but sounds too buggy :(
buggy is an understatement.... i was on the tail end of installing to when i lost my internet connection .... it took the isp company 2 hrs to fix the problem .... when i got back on line i found out than nobody could access the website at all cos of the hack ...
I dont have a test board :)
Logtenberg
19 May 2003, 21:36
Is it possible to have a sub-domain for each member by default (without them having to do anything)?
Morpheus84
21 May 2003, 19:18
bei mir geht garnix :(
er speichert die einstellung nicht, ob die gruppe subdomains nutzen darf :(
(habe vB 2.3.0)
Und ich hab auch kA, wie ich ne SubDomain anlegen kann :(
Minots, kannst du mir evtl. n bissl. per icq: 178197828 helfen ?
Vielen Dank dir :)
@trafix
04-30-03 at 05:12 PM trafix said this in Post #68 (http://www.vbulletin.org/forum/showthread.php?postid=389392#post389392)
buggy is an understatement.... i was on the tail end of installing to when i lost my internet connection .... it took the isp company 2 hrs to fix the problem .... when i got back on line i found out than nobody could access the website at all cos of the hack ...
I dont have a test board :)
:cross-eyed: *hhhmpfff* *g* I can´t believe it! ;)
Why do you don´t use a local copy of your board? :speechless:
Do you´ve read my first posting in this thread? ...sorry.... no more comment about it...
@Logtenberg
I´m sure that someone have done a hack with (nearly) the feature your request. Just try a look in the hack-database. :)
@Morpheus84
Wenn ich´s zeitlich gebogen bekomme, dann lass uns es uns mal heute abend ab 23:30 Uhr versuchen. Ich könnte mich bei Dir per PN melden, wenn Du möchtest. Ansonsten warte noch ein klein wenig, weil ich (wegen dem Bedarf hier) wohl doch noch eine Anleitung schreiben werde.
(was ich eigentlich erst für das vB3 machen wollte... naja, egal... ;)
MfG
I would really appreciate, if there would be a 2.3 working version with an option, that does not makes any subdomains, but just makes new folders with user names, so all the info, they're photos are stored there...
Pseudomizer
03 Aug 2004, 18:28
Any news about the VB3 version of this hack please ?
Cheers,
deathemperor
04 Aug 2004, 06:13
yes I'm also eager to see this hack on the lovely vb3
shortbus1662
12 Nov 2004, 06:21
I still don't understand the point of this hack after reading all of the posts about it. What's the point of allowing a user a subdomain? Why do they benefit? Why does the site itself benfit? What am I missing?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.