The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||
![]() 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
|
Comments |
#42
|
|||
|
|||
![]()
With a few small tweaks - this style I wrote can give you a mobi compliant vBulletin site. Use it in conjunction with this hack to have mobi/com :up:
|
#43
|
||||
|
||||
![]() Quote:
I want to use your mobile skin for .mobi(for forums only) and a standard skin for .com basically. I have a CMS at domain.com with links to my forum, but when a user goes to domain.com I want domain.com/forum to load, not the front page of the CMS/site. Currently, domain.mobi is not parked anywhere but when I do, I want it to load the mobile forum skin ie. I don't want to have to host the .mobi site if you get me? |
#44
|
|||
|
|||
![]()
Hi Kohhal
I;m a little confused - mostly by this bit "I have a CMS at domain.com with links to my forum, but when a user goes to domain.com I want domain.com/forum to load, not the front page of the CMS/site" DO you mean you want "domain.mobi" to load "domain.com/forum" using the mobi skin? |
#45
|
||||
|
||||
![]()
Yep, that's what I did. It's sorted now, in the end I didn't need this hack but used your other mobile detect hack, thanks
![]() |
#46
|
|||
|
|||
![]()
I am having a hard time wrapping my head around exactly what this does. Does anyone have a link or three they would be willing to post here so we can see it in action. I am most interested in seeing how different the forums look like their own entities yet still run off the same database.
Thanks! Chris |
#47
|
|||
|
|||
![]()
First, you need 2 styles installed on your system and you need either 2 domain names or a domain and sub-domain parked on the same webspace.
This hack will parse the URL visited and assign a style based on this information. Eg: You have the default style and a "red" style install. You have the domain "domain.com" and a sub domain "red.domain.com" You could then use this hack to force the "red" style on visitors to "red.domain.com" Clear as mud? |
#48
|
|||
|
|||
![]()
Hmmm yeah, I get that part. I would like to see one in action though. I am an admin at a fairly large site but not the programmer.... and we have several different hobbies. We would like to be able to set it up so that if someone comes in with one domain they get different color schemes, only see particular parts of the forums, have a specific banner on the top. etc. I think this does that but I am not positive.
Thanks again! Chris |
#49
|
|||
|
|||
![]()
Thats almost exactly what it can do.
You can't hide parts of your forum as such, all you can do is assign a different style based on the URL visited. Do be aware that multiple domain names pointing to your forums will require multiple licenses. The essence of the license agreement for vbulletin is one license, one domain. Check the end of page 1 and the start of page 2 in this thread for a brief discussion on the matter. |
#50
|
|||
|
|||
![]()
Thanks for the info. We are looking for a way to hide some parts of the forum so I suppose this wont work. We basically want to operate multiple topics independently (at least look independent) of each other but use the same database as the backbone.
|
#51
|
|||
|
|||
![]()
I would also like to see this in a live-setting somewhere.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|