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
  #162  
Old 12-12-2010, 12:03 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
4.0.8 here.
I figured it out, I needed bburl to point to the homepage not the forum home page. That is why it was breaking up.

I'm wondering why that is completely different from the instructions though which tell you go to the forum index. I also got the second domain to work correctly by pointing bburl to the domain itself instead of forum index. I'm happy now

Having a couple issues with cookies but hoping I will get that resolved.
Reply With Quote
  #163  
Old 12-12-2010, 12:24 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, when trying to post a thread on the second forum I receive a no permissions message, looks like I need to do that forumidx change although I am not quite sure how to do it.
Reply With Quote
  #164  
Old 12-12-2010, 12:31 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also another error, when creating threads they go into another forum instead of the one in which they are created.... not sure why.
Reply With Quote
  #165  
Old 12-12-2010, 12:39 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 sticky View Post
Ok, when trying to post a thread on the second forum I receive a no permissions message, looks like I need to do that forumidx change although I am not quite sure how to do it.
Quote:
Originally Posted by sticky View Post
Also another error, when creating threads they go into another forum instead of the one in which they are created.... not sure why.
KW902 posted a fix for this issue in post #99 of this thread.

Now that you got it "working" I suggest you re-read the entire thread so you up to date on the known issues and solutions.

Remember this is an "Alpha" product... that means "less stable" than Beta even...
Reply With Quote
  #166  
Old 12-12-2010, 12:52 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802 View Post

To confirm I changed all references in that plugin from $forumid to $forumidx to make it unique and repeated my experiments. Success!
Sorry, but how exactly do I do this?
Reply With Quote
  #167  
Old 12-12-2010, 12:53 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
KW902 posted a fix for this issue in post #99 of this thread.

Now that you got it "working" I suggest you re-read the entire thread so you up to date on the known issues and solutions.

Remember this is an "Alpha" product... that means "less stable" than Beta even...
Just caught this post, I'm trying I'm not as good as the rest of you guys at this so I'm learning as I go. I'm not exactly sure where or how how I make the changes in post 99.

Edit: Read it over a couple times and I think I get it now
Reply With Quote
  #168  
Old 12-12-2010, 02:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Basically you go to the plugin named "Forum Display"

Look through the code, look for all instances if $forumid and change it to something else, like $forumidx

If you want this is the entire plugin with the variable name changed to $forumidz
Code:
// Hide any non-matching categories and forums by removing them from our in-memory copy of the forum cache

    // Don't alter the forumcache if we're somewhere that it would mess things up.
    if(THIS_SCRIPT == 'subscription' || THIS_SCRIPT == 'usercp' || THIS_SCRIPT == 'inlinemod') {
        $alterState = FALSE;
    } else {
        $alterState = TRUE;
    }

    global $vbulletin;
    global $ib_match_found;
    global $ib_category_ids;
    global $ib_valid_forumids;
        global $vb_cerberus_options;

if(THIS_SCRIPT == 'search' && $vb_cerberus_options['search']['search_global'] == TRUE)
{
      $alterState = FALSE;
}


    $vbulletin->userinfo['forumpermissions_orig'] = $vbulletin->userinfo['forumpermissions'];
    $can_view = 524288; // 0008:0000h
    $forumids = array();
    $vbulletin->forumcache_original = $vbulletin->forumcache;
    if($ib_match_found == TRUE) {
        foreach(array_keys($vbulletin->forumcache) as $forumidz) {
            // If there is no match between the visible categories and the parentlist
            // (which includes the current forumid), we don't display it

            $ib_checkforumids = explode(",", $vbulletin->forumcache[$forumidz]['parentlist']);

            $ib_intersection = array_intersect($ib_checkforumids, $ib_category_ids);

            $is_visible = $vbulletin->userinfo[forumpermissions][$forumidz] & $can_view;

            // If it's not in the list of valid forums for this domain, OR we can't view it, forget it exists
            if((count($ib_intersection) == 0 || $is_visible == 0) && !(THIS_SCRIPT == 'postings')) {
                if($alterState) {
                    //debug("Unset " . $vbulletin->forumcache[$forumidz][title]);
                    unset($vbulletin->forumcache[$forumidz]);
                    unset($vbulletin->iforumcache[$forumidz]);
                    unset($vbulletin->userinfo[forumpermissions][$forumidz]);
                }
            } else {
                //debug("+++ " . $vbulletin->forumcache[$forumidz][title]);
                $forumids []= $forumidz;
            }
        }
    }
    $ib_valid_forumids = join(",", $forumids);
Reply With Quote
  #169  
Old 12-12-2010, 06:46 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802 View Post
Try this...

ACP => Rebuild => Rebuild Style Information
By doing this I believe I will lose all the Template edits I have done to the forum, not a good idea to do. maybe there will be another way to correct this
Reply With Quote
  #170  
Old 12-12-2010, 06:48 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done everything on this thread and still cant get it to work correctly with the style distortion I currently have. lol

Any help or any other ideas?
Thanks guys
Reply With Quote
  #171  
Old 12-12-2010, 06:56 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will continue to read this thread to see if there will be a better way to do this. I really need this mod for sure. If anyone willing to help me out I will appreciate even If I have to make a small donation for the help. As I see all I need is the configuration because the sub-domain is done and anything else. Is just the style break up the problem now.

Thanks you guys a lot
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:53 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.06188 seconds
  • Memory Usage 2,346KB
  • 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
  • (1)bbcode_code
  • (6)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