Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
DDDS - Different Domain Different Style Details »»
DDDS - Different Domain Different Style
Version: 1.0.5, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 07-05-2007 Last Update: 08-24-2007 Installs: 86
Supported Uses Plugins
 

This is a simple add-on which will force a specific styleid based on the host url the user visited.

If you have 2 domain names which point to the same forum, you can have a customized style based on the domain name visited. You can do what you want, but it may be as simple as only having a different banner reflecting the host name visited, or if you have merged 2 forums - users could still get the same skin they always have had if they continue to visit the same URL.

Other uses may be having wap.domainname.com point to a different style than www.domainname.com.

With the HOST matching be aware that if the URL specified in the add-on matches anywhere in the url visited, the add-on will be triggered.

e.g. if URL specified in add-on = domainname.com, any subdomains of domainname.com will match this.

Version History
1.0.0: product_ddds_36.xml - Initial release, Supports a single additional domain
1.0.1: product-5_ddds_36.xml - Supports up to 5 additional domains
1.0.2: product-5_ddds_36.xml - fixed typo in code - update required!
1.0.4: product-5_ddds_36.xml - fixed bug, added comment code [B]update required!
1.0.5: product-5_ddds_36.xml - removed comment code - caused issues on some systems

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-23-2007, 08:29 PM
CraiovaOnLine CraiovaOnLine is offline
 
Join Date: Feb 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Yes - just create a new style (as a child of your existing one) and give it a different logo..
Ok. I tried. Only if there is a problem.
The forum changes.
Take a look at the right side. It is bigger.
And this just for the ddds1, 2, 3 .. or 6!
The original style looks fine!

I'm using vb 3.6.5.
I know that the mod. is for 3.6.8 but..can you help me please?
Thanks!

//later
I just saw when trying to acces a forum this error:
Unable to add cookies, header already sent.
File: /home/craiova/public_html/global.php(241) : eval()'d code
Line: 12
Reply With Quote
  #33  
Old 08-24-2007, 03:59 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@CraiovaOnline - The alignment issue would be to do with how you modified the style rather than DDDS.

As for the error - make sure that all non used redirects are disabled, and that the enabled one has a URL.

I've sent you a PM.
Reply With Quote
  #34  
Old 08-24-2007, 11:00 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@CraiovaOnline - you were right! HTML comments in appear to have been interfering with the display, unsure why, but I have removed the commenst and released a new version. Tjis only affected the 5 domain version, tested and should be good now!

Thanks for the help/input Craiova
Reply With Quote
  #35  
Old 08-24-2007, 11:03 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still improving!
Reply With Quote
  #36  
Old 09-12-2007, 04:13 AM
ForYou ForYou is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello ,

I was install this hack and it is very very good hack , but this is just work when members login to my forum , mean when they login by the user name and password , but if still guest they will see the defaullt style ,

is there away to let unregisterd users see what i need Style ID ,

Regards
Reply With Quote
  #37  
Old 09-12-2007, 05:28 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should make no difference whether they are registered or not. May I have your site URL (both domains) to check? Thanks
Reply With Quote
  #38  
Old 09-12-2007, 11:30 AM
Rebecca217 Rebecca217 is offline
 
Join Date: May 2002
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beautiful! Thank you!

Rebecca
Reply With Quote
  #39  
Old 09-26-2007, 12:40 PM
Kohhal's Avatar
Kohhal Kohhal is offline
 
Join Date: Feb 2002
Location: Dublin, Ireland
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, have a question.

I want my domain mysite.mobi to go to my new style on the forum page rather than my homepage ie. mysite.com/forum rather than mysite.com : how can I do this easiest? Can it be in the DNS maybe, a redirect or someplace else?
Reply With Quote
  #40  
Old 09-26-2007, 01:14 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your mysite.mobi style you could modify the template of your home page to redirect to your forum page...

also modifiy the navbar/links so that links to home go to your forum page rather than your home page.

I'm assuming you have a mobile skin/style for teh .mobi and a standard skin/style for your .com ?
Reply With Quote
  #41  
Old 09-26-2007, 02:36 PM
steveninstl steveninstl is offline
 
Join Date: Jul 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

question...

If you are using a .mobi domain..Are your users that use the .mobi domain browsing via mobile device?
Reply With Quote
Reply

Thread Tools

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 07:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.23111 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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