Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
multiple site controller Details »
multiple site controller
Mod Version: 1.00, by robert_2004 (Member) robert_2004 is offline
Developer Last Online: Aug 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.5 Rating: (0 vote - 0 average) Installs: 7
Released: 01 Nov 2006 Last Update: 02 Nov 2006 Downloads: 18
Not Supported Uses Plugins Code Changes Additional Files Is in Beta Stage  

This mod will allow you to combine multiple sites that you own and master, into the one set of files and database - easier to maintain, to update, to administer, and to master.

Even though this page is fairly long - there is a lot of info to set it up, but it's bloody easy to install, and easy to work with once installed.

What you can do:
- auto detect which site they have come to, and setup the right usergroup and style.
- run different styles on different sites.
- allow/deny different usergroups to different forums and version of site
- multiple forums with permissions set to individual sites
- multiple calendars with permissions set to individual sites

What you can't do:
- allow users to choose their own style (**coming soon**)
- can't run some plugins on some domains, and not on the others - all plugins must/will be active across the whole board.
- can't work if you have subdomains (at this point) - i dunno, it may - i just have 1 line which auto places 'www' on your domain.
- it is lacking an upgrade system to bring two forums together. I built this from the start - meaning my testing server was my original site, then i started a second test site, and started adding people to it - THERE IS NO MERGE SCRIPT *YET*. although, you might be able to use the vB to merge - CAN SOMEONE PLEASE VERIFIY / COMMENT ON THIS. (i.e. if you have 3000users/25,000posts in your main, and you want to bring 5000users/45,000posts from your 2nd site to combine them, we don't have anything on offer to reset the ID numbers, etc. possible the imPEX thinggy will resort all of that for you.)



----------
Important - My Current Setup:

i'm running vb 3.5 with vBa's CMPS.
i have it set up:
/public_html/index.php (cmps index)
/public_html/domains.php (this current mod)
/public_html/forum/ (all the forums' files)


USERGROUPS
With the usergroups - you are going to have to add the short_http into the start of the usergroup name - so please take this into account (as the system searches the short_http to grab the usergroup for the person viewing, to put them into that usergroup).

i set it up to not use the original 'registered users', but rather, each site has it's own 'registered users' usergroup.
The admin, super mod, banner member - i.e anything you want/think can work across ALL the sites can stay as one, the rest of the sites should have their own usergroups:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

---------


Example:
none at this point.

hacks and addons:
- adding events to multple calendars at once (coming soon)
- calendar custom fields working on multiple calendars
------------------------



[Temp area - installation steps]
cpanel -> add parked domains
mysql database change
domains.php
global.php
register.php
class_dm_user.php
functions.php
create styles
add plugin - domains.php
add plugin - force style

-------------------
FIRSTLY, backup YOUR database!!!

[Step 1 - Park your Domains ]
go into your cPanel or Plesk, or your hosting control system, and park your domains to your account - this will make all your domains, myFirstDomain.com and mySecondDomain.com all display the front page of your first initial site.


[Step 2 - mySQL Changes ]
none that i can remember / find at this point.


[Step 3 - /public_html/domains.php ]
create this file and insert the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


[Step 4 - global.php]

find [line 115]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below this, add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

[Step 5 - register.php]
find [line 265]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add, below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find [line 285]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



[Step 6 - class_dm_user.php]
find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below, add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


[Step 7 - functions.php]
find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

[Step 8 - styles]
either create child styles or import your styles
you'll figure out the best way to set them up

[step 9 - add plugins]
adminCP -> plugins -> add new plugin

product - vbulletin
hook location - global_start
title - Domains or anything you want
plugin php code -
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(ACTIVATE PLUGIN)

NEXT PLUGIN:
product - vbulletin
hook location - style_fetch
title - Force Style for each Domain
code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(ACTIVATE PLUGIN)


>>>>>>>> AND YOU ARE DONE!

Set all your forums - thee are permissions to set for forums, usergroups, CMPS pages, etc
- remember, all heirarchy works on forums, and usergroups



- now for you to help.
Firstly, CLICK INSTALL >>>>>>>>>>>>>>>>>>>>>>>>>>
- If someone can turn this into a plugin, please go ahead
- if someone can see something to fix - please write it
- if you can help with updating/improving some code - please do it
- this mod is open for anyone and everyone, if you want to do something with it and release it - you are more than welcome to - PM ME so i can put a link & description to your version (i.e if you make a lite version, or a to in a different direction with this mod).
- if you want any features or updates, please write so on this forum - if it's good enough for me, i'll get it done - otherwise we'll see.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 01 Nov 2006, 12:12
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Can you explain me this I don't really get it.
__________________
My free mods~click here
Reply With Quote
  #3  
Old 01 Nov 2006, 12:37
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Real name: Brian
I'm assuming he means we can run multiple instances of vb on a machine and have all those forums share the same database.
Reply With Quote
  #4  
Old 01 Nov 2006, 12:47
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
This was sounding to good to be true.....
Reply With Quote
  #5  
Old 01 Nov 2006, 13:46
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Real name: Chris A.
This sounds interesting...
Reply With Quote
  #6  
Old 01 Nov 2006, 14:15
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Um, this will be removed untill its done -.-
Reply With Quote
  #7  
Old 01 Nov 2006, 14:32
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
a couple of people have been wanting this, so it will go up over the next few days - please subscribe or bookmark this thread - believe me - it will be worth your time!
a large portion of you are running 2-3 vbulletin sites, and believe me, it's easier to take care of them when they are all under the one server -> hosting account -> files & database
Reply With Quote
  #8  
Old 01 Nov 2006, 14:34
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
Originally Posted by Shazz
Um, this will be removed untill its done -.-
well i can't just post it all up at once - i'm not that smart ^__^ - and if i don't get it up like this, it will never go up - cause i work 16 hour days
Reply With Quote
  #9  
Old 01 Nov 2006, 14:38
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by robert_2004
well i can't just post it all up at once - i'm not that smart ^__^ - and if i don't get it up like this, it will never go up - cause i work 16 hour days
You should then release it when its ready..
Reply With Quote
  #10  
Old 01 Nov 2006, 14:39
VaaKo VaaKo is offline
 
Join Date: Jul 2005
Can you upgrade it to 3.6.x?
Reply With Quote
  #11  
Old 01 Nov 2006, 21:49
C.Birch C.Birch is offline
 
Join Date: Apr 2002
does this not break vb's terms of use?
Reply With Quote
  #12  
Old 02 Nov 2006, 05:02
SuperFly SuperFly is offline
 
Join Date: Feb 2005
Real name: Walker
No, it does not create more sites under one license, but if you have multiple licenses with diffrent sites on parts of server, it lets you manage them all in 1.
Reply With Quote
  #13  
Old 02 Nov 2006, 15:53
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
okay, all the details have been uploaded.
Please test on your localhost/testserver first, otherwise BACKUP YOUR FILES AND DATABASE!!!
Reply With Quote
  #14  
Old 12 Nov 2006, 04:17
jstep jstep is offline
 
Join Date: Jan 2006
a great hack...just having a bit of trouble installing

I think i did everything

could it be that my first domain is not hte main domain on cpanel, so I had to use a redirect instead?
Reply With Quote
  #15  
Old 16 Nov 2006, 06:14
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Real name: Robert
quite possible - fool around with the domains file
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:23.

Layout Options | Width: Wide Color: