vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - CERBERUS: 1 vB4: runs multiple domains with custom styles, forums, universal login (https://vborg.vbsupport.ru/showthread.php?t=254197)

amagab 12-14-2010 05:36 PM

What about cookies? I have the cookie domain for my main forum set in the AdminCP. What changes, if any, would need to be made? Will it still work?

sticky 12-15-2010 12:22 AM

Quote:

Originally Posted by KW802 (Post 2133806)
Same here. Sorry, sticky, but that error I can't reproduce yet.

I think it is unrelated as now it started working. For whatever reason it is intermittent, just wanted to check to see if maybe I wasn't the only one.

sticky 12-15-2010 05:23 AM

Just wondering, how are you guys resolving the site name? In google my second domain shows up as the same name and description as the first domain. Is there any way to make it unique?

merk_aus 12-15-2010 05:46 AM

Quote:

Originally Posted by sticky (Post 2134122)
Just wondering, how are you guys resolving the site name? In google my second domain shows up as the same name and description as the first domain. Is there any way to make it unique?

Same Question here.

merk_aus 12-15-2010 10:03 AM

Damn I installed it (finally upgraded from 3.8 where I had this working properly) however no matter what domain name you enter it just redirects to the main domain - any ideas on how I could fix it?

sticky 12-15-2010 11:24 AM

Quote:

Originally Posted by merk_aus (Post 2134194)
Damn I installed it (finally upgraded from 3.8 where I had this working properly) however no matter what domain name you enter it just redirects to the main domain - any ideas on how I could fix it?

List your settings and if you are using the suite.

merk_aus 12-15-2010 07:28 PM

Quote:

Originally Posted by sticky (Post 2134219)
List your settings and if you are using the suite.

Sticky,
Sorry about that it was like midnight my time when I posted and many things were going through my head.

I am using the vBulletin Publishing Suite 4.1 - I have the CMS turned off at the moment as it is uneeded however have the forum and blogs turned on.

Below are the settings I have - keep in mind that I am currently not using the Facebook stuff however do plan on maybe using them in the near future I am just trying to do one thing at a time otherwise it's going to be a mess.

Code:

[forums.sportainment.com.au]
bbtitle=Sports Force Interactive
bburl=forums.sportainment.com.au
homeurl=forums.sportainment.com.au
catids=1,49,3
styleid=10
cookiedomain=.sportainment.com.au
facebookappid=222222222
facebooksecret=222222222

[paranormalboard.com]
bbtitle=Paranormal Board
bburl=paranormalboard.com
homeurl=paranormalboard.com
catids=1,5,3
styleid=9
cookiedomain=.paranormalboard.com
facebookappid=222225552
facebooksecret=222225522

[sports-force.co.nz]
bbtitle=Sports Force
bburl=forums.sports-force.co.nz
homeurl=sports-force.co.nz
catids=1,49,3
styleid=10
cookiedomain=.sports-force.co.nz
facebookappid=222222255
facebooksecret=255222222

[webmasters-resort.com]
bbtitle=Webmasters Resort
bburl=webmasters-resort.com
homeurl=webmasters-resort.com
catids=1,15,29,3
styleid=8
cookiedomain=.webmasters-resort.com
facebookappid=222222288
facebooksecret=222222282

Please let me know if you are able to help (or anyone for that matter) to try and get this working how it should.

I do realise that there are two Sports Force sites listed above - the reason for that is Sports Force is our more popular site and so last night when I couldn't get it to work I opted to reopen that site as our main site and attempt to fix everything else up.

Thank you to all for everyone who is able to help.

KW802 12-15-2010 07:45 PM

Quote:

Originally Posted by sticky (Post 2134122)
Just wondering, how are you guys resolving the site name? In google my second domain shows up as the same name and description as the first domain. Is there any way to make it unique?

Quote:

Originally Posted by merk_aus (Post 2134131)
Same Question here.

EDIT: Never mind, ignore my original response, I see what is going on.... the "meta name" & "meta description" are not being updated uniquely per domain. I'll experiment a bit tonight to see what I can do.

KW802 12-15-2010 08:07 PM

Quote:

Originally Posted by KW802 (Post 2134421)
EDIT: Never mind, ignore my original response, I see what is going on.... the "meta name" & "meta description" are not being updated uniquely per domain. I'll experiment a bit tonight to see what I can do.

OK, here's the solution...


For those interested, the fix would be to modify your "** Load Config **" plugin and look for...
Code:

case 'bbtitle':
    if($ib_in_matching_host) {
          $vbulletin->options['bbtitle'] = $ib_the_spec[1];
    }
    break;

... and then below it add:
Code:

case 'keywords':
    if($ib_in_matching_host) {
          $vbulletin->options['keywords'] = $ib_the_spec[1];
    }
    break;
case 'description':
    if($ib_in_matching_host) {
          $vbulletin->options['description'] = $ib_the_spec[1];
    }
    break;

Then in your Cerberus settings (ACP => Options => vBCerberus => Cerberus Definition) add two new entries for 'keywords' & 'description' as needed. :)

Going by my example URLs I posted earlier, "CinVin.com" is my 'real' site while "LowerPottsgrove.com" is my virtual site I am running off of it using Cerberus. With that in mind, below is my current definition entry after adding the settings for 'hometitle' (see earlier in the thread), 'keywords', and 'description' as described in this post.

Remember, for your main 'real' site you only need to add the definitions for what you are overriding, you don't have to duplicate the settings that are normally in your ACP already. ;)

Code:

[cinvin.com]
catids=50,202,144

[lowerpottsgrove.com]
bbtitle=Lower Pottsgrove
bburl=www.LowerPottsgrove.com
homeurl=www.LowerPottsgrove.com
catids=513,529
styleid=66
cookiedomain=.lowerpottsgrove.com
facebookappid={use your own!}
facebooksecret={use your own!}
hometitle=Lower Pottsgrove
keywords=lower pottsgrove, pottstown, spring city, royersford, birdsboro
description=Online community for Lower Pottsgrove, PA!


BirdOPrey5 12-15-2010 08:23 PM

Quote:

Originally Posted by merk_aus (Post 2134194)
Damn I installed it (finally upgraded from 3.8 where I had this working properly) however no matter what domain name you enter it just redirects to the main domain - any ideas on how I could fix it?

Are you sure your domains are properly parked with your web host? (and not on domain forwarding)


All times are GMT. The time now is 01:03 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.01726 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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