![]() |
Skin Displayed Based on REFERER
I run a support forum for a company that is now 2 companies merged. In order to provide customer peace of mind and offer a sense of stability and familiarity, we wanted implement a familiar skin for each set of customers. As of version 1 if you visit through remote sites and are redirected then you will not be able to change the style. However if you log straight in you can. This is a bug I need to fix as I want all users to be able to select other skins should they want.
DEMO LINKS: Default site: http://www.hostingtechs.com http://forum.hostareus.com http://forums.barefooting.com I am not offering support for this, but I am entertaining suggestions, comments and feedback. This can be used with no credit (I don't believe in tooting my horn), but if you enhance it I'd like to know so that I can consider using an enhanced vesion for myself. Cheers, people. Now play nice. Aaron Brazell |
Yeah, we love this hack :)
|
This could DEFINATELY be useful! :D
|
Thank You Sketch ! :)
Clicking Installed! Destee |
What if i fire up my browser and go to http://forum.hostareus.com/forumdisplay.php?&forumid=6 ?
Or this one http://forums.barefooting.com/forumd...php?&forumid=6 ? |
well unfortunately we got some DNS wires crossed right now that we're trying to sort. I'll address that when we get back online with our forum....
|
hmmm, yeah, you've got a point. Unless I wanted to do a redirect of all pages or unless mod_rewrite was installed at every redirect location. That's way too many if's.
I guess the next release is going to putt all the detection in global.php like I had originally intended. I was just going to do a: PHP Code:
So anyways, thanks for the tip... Aaron |
Nice idea buddy :)
- miSt |
Wow fantastic idea!
|
Completely altered code. Now there is only one bit of code to paste into ./global.php
Much easier. Much more reliable. Cheers. Aaron |
Is it ok on 2.3.2? Could another feature be added:
Predefined forums (id 13, 45, 2, for example) be shown coming from a referrer page or a hyperlink?! |
All times are GMT. The time now is 03:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|