The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Here's my situation..
I integrate my forums with my website, the website forces the user to use a specific style that matches with the website. The website does not just issue styleid=## because that would cookie the user on the website's style. I only want the user to be forced to use that style while they are on the website. If they go to the forums directly, they should be able to use whatever style they want.. And it should not be reset each time they view the main page. I got half of this working, I use a request variable $_REQUEST['forcestyleid'], and 3 lines of code in global.php: if ($_REQUEST['forcestyleid']) { $codestyleid = $_REQUEST['forcestyleid']; } Basically adding onto the system in place for forums which force users to use a specific style only while viewing that specific forum. The problem I have is that if they click a link (the forums are displayed in an iframe on the website) it loads using their user-selected style.. Is there any way I can make forcestyleid= be passed through all the URLs in vbulletin, kinda like how s= is used to store the session id for as long as they visit the site with that request variable? I don't know if I explained this properly, if you need clarification just ask. Also, if this would be possible or easier in vBulletin 3.5, please do tell how.. I plan on upgrading as soon as my styles are ported over. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|