The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
I misunderstood your post sorry...
The problem marco brought up with cookies is easy to solve, just use the same copy of php files for both forums, as long as you have a license for each this won't matter. Exactly how much of the forum do you want to change between sites? If you simply want the style to change it is not hard to do as long as cookies don't become a problem. To avoid the cookie problem I would just set two durring login (once for each domain). With some code modification you can pull it off, but it all depends on how far you want to go with it. ![]() |
#12
|
|||
|
|||
![]()
Cookies won't be a problem as the users really only login to one URL. They know the others exist, but they don't frequent them. Only visit their home site.
Mods would most likely be the same across all instances as well. Its really just the style (header/footer/css) that would change between sites. Thoughts on what/where to make modifications? Additionally we're looking at using vBadvanced CMPS for our CMS/front page. Each site would have its own blocks/content on their front page, independant of the other sites. Any ideas on how that would work out? Thanks for the help and assistance guys. Very much appreciated. |
#13
|
|||
|
|||
![]()
I already gave some suggestions on where to put the code for the style change.
Sorry but i am not the best to answer your CMS questions. |
#14
|
|||
|
|||
![]()
Okay Marco, thanks a lot for your help
![]() |
#15
|
|||
|
|||
![]() Quote:
![]() If you are confused let me know and I'll post some examples for you. The CMS I am not sure about, as I do not run one. I recall it begin able to spawn multiple pages from one file (unlike the old portals) but I could be wrong, best to ask someone that uses the hack. |
#16
|
|||
|
|||
![]()
Hey Brad, thank you for your offer to help out!!
I have started to try and make changes on my own. But I am certainly missing something ![]() I'm working locally with apache set to respond to two host names, vbsite1 and vbsite2. They point to the same files. The following code has been added to global.php at line 269 PHP Code:
Now I can to and do PHP Code:
PHP Code:
Thanks for your help!! |
#17
|
|||
|
|||
![]()
If you do an echo of the styleid in the global, is it set correct?
I think you must write the new styleid to the cookie, or add "?styleid=$styleid" to the sessionurl. |
#18
|
|||
|
|||
![]()
Styles are set multiple times within global.php/init.php based on the settings or if you are in a forum or on the front page. Let me do a little poking and i'll post back.
![]() |
#19
|
|||
|
|||
![]()
Ok in global.php find:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|