vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vBsubdomain2 (https://vborg.vbsupport.ru/showthread.php?t=41982)

Minots 08-05-2002 10:00 PM

vBsubdomain2
 
Well well... You ask 4 it. Here it is.
This is the extended Version of my first one. Details

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

[D]Vincent 08-06-2002 01:58 PM

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.

Minots 08-06-2002 02:11 PM

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:
PHP Code:

<html>
<head>
<title><?php echo $row[title?></title>
<meta name="keywords" content="<?php echo $row[metaauthor?>">
<meta name="keywords" content="<?php echo $row[metakeywords?>">
<meta name="description" content="<?php echo $row[metadescription?>">
<meta name="revisit-after" content="<?php echo $row[metarevisit?>">
<meta name="robots" content="<?php echo $row[metarobots?>">
</head>
<frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">
<frame name="main" src="<?php echo $target_url ?>">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
<a href="<?php echo $target_url ?>">Click here to visit <?php echo $row[title?>.</a>
</body>
</noframes>
</html>

That is smaler than you index-page I think. ;)

[D]Vincent 08-06-2002 05:49 PM

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 08-06-2002 07:10 PM

What exactly is this hack?

Brad 08-06-2002 08:46 PM

Quote:

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 08-06-2002 09:01 PM

Quote:

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

Minots 08-07-2002 12:19 AM

@ countryboy713
You´re right. That´s what I mean. Sorry 4 my bad english.

Schorsch 08-07-2002 04:06 AM

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 08-07-2002 04:50 AM

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:
Quote:

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


All times are GMT. The time now is 05:57 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
  • Page Generation 0.01314 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete