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)

fly 01-27-2010 09:29 AM

If anyone is interested, this hack does NOT work with vB4.

dartho 01-27-2010 10:19 AM

no? I was actually under the impression that it did. I'll look into it ;)

fly 01-27-2010 10:33 AM

Hmmm. It installed correctly, but I couldn't get the redirect to work. But it did work for me on vB3... Could it have something to do with the redirect from index.php to forum.php?

Zaiaku 01-27-2010 10:58 PM

The mod similar to this doesn't work work me on vb4 I was hoping that this on would :(

fly 02-01-2010 11:24 AM

Quote:

Originally Posted by dartho (Post 1967844)
no? I was actually under the impression that it did. I'll look into it ;)

Any chance you've had a moment or two to look at this?

dartho 02-02-2010 08:35 PM

edit the headinclude template and change the line

HTML Code:

<base href="{vb:raw vboptions.bburl}/" />
to

HTML Code:

<vb:comment>
<!--  Removed to allow DDDS Mod to work -->
<base href="{vb:raw vboptions.bburl}/" />
</vb:comment>

Also make sure you add any extra domains to your post whitelist

fly 02-02-2010 08:43 PM

You rock. I assume this needs to be edited in the mobile skin?

TESTIN!!!

edit: I edited it just in the mobile skin, then in all skins. That didn't seem to work. Still redirects to main domain name.

reedit: And Ive added the domain to the whitelist...

fly 02-02-2010 09:04 PM

Oh, and I only have the forum piece enabled, in case that redirect from index.php to forum.php is somehow interfering with it.

dartho 02-02-2010 09:10 PM

it's working a treat on my test site - that template edit was to make URL's relative so that it didn;t flick back to the main domain.

Edit: Is the style user selectable - mine was, I unchecked it and then this addon did not kick in - vBulletin may have changed some internals so that overriding non selectable styles may not be possible now

fly 02-03-2010 10:42 AM

Yes, it is a selectable style.


All times are GMT. The time now is 01:11 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.01300 seconds
  • Memory Usage 1,735KB
  • 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_html_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