Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CERBERUS: 1 vB4: runs multiple domains with custom styles, forums, universal login Details »»
CERBERUS: 1 vB4: runs multiple domains with custom styles, forums, universal login
Version: 1.00, by ibautocommunity ibautocommunity is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Major Additions - Version: 4.0.x Rating:
Released: 11-23-2010 Last Update: Never Installs: 138
Uses Plugins
Re-useable Code Translations Is in Beta Stage  
No support by the author.

***Attention: This product is currently UNSUPPORTED***

We would like to release an Alpha version of the vBulletin4 Cerberus product. This product allows you to create one vBulletin4 installation which can power unlimited number of domains and sub-domains; while allowing to customize each domain differently to make it look like different sites or sections. Domains will have one universal admincp and user login information.

***Example***
www.supercoolautoforum.com - main site, all forums
ferarri.supercoolautoforum.com - custom style and forums, same login
bmw.supercoolautoforum.com- custom style and forums, same login
honda.supercoolautoforum.com - custom style and forums, same login
supercoolmotorcycleforum.com - custom style and forums, same login

*** Why are you releasing this, I want more features?! ***

This is a very simple product; we believe that the basic functionality provided in this product will satisfy a lot of communities - and since the product is simple - it will be easy to extend it and modify it to work for your custom community requirements.

Overview of Current Features:
  • One shared installation of vBulletin 4
  • One shared user account on all domains
  • Custom Style for each domain
  • Custom Forum listing for each domain
Known Issues:
  • CMS and Blogs are currently not configured to have special domain-specific categories and sections. CMS is shared across all sites although the appearance will be different for each domain.


Project Contributors: s.lauderdale;m.biddle;a.ahn; anders

Download Now

File Type: zip product-cerberus.zip (138.6 KB, 1793 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
BirdOPrey5, CvP, Gnoll, huevncom, merk_aus, mokujin, PhilG, SVIT.Share, xrvel

Comments
  #372  
Old 02-10-2011, 01:07 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to avoid confusion later I want to point out in iBaker's scenario above you'd still need to buy a separate vB license for each of those domains even if you only has one actual copy of vBulletin installed.

Multiple domains (domain1.com, domain2.com) = multiple licenses, CERBERUS or not.
Sub domains (sub.domain.com, sub2.domain.com) = 1 license only
Reply With Quote
  #373  
Old 02-10-2011, 03:33 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iBaker View Post
Also, if I may ask, how have you done your vba CMPS home pages so each domain has a different CMPS Home Page to land on?
Some code that I am using in the vBa CMPS index.php script to identify the domain and then to specify a different default home page per domain as needed. Essentially I created a home page for each of my additional domains, modified them with their own copies of the vBa modules, etc. so that the content shown on each page is unique to the corresponding domain, and then did a little bit of code in the index script so that if I am on Domain A (the master domain) then it is BAU but if I am on Domain B then to use a specified CMPS page as the default page and then if I am on Domain C to use a specified CMPS as the default page, and so on for each domain. Just a small bit of code that works but not polished enough for me to package & post since it requires some edits directly to the CMPS index script.
Reply With Quote
  #374  
Old 02-10-2011, 07:05 PM
iBaker's Avatar
iBaker iBaker is offline
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Just to avoid confusion later I want to point out in iBaker's scenario above you'd still need to buy a separate vB license for each of those domains even if you only has one actual copy of vBulletin installed.

Multiple domains (domain1.com, domain2.com) = multiple licenses, CERBERUS or not.
Sub domains (sub.domain.com, sub2.domain.com) = 1 license only
If you can read I did mention it twice in my post that you do need separate licenses...(where's Kirk and the Enterprise when you need it)
Reply With Quote
  #375  
Old 02-10-2011, 07:12 PM
iBaker's Avatar
iBaker iBaker is offline
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802 View Post
Some code that I am using in the vBa CMPS index.php script to identify the domain and then to specify a different default home page per domain as needed. Essentially I created a home page for each of my additional domains, modified them with their own copies of the vBa modules, etc. so that the content shown on each page is unique to the corresponding domain, and then did a little bit of code in the index script so that if I am on Domain A (the master domain) then it is BAU but if I am on Domain B then to use a specified CMPS page as the default page and then if I am on Domain C to use a specified CMPS as the default page, and so on for each domain. Just a small bit of code that works but not polished enough for me to package & post since it requires some edits directly to the CMPS index script.
Thanks KW, I thought it must have been some way of determining the domain. Instead of having to change a cmps source file do you think there would be an opportunity to use htaccess to redirect to a cmps page?

Also, in the addon there is the plugin to disable the archive and as mentioned in earlier posts the errors associated with having it turned on. What do you think was the authors intention of having the archive turned off? Because if you just disable the archive plugin component of the mod the archive works ok although showing all the forums for all domains...so it it possible due to search engines not distinguishing the different domains by using the archive?
Reply With Quote
  #376  
Old 02-10-2011, 08:03 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iBaker View Post
Thanks KW, I thought it must have been some way of determining the domain. Instead of having to change a cmps source file do you think there would be an opportunity to use htaccess to redirect to a cmps page?
Not sure about using .htaccess instead. Honestly, if you've seen the CMPS index.php script, you'll see that the file is pretty simple (there is only 20 lines of code or so in it) so modifying it is not really a big deal. Since that file rarely changes, even with CMPS updates, it is not a hassle. I ended up having to modify that file directly because I needed to specify the home page use prior to the point where any plugin hooks are available.

Quote:
Originally Posted by iBaker View Post
Also, in the addon there is the plugin to disable the archive and as mentioned in earlier posts the errors associated with having it turned on. What do you think was the authors intention of having the archive turned off?...
Only a guess, but likely it was just something that was easier to avoid dealing with. The actual benefits of the vB archive pages in this day & age for SEO purposes is questionable so I don't think most sites will have an impact with it turned off.
Reply With Quote
  #377  
Old 02-11-2011, 06:00 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iBaker View Post
it does cost more as well because you do need separate vb licenses.
Quote:
Originally Posted by iBaker View Post
If you can read I did mention it twice in my post that you do need separate licenses...(where's Kirk and the Enterprise when you need it)
Sorry guy but here is where you are wrong. This is why I didn't want someone to be confused. You would need separate licences in either scenario.
Reply With Quote
  #378  
Old 02-13-2011, 01:23 PM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get people who register on domain1 to be added to usergroup 'domain1 registered' automatically, and people who register on domain2 to be added usergroup 'domain2' automatically?

Excellent mod btw
Reply With Quote
  #379  
Old 02-17-2011, 11:28 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So has anybody started playing with the mobile style in 4.1.2 yet? If so, you'll haven no doubt realized already that the code to autodetect the browser type does not play nice with Cerberus since Cerberus will override the style to the one specified in the ACP options.

I've got some quick code done today to allow Cerberus to have multiple styles per domain set in the ACP. Still need to work out the mobile style selections though.

For those who have started playing with the mobile style, my question to you is this...
For your multiple domains, in regards to having a 'full' style and a 'mobile' style (well, actually two different mobile styles since you can specify a modern & basic style), are you more inclined to...
a) Have different mobile styles that would be unique to each domain?
... or wold you likely go with:
b) Have a single mobile style that you would use on all of your domains and just would need to change the style logo per domain?
Thoughts?
Reply With Quote
  #380  
Old 02-18-2011, 01:16 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

b for me.

And yes, I found out that the skin doesn't play nice with cerberus. Crashed the site and locked me out. I needed tools.php to rebuild forum view and get back in.

How can we hide skins when the mobile skin needs to be set to 'Allow users to select styles' ? That seems not possible currently.
Reply With Quote
  #381  
Old 02-18-2011, 01:43 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
b for me.
That is what I am thinking of for me as well but before I started the next step of working on any code I figured I'd see what others thought.

Quote:
Originally Posted by Alfa1 View Post
How can we hide skins when the mobile skin needs to be set to 'Allow users to select styles' ? That seems not possible currently.
Currently is the keyword.

If you take a look at my Cerberus test site (CinVin / Verizon Talk / Lower Pottsgrove) for the bottom left style selector, you'll see what I've been up to today. The site is now configured to allow users to change styles. Normally this would be turned off for Cerberus since Cerberus would force a single style. Instead I have it so you can specify multiple style IDs in the Cerberus ACP settings to allow for multiple styles per domain. This will allow admins to have as many styles as they want for each domain to be available to the user.

For those three sites I have four styles 'checked' as being selectable by the user, a unique style for each site and then the (currently) shared mobile style for all sites. That means inside of the ACP Style Manager I have a total of 4 styles turned on that can be selected by the user but I have Cerberus configured to only allow specific styles per domain. That way when a visitor on the CinVin site they can see the CinVin full style and the shared mobile style but none of the other full styles for the other domain. When on VZ Talk the user gets the full style for that site (the red design) and the mobile style but not the CinVin style. Then the same for the last domain. Just like category IDs that can be either unique per domain or shared amongst domains, style IDs can be set the same.

The next step was deciding how much further to take it with the mobile style, whether to allow a unique mobile style setting per domain or to just assume that the same mobile style will be used on all domains but then to add a setting to change the mobile style's log per domain.

At this point in the game I can't see too many admins doing a per domain mobile style, as opposed to a per domain mobile style logo. But... I know, I know, the right thing to do would be to allow for the first option, of a specific mobile style per domain, since that gives the most flexibility. I won't have a chance to work on it again until this weekend so I'll see then what direction it takes me.

... and, yes, the mobile style detection does work if you visit the sites on a mobile device.
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 12:00 PM.


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.05792 seconds
  • Memory Usage 2,370KB
  • Queries Executed 27 (?)
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
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete