Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbSubdomains v1.0 (german/english) Details »»
vbSubdomains v1.0 (german/english)
Version: 1.00, by Minots Minots is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-01-2002 Last Update: Never Installs: 21
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 07-19-2002, 11:12 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Schorsch

Die Grundeinstellung des Hacks sieht vor, dass sich das Forum im
Web-Hauptverzeichniss deines Speicherplatzes befindet.
Also dort, wo Du deinen netten Disclaimer (index.htm) gespeicherst hast.
Aus diesem Grund befindet sich in der 10. Zeile von "vbsubdomains.php" folgender Eintrag.:
PHP Code:
require('./global.php'); 
Der genaue Standpunkt Deiner "global.php" lautet allerdings "./vB/global.php" und kann deshalb nicht gefunden werden.

?ndere einfach in "vbsubdomains.php" die Zeile 10 um.:
PHP Code:
require('./vb/global.php'); 
Das m?sste es dann gewesen sein.

Und was die ".htaccess" angeht.
Sie legt die Priorit?t der "Startseiten" fest. Lautet der Eintrag z.B.
Code:
DirectoryIndex vbsubdomain.php index.php index.html
dann sucht dein Webserver zuerst nach "vbsubdomain.php" um sie anzuzeigen/zu bearbeiten.
Wenn diese Datei nicht vorhanden ist, dann versucht er es als n?chstes mit "index.php" usw.

Ich hoffe, das bringt Dich ein wenig weiter. Andernfalls frag mich einfach weiter. Wir bekommen das schon hin.

In diesem Sinne,
Reply With Quote
  #43  
Old 07-20-2002, 01:30 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Minots,

habe ich geaendert!

es kam anschliessend noch die meldung:

Code:
Warning: Unable to access ./admin/config.php in /home/virtual/site73/fst/var/www/html/vB/global.php on line 124
dasselbe fuer sessions.php und einige andere.

gut, dann dachte ich mir, ich aendere in der global.php ./admin/xyz.php in vB/admin/xyz.php und es sollte funzen. falsch gedacht, die fehlermeldung war zwar weg, ABER wenn ich mein forum oder nen beitrag anschauen wollte kam nix als ne weisse seite

was kann ich tun ?

und ich habe noch ne Frage: Ich habe meine alte .htacces durch Deine ersetzt, in der alten standen jede menge wirre sachen drin die ich nicht verstehe. Habe ich jetzt dadurch ne sicherheitsluecke oder wozu war meine alte .htaccess da ?

DANKE fuer deine Hilfe

Gruss,
Schorsch
Reply With Quote
  #44  
Old 07-20-2002, 04:08 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hallo Schorsch.

Was in deiner alten .htaccess stand weiß ich nicht und kann Dir deshalb auch nicht sagen, ob Du jetzt ein Sicherheitsproblem hast. Aber Du wirst davon doch ein Backup gemacht haben, oder?

Wegen dieser weißen Seite:
Benutzt Du jetzt die .htaccess die beim Hack dabei ist, oder das Beispiel aus meinem vorherigem Posting?
Außerdem müsste ich noch wissen, wie deine "Disclaimer-Seite" heißt und welche Einstellung Du in der global.php gemacht hast.
Ich meine diese -> $startpage ="index.php";
Reply With Quote
  #45  
Old 07-20-2002, 05:33 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Minots,

jep ich benutzte die .htaccess die bei deinem hack dabei war:

Code:
DirectoryIndex vbsubdomain.php index.html index.php
meine disclaimer seite heisst index.html

in meiner vB/global.php habe ich das folgende:

Code:
// **** set variables for vBSubdomains by Minots ****
// replace 'youdomain.com' with the domain name who will be used
// by the subdomain service.  'wildcards' aka 'catch-all' must be enable!
$maindomain = "fetter-esel.com";
// replace 'index.php' with your homepage startpage
// in most cases it will be 'index.php', 'forum.php', 'index.htm' or 'index.html'
$startpage ="index.html";
Gruss,
Schorsch
Reply With Quote
  #46  
Old 07-20-2002, 06:04 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Merkw?rdig... Klingt so als sei alles in Ordnung.
Ich habe Dir noch eine PN geschickt.
Reply With Quote
  #47  
Old 07-20-2002, 08:39 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Danke Minots, du hast auch PN

Gruss,
Schorsch
Reply With Quote
  #48  
Old 07-24-2002, 02:28 AM
Demonslayer's Avatar
Demonslayer Demonslayer is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would I do if i wanted the subdomain to be something other than the username (they get an input field to put it in) and a site other than the homepage?

I hope it isn't anything too hard to do...
Reply With Quote
  #49  
Old 07-29-2002, 01:45 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Minots:

you have a PM

regards,
Schorsch
Reply With Quote
  #50  
Old 08-06-2002, 01:44 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First beta of vBSubdomain2 is out!
Be carefull! Read all! Find it here -> https://vborg.vbsupport.ru/showthrea...threadid=41982
Reply With Quote
  #51  
Old 08-06-2002, 02:35 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Minots:

do you have any ideas for my problem or will the new version solve my problem ?

regards,
Schorsch
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07822 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete