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 03-13-2009, 11:05 AM
lostincable lostincable is offline
 
Join Date: Feb 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Categories And Domains

Hi I would like to implement the following setup and point different categories to different domains as follows.

- General Chat - www.mainmobilesite.com
- Topic 1 category www.mobilebrand1.com
--- Topic 1 subforum 1
--- Topic 1 subforum 2
- Topic 2 category www.mobilebrand2.com
--- Topic 2 subforum 1
--- Topic 2 subforum 2

I am not sure how this will work but all the categories need to link back to the main site and show they are a category of the main site keeping the new posts updated etc etc to confirm with licensing.

So if any one knows how to do this please let me know, I do have the following questions to set this up??

1) If I point a category to a domain how do I configure that domain on my host and vb setup? I know how to use URL's to make a category but how to make the domain display the category if that makes sense? Say I have

www.mobile1.com

How do I make mobile 1 display the category it needs to? Do I need to park all my domains onto the folder where the VB install is? I have a VPS so I have root access and know my way around a shell?

2) I am assuming this will not harm SEO as there will not be any duplicate information?

3) How does login / logout work passing between domains? I saw on the parrot site that once you visited a category a java script would pop up asking you to login again and it would automatically login you into the new domain? Is there a hack to do this? I saw cookie cutter for 3.7 but I am on 3.8.

4) How do I ensure the new posts section is updating across the domains? I am assumning that would come from answer 1??

Look forward to some suggestions so I can get my site off the ground :up:
Reply With Quote
  #2  
Old 03-13-2009, 02:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3) I'm pretty sure that when you set the cookies up correctly (not default, but a custom setting), then you should be fine going between the different domains. I think... I've never done that.

4) Since you will only have one instance of vbulletin and thus one database, then any post made anywhere will be available in the database.
Reply With Quote
  #3  
Old 03-13-2009, 07:35 PM
lostincable lostincable is offline
 
Join Date: Feb 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that, now I just have to figure out how to configure the domains etc....

--------------- Added [DATE]1236977326[/DATE] at [TIME]1236977326[/TIME] ---------------

I got the cookie thing sorted.....

Just as a test I i backed up my entire vb install and put it in another domain, installed CES cookie cutter and I can share cookies between both domains.

So just need to figure out the configuration of the following now and I am done!

1) If I point a category to a domain how do I configure that domain on my host and vb setup? I know how to use URL's to make a category but how to make the domain display the category if that makes sense? Say I have

www.mobile1.com

How do I make mobile 1 display the category it needs to? Do I need to park all my domains onto the folder where the VB install is? I have a VPS so I have root access and know my way around a shell?
Reply With Quote
  #4  
Old 03-13-2009, 08:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you search on "domain" in "all mods" "titles only", you'll find some mods for using a different style for different domains. I'm not sure if that would help out. It may have a query in it that would be useful for you to show certain categories based on the domain.
Reply With Quote
  #5  
Old 03-14-2009, 05:48 AM
lostincable lostincable is offline
 
Join Date: Feb 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
If you search on "domain" in "all mods" "titles only", you'll find some mods for using a different style for different domains. I'm not sure if that would help out. It may have a query in it that would be useful for you to show certain categories based on the domain.
Thanks for the help Lynne its appreciated. Now I am not a code junkie and have only just been reading on this...

I think you need to do the following, firstly two folders for each domain

Main Site
Category Site

Main Site and Category site are just copies of one another same config file and database file all just pointing to the one database. If you visit either site you get to the same information.

One this is done then you need to do the following,

1) On the category site change the forum display code so that when the site loads you only see a category rather than all the forums? I don't think this can be configured in the admincp as this will break the main site

2) Modify header and footer of category site so they have main site details and the url's do not get overwritten and ensure the subforum links are there to show the person they are in a category site of the main site.

Now I was reading some where about $vbulletin variable but not sure what it does.

So does anyone know how to change the code layout of the forum sowhen you load a domain you only see a specified category? Is it done through a variable or some other way.

Could be going about this the wrong way but just want to see how others are doing it!!!

Appreciate the help!
Reply With Quote
  #6  
Old 03-14-2009, 10:09 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it a complete separation? or just to show some categories and hide some others?
If an user know the forumid, will he be able to access the child forums of a category?
Reply With Quote
  #7  
Old 03-14-2009, 10:23 AM
lostincable lostincable is offline
 
Join Date: Feb 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
Is it a complete separation? or just to show some categories and hide some others?
If an user know the forumid, will he be able to access the child forums of a category?
Not a complete separation site just display a category on a new domain and the header and footer of the category needs to be the same as the main site.

The configurations is as follows,

- General Chat - www.mainmobilesite.com
- Topic 1 category - www.mobilebrand1.com
--- Topic 1 subforum 1
--- Topic 1 subforum 2

Does that make sense?

You can see a similiar setup here,

http://www.papegaaienforum.nl/

If you click on "Ara Papegaaien" it takes you to

http://www.araforum.nl/

But the header and footer point you back to the main domain http://www.papegaaienforum.nl/
Reply With Quote
  #8  
Old 03-14-2009, 10:42 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it, I believe I can do it.

Does it require a new license for every domain name?

Regards
Reply With Quote
  #9  
Old 03-14-2009, 10:52 AM
lostincable lostincable is offline
 
Join Date: Feb 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Milad,

Licence issue was discussed in an earlier thread and this is the response.

https://vborg.vbsupport.ru/showpost....55&postcount=7

Have sent you a PM to discuss further.

If anyone else has information they can share how to do this I would appreciate some input?
Reply With Quote
  #10  
Old 03-14-2009, 11:04 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

Thought about it, there are many possible implementations, we can pick up the best, for both performance, and appearance.

Will talk to you through PMs.

Regards
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 04:39 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.05463 seconds
  • Memory Usage 2,262KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete