Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Forum Display Enhancements - Version: 3.7.0 Rating:
Released: 05-26-2008 Last Update: Never Installs: 28
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

I needed this for my own site, so I though I'd make it into a product and release here. It's a variation on Different Domain, Different Style made for boards which use vBAdvanced.

If you want to show a different vBAdvanced page based upon the domain (or subdomain) name used to visit your site, then this is the hack for you.

For example:

If you have a Sports site - you could setup up subdomains such as football.domain.com and rugby.domain.com and have a vba page for each which only displays news, recent threads, polls etc from the related forums on your portal page whilst maintaining a common forum.

Alternatively if you have a mobile sub-domain - mobile.domain.com - you could set up a vbadvanced page which only has a single colunm, and only one or two modules dislpayed for visitors to your mobile domain.

*Supports 5 additional domains/vba pages different

Release Information
1.0.0 - Initial Release. Marked as Beta until I get some feedback...

Enjoy.

Show Your Support

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

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

it's based on URL
Reply With Quote
  #13  
Old 05-28-2008, 01:10 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So does that mean that if a user is browsing to
my1st_url.com/index.php he will see vba page 1
while when browsing
my2nd_url.com/index.php he will see vba page 2?
because both locations are are the same file.
Reply With Quote
  #14  
Old 05-28-2008, 02:25 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that is correct :up:
Reply With Quote
  #15  
Old 05-28-2008, 02:40 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome mod!
/clicks install and nominate for MotM
Reply With Quote
  #16  
Old 05-31-2008, 11:46 AM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this address the problem of the vBA 'home' link on the mobile portal still pointing back to the main sites domain?
Reply With Quote
  #17  
Old 06-05-2008, 08:16 PM
tazzarkin tazzarkin is offline
 
Join Date: Nov 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a true genius. thank you for this mod!
Reply With Quote
  #18  
Old 07-03-2008, 11:31 PM
tazzarkin tazzarkin is offline
 
Join Date: Nov 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to somehow do a temp change to bburl and homeurl.
-------------------
Quote:
Originally Posted by tekguru View Post
Does this address the problem of the vBA 'home' link on the mobile portal still pointing back to the main sites domain?
Reply With Quote
  #19  
Old 10-07-2008, 01:49 AM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My setup is slightly different. I have my forums on myforums.com -- but I want to set up vBa CMPS "front pages" on mydomain.com. It works just fine (after cleaning up the style, so that links are properly set up) except for the "Welcome Block", which does not update the myforums.com login status while looking at mydomain.com. Is there a way to fix this?
Reply With Quote
  #20  
Old 10-07-2008, 05:13 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: I'm tinkering around with this add-on, and it looks like it works well, but I only want it to display/force a specific "frontpage" depending upon the domain (i.e., if no specific page has been designated). How can your plugin be modified to allow this to function properly?
Reply With Quote
  #21  
Old 10-07-2008, 11:13 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't really understand what extra functionality you're asking for - what you're describing sounds like what this already does. What do you mean by "Frontpage"?
Reply With Quote
Reply


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 06: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.04825 seconds
  • Memory Usage 2,298KB
  • 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
  • (2)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