Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

Buy Site Supporter Role (remove some ads) | LPF Donations

Links below open in new window

FrozenGate by Avery

Suggestion: Mobile theme for LPF.






If you need a hand, I don't know much about vB coding but I have written some auto-detecting code for various platforms (psp, ps3, iPod, iPhone, BB), and works in PHP. It would be an include, or pasted into the top of the forum theme, and can be used to change any vB settings that would be accessible by normal code, based on user-agent. For instance it could be used to apply a custom CSS theme or disable certain page elements.

If you could link me to the LPF theme (presuming it isn't a paid one, of course) I can set up a testing copy of vBulletin on my server and give it a go. Of course I would be able to show you all source-code changes, so you can audit it before applying to your own server.
 
If you need a hand, I don't know much about vB coding but I have written some auto-detecting code for various platforms (psp, ps3, iPod, iPhone, BB), and works in PHP. It would be an include, or pasted into the top of the forum theme, and can be used to change any vB settings that would be accessible by normal code, based on user-agent. For instance it could be used to apply a custom CSS theme or disable certain page elements.

If you could link me to the LPF theme (presuming it isn't a paid one, of course) I can set up a testing copy of vBulletin on my server and give it a go. Of course I would be able to show you all source-code changes, so you can audit it before applying to your own server.

That would be awesome. It would be easy to just slap that little bit of PHP right into the index.php of the forum, and would redirect to the new domain. Which brings me to my next question....

Which idea do you think is better for the mobile theme? Sub-domain on the LPF address, or a selectable theme from the main page? I personally think the new domain with redirect is the way to go.
 
My method would just change vB session settings (such as disabling avatars) and change the layout for the fixed-width browser, based on the device you were using at the time, however it could also be used to redirect to a sub-domain running a theme as you suggested, or possibly to enable a second theme by default. You may run into issues when running the same vB copy on multiple sub-domains, I don't know if this is possible, and also may prevent features such as images, uploads etc from working on mobile devices. Essentially, my method would modify the current theme (stylesheets, including banner images, colours or font sizes if necessary) and could also be used to disable avatars or other features (if vB supports this, as I said, I haven't got any experience working with vB)

As I said, if someone can link me to the theme, I can install a copy of vB on my server and see how well this method works. I have an iPhone, PSP and PS3 I can use for testing, but as for other consoles, or blackberries, I cannot test it myself. I *could* also try to build an iPhone app, but this will be a much longer-term project - I would need to buy a Mac first, to get the coding environment (you can't code it on a PC, and hackintoshes are far too unreliable in general, though I may do this).
 
My method would just change vB session settings (such as disabling avatars) and change the layout for the fixed-width browser, based on the device you were using at the time, however it could also be used to redirect to a sub-domain running a theme as you suggested, or possibly to enable a second theme by default. You may run into issues when running the same vB copy on multiple sub-domains, I don't know if this is possible, and also may prevent features such as images, uploads etc from working on mobile devices. Essentially, my method would modify the current theme (stylesheets, including banner images, colours or font sizes if necessary) and could also be used to disable avatars or other features (if vB supports this, as I said, I haven't got any experience working with vB)

As I said, if someone can link me to the theme, I can install a copy of vB on my server and see how well this method works. I have an iPhone, PSP and PS3 I can use for testing, but as for other consoles, or blackberries, I cannot test it myself. I *could* also try to build an iPhone app, but this will be a much longer-term project - I would need to buy a Mac first, to get the coding environment (you can't code it on a PC, and hackintoshes are far too unreliable in general, though I may do this).

isn't this the themere you are looking for? :D
Mobile, Cell, Phone, PDA, iPhone Style - Page 49 - vBulletin.org Forum
 
My method would just change vB session settings (such as disabling avatars) and change the layout for the fixed-width browser, based on the device you were using at the time, however it could also be used to redirect to a sub-domain running a theme as you suggested, or possibly to enable a second theme by default. You may run into issues when running the same vB copy on multiple sub-domains, I don't know if this is possible, and also may prevent features such as images, uploads etc from working on mobile devices. Essentially, my method would modify the current theme (stylesheets, including banner images, colours or font sizes if necessary) and could also be used to disable avatars or other features (if vB supports this, as I said, I haven't got any experience working with vB)

As I said, if someone can link me to the theme, I can install a copy of vB on my server and see how well this method works. I have an iPhone, PSP and PS3 I can use for testing, but as for other consoles, or blackberries, I cannot test it myself. I *could* also try to build an iPhone app, but this will be a much longer-term project - I would need to buy a Mac first, to get the coding environment (you can't code it on a PC, and hackintoshes are far too unreliable in general, though I may do this).


Hey Charlie,

Thanks for the initiative. If you need any help with testing as far as blackberries are concerned, just shoot me a pm, I can help with testing.


Best Regards,
brtaman
 





Back
Top