vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Different Domain, Different Style (https://vborg.vbsupport.ru/showthread.php?t=174381)

dartho 10-05-2009 11:51 AM

Good job - and thanks for posting back here...

jahshaka 10-17-2009 09:34 PM

hi,

love the hack its awesome!

i use the zoints seo plugin however and it breaks the use of the new domain in the fourm links.

is there anyway to support zoints seo? if you could point me in the right direction i could help out... ie how/where do you rewrite the links to follow the new domain?

i would think that to support zoints wold be easy, since its just the web root that needs to be addressed...

thanks!

jahshaka 10-17-2009 10:44 PM

well, dont have a real fix but managed to get this working with zoints seo... basically you can easily disable zoints for the redirected domains by editing:

The Different Domain, Different Style -> Force URL to Style plugin as follows:

PHP Code:

if ($vbulletin->options['ddds37_enable'] == 1)
{
  
$styleurl=$vbulletin->options['ddds37_domain'];
  if(
preg_match('/'.$styleurl.'/i'$_SERVER['HTTP_HOST'], $match))
    {
      
$vbulletin->options['zointsseo_on'] = 0;
      
$styleid=$vbulletin->options['ddds37_style'];
    }


basically just added the following

PHP Code:

   $vbulletin->options['zointsseo_on'] = 0

this disables zoints when using the new template...

patch not a fix :)

Trana 10-20-2009 02:11 AM

Is there a way to have multiple domains use one style and one specific domain use another?

dartho 10-20-2009 08:23 AM

configure vb to use the one style which you want the 'multiple domains' to use, then install this to change the style of the other 'specific domain' to use. You can configure vb to not allow users to change styles - but you still have to have the styles checked as user selectable to that this add-on can use it.

rrudeboy 10-22-2009 06:59 PM

i moved my forum, everything BUT this plugin is working... DDDS seems to ignore the domain name, is there something i might have overlooked ? something i can do to test ?

tks....

dartho 10-23-2009 01:19 AM

when you say moved your forum, you mean from one host to another? Did you configure your domains/subdomains in the same manner (ie. pointing to teh same webspace as your primary domain)?

rrudeboy 10-23-2009 02:28 AM

i moved the forums from one domain to another, remaining on the same host..

dartho 10-23-2009 05:44 AM

and the secoind part of teh question - I need to know how you are using iut to know how to help.

If you have a new domain name, you'll need to recopnfigure DDDS. Are you using subdomains to trigger different styles? If so, have you created and parked those subdoains correctly (on teh same web space/root as your primary domain)?

rrudeboy 10-23-2009 11:29 AM

Quote:

Originally Posted by dartho (Post 1904140)
and the secoind part of teh question - I need to know how you are using iut to know how to help.

If you have a new domain name, you'll need to recopnfigure DDDS. Are you using subdomains to trigger different styles? If so, have you created and parked those subdoains correctly (on teh same web space/root as your primary domain)?

yes, i did reconfigure DDDS, all i changed was mobi.olddomain.net to mobi.newdomain.net..

i do not use sub-domains for the mobile site. all i had/want DDDS to do is when it detects mobi.mydomain.net use style id 5..

tks.


All times are GMT. The time now is 10:18 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.01184 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete