The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I play a game called EVE Online. In this game their is a Browser that players can use to view web pages. This browser is not capable of rendering graphics, java, or any css thats complex. Infact here is the documents and development notes for anyone interested in this small in game browser:
http://bughunters.addix.net/igbtest/ http://bughunters.addix.net/igbtest/IGB-commands.html I run a website that many EVE Online players visit. I would LOVE to be able to have players visit the site in the ingame browser, but the problem is the in game browser won't render the pages of my vbulletin theme. So i've been trying to figure out a way to have a certain style displayed when the HTTP_USER_AGENT is the agent of the in game browser... I have the following code in a GLOBAL_START plugin, but it doesn't seem to be working. Do any of you guys have any idea why it won't work? Code:
if(strpos($_SERVER['HTTP_USER_AGENT'], 'EVE-minibrowser') !== false) { $styleid = "2"; }; |
#2
|
||||
|
||||
![]()
You could have your members click on a specific url. If you use mod_rewrite, that might make the url a little easier to remember.
http://www.yoursite.com/forum/index.php&styleid=3 |
#3
|
|||
|
|||
![]()
I rather them not have to click on a url.
Even if i use that type of url, if the user trys to register or log in, they get reverted back to the default theme. I could use mod_rewrite as well, but that would give me the same exact problem. I need the styleid handled via vbulletin. I got it fixed, huge thanks to revan for looking at the code and telling me where i screwed up. I had to move the plugin to style_fetch instead of global_start |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|