vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Help Needed - Code for Forum Display to allow Board to know which Domain user is on? (https://vborg.vbsupport.ru/showthread.php?t=81528)

Quarterbore 05-15-2005 05:48 PM

Help Needed - Code for Forum Display to allow Board to know which Domain user is on?
 
I have been working to consolidate some of my smaller forums into larger forum communities... Part of this move has been to point several websites to my forums on a seperate server or to move to hosting that allow me to use as many as three domains on a single hosting package...

My problem is that I am going to turn people off if they do a search and find "Quarterbore's Vacation Forums" when they wanted to find "Quarterbore's Car Repair Forums"....

I tried to use a require function that would have allowed me to include the title of the forum on the server path where I had the forums but that just didn't work... Here is the code I tried to insert:

PHP Code:

<?php require("../webdomaintitle.htm"); ?>

Where forumtitle would have the title that would have been unique for that domain where the web surfer is at...

The primary place I want to do this is in FORUMHOME and FORUMDISPLAY templates...

I am guessing that the other way I could fix this is by adding some type of conditional as I will only be using a index.php on a few locations but then it will not correct if they were on Cars.com and they were looking at the forums for Vacations.com...

Anybody have a clue how this could be done?


All times are GMT. The time now is 02:03 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.00907 seconds
  • Memory Usage 1,707KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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