Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2006, 06:18 AM
kr580's Avatar
kr580 kr580 is offline
 
Join Date: Dec 2005
Location: Northern California
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 1 forum, 2 sites. Possible?

Sorry, I'm a bad searcher.

I am looking merge with another forum (a phpBB forum) but they want to keep their domain/layout while I would like to keep my domain/layout. Is it possible to have www.site1.com & www.site2.com with their own designs but share the forums? Basically i would first want to be able to put it on 2 different domains (not just a mask... site1.com/forums/index.php & site2.com/forums/index.php) , and then have each domain have it's own default layout... but have the same exact forums/threads/posts. When I post on site1.com it shows up on site2.com as well.

Possible? Please let me know if I need to clarify anything.
Reply With Quote
  #2  
Old 02-15-2006, 06:33 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At the very first, you'd need two valid vB licenses for a setup like this!

Technically this should be possible with a few modifications to the board (not sure if plugins only are able to do the trick) and every decent coder with some vB knownledge should be able to do this.
Reply With Quote
  #3  
Old 02-15-2006, 06:36 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kr580
Sorry, I'm a bad searcher.

I am looking merge with another forum (a phpBB forum) but they want to keep their domain/layout while I would like to keep my domain/layout. Is it possible to have www.site1.com & www.site2.com with their own designs but share the forums? Basically i would first want to be able to put it on 2 different domains (not just a mask... site1.com/forums/index.php & site2.com/forums/index.php) , and then have each domain have it's own default layout... but have the same exact forums/threads/posts. When I post on site1.com it shows up on site2.com as well.

Possible? Please let me know if I need to clarify anything.
Its easy, only if you are truly merging the databases.

To use VB on both:

Merge the 2 forums to 1 domain using impex. Take the other domain and have it redirected to the merged domain.

For the layouts keep your existing VB layout. And for the other, you will have to create a new style and recreate the PHPBB style. I dont believe there is a converter for that. But when all is said and done, it would be 2 sites with merged databases on 1 domain, with the other domain redirected. And the users will be able to choose thier own style. I think that will be the closest you can get.

This you can do with 1 license.
Reply With Quote
  #4  
Old 02-15-2006, 06:57 AM
kr580's Avatar
kr580 kr580 is offline
 
Join Date: Dec 2005
Location: Northern California
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hellcat, I was wanting to do this with 1 license hence my asking. If I had 2 it would be no problem.

Stangsta, thank you. What I had so far was merge into mine with Impex and redirect www.site2.com to /index.php?styleid=x. You've confirmed my thoughts. I didn't want just redirecting but I guess i'll have to.

Thank you.

------

Oh, one more thing. If I were to just redirect it to a different style is there a way to change the site name somehow? normally it would be 'Site1 Forums > General Discussion' ... any way to make the different style show 'Site2 Forums > General Discussion'?

Would be tacky to have the 1st site's name all over the 2nd when it's a different domain/name.
Reply With Quote
  #5  
Old 02-15-2006, 07:05 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could "hardcode" the site name in the template(s) for each style and remove the dynamic variable.
Reply With Quote
  #6  
Old 02-15-2006, 07:05 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kr580
Hellcat, I was wanting to do this with 1 license.

Stangsta, thank you. What I had so far was merge into mine with Impex and redirect www.site2.com to /index.php?styleid=x. You've confirmed my thoughts. I didn't want just redirecting but I guess i'll have to.

Thank you.

------

Oh, one more thing. If I were to just redirect it to a different style is there a way to change the site name somehow? normally it would be 'Site1 Forums > General Discussion' ... any way to make the different style show 'Site2 Forums > General Discussion'?

Would be tacky to have the 1st site's name all over the 2nd when it's a different domain/name.
Unfortunately not. The styles pull that info from the vbulletin options in the admincp. Being you only have one admincp, you can only have one name. If you go the route using 2 licences and pay a coder to do the dirtywork, then yes, there is a chance it could be done (nothing is impossible, just have to know the right people).

Just a thought, maybe an <if> statement that says "if styleid=X use this name". You will have to ask someone else about that. Thats too deep for me.

Quote:
Originally Posted by Hellcat
You could "hardcode" the site name in the template(s) for each style and remove the dynamic variable.
yeah...thats what I was getting at. :up:
Reply With Quote
  #7  
Old 02-15-2006, 07:07 AM
kr580's Avatar
kr580 kr580 is offline
 
Join Date: Dec 2005
Location: Northern California
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm only good at editing code that's already there. Any ideas of what I would put and where?
Reply With Quote
  #8  
Old 02-15-2006, 07:30 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kr580
I'm only good at editing code that's already there. Any ideas of what I would put and where?
In the "GENERIC_SHELL" template of each of the two styles you gonna use for site1 and site 2 find this:
HTML Code:
<title>$vboptions[bbtitle] - $pagetitle</title>
and change it to something like this:
HTML Code:
<title>Sitename - $pagetitle</title>
It's also possible to make it more dynamic with a plugin initializing a custom variable depending on the URL called or something like this.
Reply With Quote
  #9  
Old 02-15-2006, 07:38 AM
kr580's Avatar
kr580 kr580 is offline
 
Join Date: Dec 2005
Location: Northern California
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
In the "GENERIC_SHELL" template of each of the two styles you gonna use for site1 and site 2 find this:
HTML Code:
<title>$vboptions[bbtitle] - $pagetitle</title>
and change it to something like this:
HTML Code:
<title>Sitename - $pagetitle</title>
Doesn't work. Still displays the forum's normal title even with <title>asfioajfiafj - &pagetitle</title>

------------------------

ooh, found it.

Code:
			<div class="navbar" style="font-size:10pt"><a
href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img
class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif"
alt="" border="0"/></a><strong>$vboptions[bbtitle]</strong></div>
Replace that bold with whatever you want. That at least gets the ForumName > General Discussion part changed.

-----------------------

Aah, the <title> isn't in the headinclude... it's at the top of FORUMHOME. About 10 lines down.

(dumb automerge :speechless
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 08:29 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.04503 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete