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)

Michael Biddle 12-01-2010 04:52 PM

What control panel do you have? Do you know how to add a subdomain?

FReeSTER 12-01-2010 07:46 PM

Quote:

Originally Posted by Michael Biddle (Post 2128025)
What control panel do you have? Do you know how to add a subdomain?

I have Cpanel
Yes I did add a subdomain to
subdomain.maindomain.com

But do I need to make a redirection or something?

Thanks mate

KW802 12-01-2010 08:06 PM

Michael (and team)...

Before I re-invent the wheel in regards to getting my vBa CMPS modules to play nice with Cerberus, I noticed that some of the IB sites are using vBa CMPS and indeed the "** Load Config **" plugin is already looking for a "vba_newthreads_use_my_catids" setting though it is not documented anywhere.

Anybody from IB care to share the code for the CMPS modules that go along with that "'vba_newthreads_use_my_catids" setting? :D

Michael Biddle 12-02-2010 03:31 AM

Quote:

Originally Posted by El Intocable (Post 2128090)
I have Cpanel
Yes I did add a subdomain to
subdomain.maindomain.com

But do I need to make a redirection or something?

Thanks mate

If you setup the subdomain to point at the same place, then configure like i showed above, it should work automagically.

Quote:

Originally Posted by KW802 (Post 2128102)
Michael (and team)...

Before I re-invent the wheel in regards to getting my vBa CMPS modules to play nice with Cerberus, I noticed that some of the IB sites are using vBa CMPS and indeed the "** Load Config **" plugin is already looking for a "vba_newthreads_use_my_catids" setting though it is not documented anywhere.

Anybody from IB care to share the code for the CMPS modules that go along with that "'vba_newthreads_use_my_catids" setting? :D

I have not used it with vBA (That was from the upgrade from the vb3 version), nor has it been tested.

Alfa1 12-02-2010 04:58 PM

I added this to a vb4 install to test a bit with it. When i login to the admincp I get:

invalid argument supplied foreach() in [path]\includes\init.php(331) : eval()'d code on line 144

I disabled it and it was gone.

puertoblack2003 12-02-2010 05:29 PM

where do i get this info from to add? "Salt for login hash to other sites."

Michael Biddle 12-02-2010 05:31 PM

Quote:

Originally Posted by Alfa1 (Post 2128456)
I added this to a vb4 install to test a bit with it. When i login to the admincp I get:

invalid argument supplied foreach() in [path]\includes\init.php(331) : eval()'d code on line 144

I disabled it and it was gone.

What version of vBulletin 4 are you running?

Quote:

Originally Posted by puertoblack2003 (Post 2128469)
where do i get this info from to add? "Salt for login hash to other sites."

Make that a unique value for your site.

puertoblack2003 12-02-2010 05:41 PM

Quote:

Originally Posted by Michael Biddle (Post 2128470)
What version of vBulletin 4 are you running?

Make that a unique value for your site.


thank you one more question the catid would be the forum id? if so i have everything setup correctly but the thread is not showing up, i can see the forum but not the thread chosen.

added: im using 4.1

puertoblack2003 12-02-2010 06:44 PM

Quote:

Originally Posted by puertoblack2003 (Post 2128474)
thank you one more question the catid would be the forum id? if so i have everything setup correctly but the thread is not showing up, i can see the forum but not the thread chosen.

added: im using 4.1

nevermine i figured it out.Is there a way to hide the forum for only that particular domain?

KW802 12-02-2010 07:46 PM

Quote:

Originally Posted by Michael Biddle (Post 2128212)
I have not used it with vBA (That was from the upgrade from the vb3 version), nor has it been tested.

No problem. :) After thinking about it for a bit, I'm taking a different direction in regards to vBa CMPS that won't require me to make any edits to any of the vBa CMPS module files (well, at least none so far are needed) outside of a quick edit to the cmps_index.php file.

Shogo 12-02-2010 08:34 PM

Not working for me :(

Forum : http://www.foudeconcours.com/forum
My second domain : http://www.lesgratuits.be must go there http://www.foudeconcours.com/forum/f...splay.php?f=63

I have vbseo installed

My configuration
Quote:

[lesgratuits.be]
bbtitle=lesgratuits.be
bburl=lesgratuits.be
homeurl=lesgratuits.be
catids=63
styleid=1
cookiedomain=.lesgratuits.be
In plesk, I put lesgratuits.be in "frame redirection"

:( help :(

Michael Biddle 12-02-2010 10:47 PM

Quote:

Originally Posted by puertoblack2003 (Post 2128495)
nevermine i figured it out.Is there a way to hide the forum for only that particular domain?

No. This product will show all categories unless you specify some. If you specify one, you must specify all that you wish to choose.

Quote:

Originally Posted by Shogo (Post 2128543)
Not working for me :(

Forum : http://www.foudeconcours.com/forum
My second domain : http://www.lesgratuits.be must go there http://www.foudeconcours.com/forum/f...splay.php?f=63

I have vbseo installed

My configuration


In plesk, I put lesgratuits.be in "frame redirection"

:( help :(

I have not used plesk before, so not sure if this will help. You need to have the domain parked to the same place as first URL, I am not sure what a frame redirection is.

Alfa1 12-02-2010 11:57 PM

Quote:

Originally Posted by Michael Biddle (Post 2128470)
What version of vBulletin 4 are you running?

Latest version: 4.1PL1

rajubd 12-03-2010 02:11 AM

what about google indexing? same post will be index 2 time show as diffarent domain..

KW802 12-03-2010 02:23 AM

Quote:

Originally Posted by rajubd (Post 2128662)
what about google indexing? same post will be index 2 time show as diffarent domain..

Only if you choose to have the same parent category ID show up on both domains.

cache 12-03-2010 04:10 PM

I just want to double check whether this mod is not against the vb license terms. See below link about providing the URL, if you have multiple domains, which url are you supposed to enter in the member area?

====from http://www.vbulletin.com/faq.php ============================
I have purchased a license. Am I allowed to run two copies of vBulletin?
No. You must hold a valid vBulletin license for each individual installation of the software (regardless of whether the two installations are on the same domain name or server). For example, if you wish to install one copy of vBulletin at http://www.yourserver.com/forum1/ and another copy at http://www.yourserver.com/forum2/, you will require two licenses. Please note that the license agreement specifies that you must submit the URL where your vBulletin license(s) are installed (via the online members area). For complete licensing terms and conditions"

puertoblack2003 12-03-2010 04:27 PM

Quote:

Originally Posted by cache (Post 2128883)
I just want to double check whether this mod is not against the vb license terms. See below link about providing the URL, if you have multiple domains, which url are you supposed to enter in the member area?

====from http://www.vbulletin.com/faq.php ============================
I have purchased a license. Am I allowed to run two copies of vBulletin?
No. You must hold a valid vBulletin license for each individual installation of the software (regardless of whether the two installations are on the same domain name or server). For example, if you wish to install one copy of vBulletin at http://www.yourserver.com/forum1/ and another copy at http://www.yourserver.com/forum2/, you will require two licenses. Please note that the license agreement specifies that you must submit the URL where your vBulletin license(s) are installed (via the online members area). For complete licensing terms and conditions"

yea good point, i had noticed that too they refer to installations, not for each domain.Not sure unless someone can enlighten to that terms.

Shogo 12-03-2010 07:11 PM

Quote:

Originally Posted by Michael Biddle (Post 2128596)
I have not used plesk before, so not sure if this will help. You need to have the domain parked to the same place as first URL, I am not sure what a frame redirection is.

I have those option in plesk :

Quote:

You can choose to host the website on this server, set up web forwarding to another website, or set up a domain DNS zone (using the No hosting option), if you want to have only e-mail addresses under a domain name.

Hosting type

Website hosting
Host a website on this server.

Forwarding
Redirect visitors to another website.

No web hosting
Do not host a website at the moment.

Hosting settings
Document root *
/ Specify path to the website home directory.

Forwarding Settings
Destination address *

Target website or a web folder to which you want to redirect visitors. For example: http://example.com, http://example.com/myfolder.

Forwarding type
Standard forwarding
Redirect website visitors to another site and show them the destination address, so they know about the redirection.

Frame forwarding
Redirect website visitors to another site, but do not show them the destination address, so they do not know about the redirection.


KW802 12-03-2010 07:27 PM

OK, had a strange issue...

I have my forums grouped together in three major cats. For example...
Category 100
- Forum 101
- Forum 102
- Forum 103

Category 200
- Forum 201
- Forum 202
- Forum 203

Category 300
- Forum 301
- Forum 302
- Forum 303
I have Cerberus configured so that Domain A has access to Category 100 & 200 while Domain B has access to Category 300.

While posting on Domain A in Forum 102 (just for example, but really any forum on Domain A) I was getting a 'No permissions' error. To get around that I disabled the unset permissions line from the "Forum Display" plugin used by Cerberus. Did not solve my problem but allowed me to continue so I could experiment. When I did continue my new thread that I was posting in Forum 102 ended up being posted in Forum 303! :eek:

So I poked around for a bit in the "Forum Display" plugin again and enabled the 'debug' lines so I could see what was going on in what sequence. Sure enough Forum 303 was the last forum ID that was being evaluated and, since I was on Domain A and not Domain B, it was removing that forum ID from the cache & permissions.

Going back to posting a new thread I did a view source on the page and could see that even though I was posting to Forum 102 in the URL the various buttons (eg: preview, save, etc.) were all referencing forum ID 303 instead. That led me to believe then that the variable $forumid being used in the plugin was not being preserved as a local scope variable and was being used by the rest of vB, hence why since forum ID 303 was the last one evaluated then that is where it was thinking I was trying to post to.

To confirm I changed all references in that plugin from $forumid to $forumidx to make it unique and repeated my experiments. Success!

This was with vBulletin 4.0.8 running on PHP 5.2.12 using the version of Cerberus in this thread.

iBaker 12-04-2010 01:46 AM

Thanks KW...having the same problem...couldn't post in any of the different domains due to no permissions...changed all references to forumid to forumidx in that plugin and it worked.

Can you think of any ramifications of doing this?

KW802 12-04-2010 02:01 AM

Quote:

Originally Posted by iBaker (Post 2129044)
Thanks KW...having the same problem...couldn't post in any of the different domains due to no permissions...changed all references to forumid to forumidx in that plugin and it worked.

Can you think of any ramifications of doing this?

As long as "$forumidx" isn't used anywhere by vBulletin itself (and I don't think it is), then we should be good to go. :)

BirdOPrey5 12-04-2010 02:04 AM

Or any other mods... (I used $forumidx in some custom stuff...)

FoW 12-04-2010 05:44 AM

Quote:

Originally Posted by puertoblack2003 (Post 2128888)
yea good point, i had noticed that too they refer to installations, not for each domain.Not sure unless someone can enlighten to that terms.

Im not sure if Im right, but this is how I am understanding it:

There are two options.

1. You have multiple vbulletin sites running on multiple domains and you link them together with this mod.

This circumstance requires a license for each vbulletin site.



2. You install vbulletin once, and have just one license.

You create multiple subdomains, or use other domains via cpanel of your hosting company.

You create multiple styles/forum categories and link your subdomains/domains accordingly to the appropriate style/forum category using the one vbulletin install.

This DOES NOT require multiple licenses.



Im hoping its option 2.

I run a gaming website that plays multiple platforms, and Im looking to create subdomains for each specific game, but to be apart of the entire gaming site.

Ex:

forcesofwar.com
cod4.forcesofwar.com
bc2.forcesofwar.com
blackops.forcesofwar.com


forcesofwar.com being the community website where everyone can meet and chat about all games, and then subdomains which have different styles pertaining to the specific game, along with the content that would go with it. So if someone comes to the site and registers, and plays call of duty 4, they can go to cod4.forcesofwar.com to view all the specific content/forums about that game.

Helmut71 12-04-2010 07:51 AM

sounds interesting: will Blogs & CMS be supported soon?

cache 12-04-2010 07:25 PM

your option 2 and your examples with subdomains is the same as quoted the "/forum1" and "/forum2" see my earlier post on this page. I submitted a ticket to the vb support, here is the exact reply:

"Yes, but for each instance or site you need its own license.

So if you want to run 10 sites from 1 install, you still need 10 licenses."

I don't know whether this answer applies to your option 2 or not, may be someone else can make sure we don't need to buy licenses. You don't want to spend all your time and effort to integrate this mod and later find out it does not save your licenses.

The wording at http://www.vbulletin.com/faq.php ============================
if you wish to install one copy of vBulletin at http://www.yourserver.com/forum1/ and another copy at http://www.yourserver.com/forum2/, you will require two license

notice the "one copy" and the "another copy". From this example, your option 2 does not have two copies. However from the vb support reply "10 sites from 1 install", it clearly applies to your option 2. For example I have http://laFrance.com/forum installed, this counts as one install. If I can access this forum's category from another site say http://goblinwars.com/forum then when vb's bot visits the goblinwars.com/forum but does not find the license linked in my membership area URL, your hosting company will shut you down. Last time that Howard at vb shutdown my site by mistake, they don't warn you first, they shut you down first!!


Quote:

Originally Posted by FoW (Post 2129081)
Im not sure if Im right, but this is how I am understanding it:

There are two options.

1. You have multiple vbulletin sites running on multiple domains and you link them together with this mod.

This circumstance requires a license for each vbulletin site.



2. You install vbulletin once, and have just one license.

You create multiple subdomains, or use other domains via cpanel of your hosting company.

You create multiple styles/forum categories and link your subdomains/domains accordingly to the appropriate style/forum category using the one vbulletin install.

This DOES NOT require multiple licenses.



Im hoping its option 2.

I run a gaming website that plays multiple platforms, and Im looking to create subdomains for each specific game, but to be apart of the entire gaming site.

Ex:

forcesofwar.com
cod4.forcesofwar.com
bc2.forcesofwar.com
blackops.forcesofwar.com


forcesofwar.com being the community website where everyone can meet and chat about all games, and then subdomains which have different styles pertaining to the specific game, along with the content that would go with it. So if someone comes to the site and registers, and plays call of duty 4, they can go to cod4.forcesofwar.com to view all the specific content/forums about that game.


djr 12-05-2010 12:02 AM

Quote:

Originally Posted by Shogo (Post 2128935)
I have those option in plesk :

You need the 'Domain Alias' option: http://support.netfirms.com/virtual-...a-domain-alias. Any additional domain is a domain alias to your main domain. E.g. your main domain is www.forum1.com. Create extra domain aliases for that domain called www.forum2.com, www.forum3.com etc. Cerberus takes care of redirecting the user to the right domain URL.

AleXanniX 12-05-2010 01:42 PM

I asked this to ticket system:
Quote:

Hello
i'm Italian, so sorry for my bad english.
I decided to create a vb. forum network in my site in this way
mysite.com <- vb cms home page, with news about all portal in my site
example1.mysite.com <- vb cms about a specific topic
example2.mysite.com <- vb cms about another topic
forum.mysite.com <- my vb 4.x forum
example3.mysite.com <- a forum of one of my vbforum, for exmple mysite.com/forum/forumdisplay.php?f=1 -> example3.mysite.com, and mysite.com/forum/showthread.php?t=3 -> example3.mysite.com/showthread.php?t=3, but last topics and number of Threads and posts must be displayed in forum.mysite.com, and users online on example3.mysite.com must be seen in forum.mysite.com user list too.

How do i do it?
If i use just a database, how many licenses must i buy?
They said:
Quote:

Hello.

If you use URL rewrite rules and sub-domains, you could do this with one installation of the software which would only need one license.

Best regards,


Trevor Hannant
vBulletin Support Staff
What does it mean?

BirdOPrey5 12-05-2010 02:20 PM

It means you only need once licence per domain name.
Code:

alpha.domain.com
beta.domain.com
gamma.domain.com

= 1 License

Code:

www.domainalpha.com
www.domainbeta.com
www.domaingamma.com

= 3 Licenses

sticky 12-05-2010 06:29 PM

Quote:

Originally Posted by iBaker (Post 2129044)
Thanks KW...having the same problem...couldn't post in any of the different domains due to no permissions...changed all references to forumid to forumidx in that plugin and it worked.

Can you think of any ramifications of doing this?

Would someone be able to post their updated file with the forumidx changes?

kronnos 12-05-2010 06:38 PM

I would just like to know whqat does this mod really do. For example: what if I remove this mod after having 2 sites linked like site1.forum.com and site2.forum.com? What would happen to the same user groups on both sites?

FReeSTER 12-06-2010 07:37 PM

Who can help me out installing this Mod? Everyting is set up All I need is the code on the mod I dont know what to put there

Anyhelp will make a happy camper. :)

sticky 12-06-2010 07:58 PM

Quote:

Originally Posted by iBaker (Post 2129044)
Thanks KW...having the same problem...couldn't post in any of the different domains due to no permissions...changed all references to forumid to forumidx in that plugin and it worked.

Can you think of any ramifications of doing this?

Just wondering, why wasn't this caught in testing? Doesn't it seem like a fairly large oversight?

So is everyone going to have to change it to forumidx to have this work properly?

Jaiibee 12-07-2010 12:51 AM

BEST MOD EVER RELEASED ON VBULLETIN.ORG

Never in my <insert large number> years of using vBulletin have I seen such win.

I will donate when I have money.

iBaker 12-07-2010 02:46 AM

I have also found that the popup smilie window is empty when this mod is enabled...can someone confirm this for me but when you disable the mod in Plugins the smilie popup window is then populated ok...thanks

kderentz 12-07-2010 10:00 PM

Tagged ... this will come in great use if it comes out of beta. I would be willing to pay for a full blown professional version of this as long as it comes with support.

iBaker 12-07-2010 10:00 PM

Is the different StyleID's working with everyone else...?

I have my thread display set in the options as Legacy

For StyleID 1 I left the postbit template as it is and set domain 1 in this mod to use StyleID 1

I created a child style off StyleID 1 so I now have StyleID 2 for Domain 2

I updated the mod settings so Domain 2 uses StyleID 2

I then copied the standard postbit template into the legacy template in StyleID 2

It made no difference...both domains used the same style

UPDATE: Found that it doesn't work with Child Styles but does if the Style is a Parent Style

KW802 12-07-2010 10:11 PM

Quote:

Originally Posted by iBaker (Post 2130301)
I have also found that the popup smilie window is empty when this mod is enabled...can someone confirm this for me but when you disable the mod in Plugins the smilie popup window is then populated ok...thanks

Confirmed. No code at all in the smilie popup windows being generated.

amagab 12-07-2010 10:21 PM

Quote:

Originally Posted by kderentz (Post 2130618)
Tagged ... this will come in great use if it comes out of beta. I would be willing to pay for a full blown professional version of this as long as it comes with support.

Me too. Please keep up the work. I'm suspecting there's a big demand for this product. :-)

FReeSTER 12-07-2010 10:52 PM

Quote:

Originally Posted by kderentz (Post 2130618)
Tagged ... this will come in great use if it comes out of beta. I would be willing to pay for a full blown professional version of this as long as it comes with support.

absolutely bro, I will too

If someone get this working please let me know, I donate to get it done at my site if necessarily

KW802 12-07-2010 11:19 PM

Quote:

Originally Posted by KW802 (Post 2130622)
Quote:

Originally Posted by iBaker (Post 2130301)
I have also found that the popup smilie window is empty when this mod is enabled...can someone confirm this for me but when you disable the mod in Plugins the smilie popup window is then populated ok...thanks

Confirmed. No code at all in the smilie popup windows being generated.

OK, quick fix...

Modify the "Domains Iframe Page" plugin and at the very bottom of the code find "die()" and comment it out by putting two slashes in front of it "//die()".

If you don't comment that line out then nothing in "misc.php" will work, which includes the 'getsmilies' page and the 'bbcode' page (when you click on the 'BB Codes' help link at the bottom of the create post pages).


All times are GMT. The time now is 01:02 PM.

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.02031 seconds
  • Memory Usage 1,873KB
  • 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
  • (2)bbcode_code_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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