vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Different domain = different forum id and style (https://vborg.vbsupport.ru/showthread.php?t=167846)

Cubevisions 01-15-2008 10:22 PM

Different domain = different forum id and style
 
Hello,

In my website, i have some different pages for every "main" subject of it. For example:

articles.programmingwebsite.com
downloads.programmingwebsite.com
source.programmingwebsite.com

I have a forum installed at www.programmingwebsite.com/forums/ and i have the following categories:

Articles
Downloads
Source

Each one with various sub-categories. So, what i'm planning to do is, provide a link to my visitors like this:

articles.programmingwebsite.com/forums
downloads.programmingwebsite.com/forums
source.programmingwebsite.com/forums

And that would automatically redirect them to my forum related category with a different style. Is that possible? Also, can i HIDE those forums from anyone viewing the main forum (www.programmingwebsite.com/forums), making them only visible by users visiting them by the correct url created? (eg.: articles.programmingwebsite.com/forums
downloads.programmingwebsite.com/forums
source.programmingwebsite.com/forums)

Dismounted 01-16-2008 03:51 AM

I believe what you're trying to do will require multiple licenses as you are hiding forums (based on domain).

Cubevisions 01-16-2008 06:15 AM

I don't care about expending more money on extra licenses, but i want to know if it's possible, and how, to do that.

Dismounted 01-16-2008 07:11 AM

Yes, provided that the domains are all hosted on the same server and can access one database, it is possible. You will just need to catch the domain on entry and hook into whatever processes to hide/show the correct forums.

Cubevisions 01-21-2008 06:33 AM

How i can do that?

Marco van Herwaarden 01-21-2008 10:23 AM

This could easily be done with some template edits and a few plugins. There is even a modification that might giv you a good start: https://vborg.vbsupport.ru/showthread.php?t=151514

Quote:

I have a forum installed at www.programmingwebsite.com/forums/ and i have the following categories
Did you remove this forum again, as i can not open that url.

Dismounted 01-21-2008 10:44 AM

Yes, that modification would give you a great start. All you would have to do is modify it a little to also hide forums.


All times are GMT. The time now is 09:05 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.00976 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete