vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Mobile Device Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=130983)

tekguru 06-26-2007 06:47 PM

Grabbing it now and will instsall later - watch out for any feedback!

tekguru 06-26-2007 09:04 PM

Silly queson but where does one throw the CSS file to?

dartho 06-26-2007 10:28 PM

yep - totally new, although any templates I didn't redo are alabama templates.

CSS goes in forum root.

@Derek Trotter - I'm suprised you can't log in, I'm pretty sure I had that all sorted, although I only tested on emulators. I intend on doing the PM section also - just wanted some feedback before I put the time in

Amenadiel 06-27-2007 02:35 AM

Hi. I'm looking forward to enable a special style for the users visiting my forum with Internet Explorer. It seems that when using Firefox, Opera or Safari my default style (CA EVO) works fine, but it's too slow to load on IE, so I want IE visitors to be presented a lighter style.

I've seen that this mod has a browser detection array

Quote:

$browsers = array(
"Windows CE",
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"Mobile",
"T68",
"Syncalot",
"NetFront",
"Danger",
"Symbian",
"Symbian OS",
"SymbianOS",
"Maemo",
"Opera Mini",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"BlackBerry",
"Wireless",
"Handheld",
"Smartphone",
"SAMSUNG",
"320x240",
"240x320",
"PSP",
"J2ME",
"MIDP",
"MIDP-2.0",
"Opera Mini",
"Blackberry8700"
);
So I guess I could use something like

Quote:

$browsers = array(

"Internet Explorer 6",
"Internet Explorer 7",
"Maxthon"
);
but I'm not sure of which browser strings to use.

Besides: does this mod disallow for users to choose another style if they wish to? will they be forced to use lighter style when browsing with IE?

dartho 06-27-2007 02:46 AM

It would be possible to extend or alter this mod to detect different desktop browsers and present with different styles, but this mod does force a style - it can't be changed by the user...

Spika 06-27-2007 08:44 AM

Hello!
I´ve a problem, from mobiles devices works fine, but If ahythig choose dartho Mobile alabama style in a PC, after cannot back to default style, even turn off the browser (IE7 or Firefox), Mobile Style is not default style in ACP. And isn´t possible choose style in dartho mobile alabama skin, I can not view this option.
Thanks in advanced
(sorry for my english)

Derek_Trotter 06-27-2007 09:42 AM

@Dartho
No, I definitely can't log in. Here is link to my phone specifications http://cellular.co.za/phones/nokia/2004/nokia_7260.htm
Maybe that can help you to find out why my browser can't work properly.
I have one suggestion. It would be very nice if you can disable all images in post except
smilies. It would speed up forum and it would be cheaper for some visitors.

dartho 06-27-2007 01:53 PM

@ Derek_Trotter - Not sure if I can help you - I'll look around for an emulator and test further. I can however change how images are displayed - simple matter of replacing IMG tags with URL tags.

@Spika - if you just go to your sites home page and add "?styleid=xx" where "xx" is your default styleID you'll be ok. I'll add an option in the footer of the next release to change styles - but this won;t work if you use the "mobile detection" hack as it forces a mobile style when it detects a mobile device.

Might be a while before I can apply these changes - gotta get some sleep sometime!

tekguru 06-27-2007 05:03 PM

Installed it here nad it runs fine, I can log in with no problems. NO way I could see to post a new message though. A good start indeed.

Derek_Trotter 06-28-2007 07:11 AM

OK. Is better to replace IMG with URL tags. If someone want to see image let he just click on link.

cash7c3 06-28-2007 09:20 PM

Hey, I am looking to use a product like this to display a specific style for ONLY ONE User Agent... anything else I want to show the regular style. Its for the iPhone (modmyiphone.com), and I want the iPhone to show one style, and any other browser to show the regular skin. Any chance we could get it so I could set a specific UA to change to a specific skin?

dartho 06-28-2007 10:49 PM

That shouldn't be too hard to do if you have the useragent strings ...

Spika 06-29-2007 01:05 PM

Quote:

Originally Posted by dartho (Post 1277693)
@Spika - if you just go to your sites home page and add "?styleid=xx" where "xx" is your default styleID you'll be ok. I'll add an option in the footer of the next release to change styles - but this won;t work if you use the "mobile detection" hack as it forces a mobile style when it detects a mobile device.

Might be a while before I can apply these changes - gotta get some sleep sometime!

Thank you very much for you support.:up:

JustJon 06-29-2007 04:32 PM

I'm still digging this mod, but when my users post from their cell phones, their signatures are not attached to the post. How do I fix this?

Andres Kello 06-30-2007 01:13 AM

Quote:

Originally Posted by dartho (Post 1274306)
Hi Andres,
I possibly could start from scratch and come up with a more mobile compatible skin in a similar vein to SMF (which by the way would definately the forum software I'd use for a free forum only based site - almost wen t with it myself) but it wouldn;t happen soon. The skin I released with this hack came about from modifying the Alabama skin which vbMechanic wrote. On my small site I am one of only a couple users that access it with a PDA (rather than mobile phone) so the need to make it 100% compliant hasn;t really been there.

As I get time I'll have a go at a skin similar to SMF.

That would be absolutely great to meet the growing demand for mobile websites. The .mobi domain extension was launched 9 months ago and it's fueling a rush to build mobile websites. The problem is, vBulletin won't be meeting that demand at least until version 4.0, and who knows how long away that is.

Also, my users seem to be having a problem using the Quick Reply button on your mobile mod. All it does is apparently "refresh" the page. You can follow the discussion here. Any ideas on how to fix this?

Cheers!
Andres
Mobility.mobi

P.S. By the way, are you in Australia? I'm in Sydney. :)

dartho 06-30-2007 01:57 AM

Andres - check the attachment in this post: https://vborg.vbsupport.ru/showthrea...82#post1276682

It's still a work in progress, but that skin gets 4/5 on ready.mobi and will allow reading forums/threads and replying. I'm still adding in more functionality and will have a next version released by the end of weekend hopefully. I've also modded the mobile detect hack to allow specifying one skin for Windows CE devices / Blackberrys and another skin for all other detected mobile devices - I haven't uploaded this one yet though

I'm in Perth!

Tralala 07-02-2007 02:36 AM

Quote:

Originally Posted by cash7c3 (Post 1278739)
Hey, I am looking to use a product like this to display a specific style for ONLY ONE User Agent... anything else I want to show the regular style. Its for the iPhone (modmyiphone.com), and I want the iPhone to show one style, and any other browser to show the regular skin. Any chance we could get it so I could set a specific UA to change to a specific skin?

Along these lines, I have a forum member using an iPhone and he reports that he's unable to switch away from the mobile skin (I suspect it's because of this product being installed.) How can I add the iPhone browser to the list of exceptions so that he may browse my forum using the "full" skin?

dartho 07-02-2007 03:36 AM

Are you able to find the exact user agent string sent by the iPhone?

I mentioned I had a version on teh boil which would deliver one specified style to "Windows CE" devices, and another to all others - I guess I could allow the user to specify an exceptions list also - I'll look at it when you reply (and I get time)

When using this hack, the style is forced - there is no getting away from it.

dartho 07-02-2007 07:03 AM

Update will be out tonight (5 hours?) with a user configurable exceptions list, and choice of applying a different skin to Windows CE devices - ie. Pocket PC's in addition to applying a specified skin to all other detected mobile devices. Just testing now.

tekguru 07-02-2007 03:11 PM

Update downloaded will feedback later!

BadgerDog 07-02-2007 03:47 PM

What would be a good skin option for a RIM Blackberry device?

Thanks... :)

Regards,
Badger

sR Craig 07-02-2007 04:49 PM

for some reason I cannot login or post with OperaMini...

and on my Blackberry browser (using the Curve 8300) I can login but cannot post (and it does not show me as logged in...I can just see private forums so I know I am logged in somehow)

Loving it...just wish it worked for my device

Tralala 07-03-2007 12:18 AM

Quote:

Originally Posted by dartho (Post 1280993)
Are you able to find the exact user agent string sent by the iPhone?

Checked http://www.zytrax.com/tech/web/browser_id.shtml

and got this:

Mozila/5.0 (iPhone; U; CPU like Mac OS X; en)
AppleWebKit/420+ (KHTML, like Gecko)
Version/3.0 Mobile/1A543a Safari/419.3

dartho 07-03-2007 12:52 AM

The update to this mod just released (product mobile enabled36 2.1.2.xml) will exclude "iPhone" from being detected as a mobile device out of the box :up:

dartho 07-03-2007 12:55 AM

Quote:

Originally Posted by sR Craig (Post 1281387)
for some reason I cannot login or post with OperaMini...

and on my Blackberry browser (using the Curve 8300) I can login but cannot post (and it does not show me as logged in...I can just see private forums so I know I am logged in somehow)

Loving it...just wish it worked for my device

Are you running with this skin: https://vborg.vbsupport.ru/showthread.php?t=151186 or the "alabama mod" mod skin?

I suggest you try the first. The Alabama mod needs more work - esp on devices that don't support cookies

MotoUp 07-03-2007 04:59 PM

Quote:

Originally Posted by BadgerDog (Post 1281337)
What would be a good skin option for a RIM Blackberry device?

Thanks... :)

Regards,
Badger

The dartho alabama skin works like a champ. :)

Tralala 07-04-2007 08:41 PM

Thanks for the iPhone fix... works great!

JustJon 07-05-2007 07:52 PM

I'm still a big fan of this mod and all the work you've done on it, but when posting from the phone, the user's signature is not being attached to the post. Is there any way to fix this?

dartho 07-05-2007 10:36 PM

Sorry JustJon - I'll look into that. What skin are you using?

egyptsons 07-05-2007 10:38 PM

nice work ;)

aggiefan 07-09-2007 12:24 PM

Quote:

Originally Posted by dartho (Post 1273726)
Wow! That is a VERY neat skin!

To export, go into "Download / Upload Styles" in the "Styles & Templates" section in your admincp. THen pick the style name from the first drop down and download.

In regards to vbadvanced, all I did for my site was to only dispaly the centre vBadvanced column - just edit teh adv_portal template and remove the
"<if condition="$show['left_column']">" block and the "<if condition="$show['right_column']">" If you just want to go straight to your forums, you could clear out the whole adv_portal template and just have a redirect to the Forum page

Ok I get it now... what was confusing me about this is I completely forgot about the vbadvanced stuff was installed in the templates (i was thinking it was only in the vbadvanced section in admincp).

Anyways I am going to attach our smartphone theme here.... It will need some work. I got it close but as others have stated it needs more work because there is still alot of fluff in the theme but I think I have a good place to start from. I also inadvertently created some errors that show up in IE (probably removing a bit of code I shouldnt have)

tekguru 07-09-2007 05:53 PM

Feedback from one of my teamn members:

Quote:

Finally got round to trying mobile and ..... er ... what's with the garish colours? All negative from me I'm afraid!

The portal weighed in at about 150k and non of the images loaded.

I have to load another page to reply to a post

Oh and those colours!!
Agie will try your style next if you and Dartho can work on one together it should be awesome!

dartho 07-09-2007 10:57 PM

@tekguru - thats all about the mobile skin as opposed to this add-on. It's written for vBulletin not any portals, so not much I can really do there as everyones portal is different. To fix up the images though, you will need to set the image paths in the style options. The mobile style itself uses no images.

As for the colours, I just went with a few of the 216 web safe colours knowing that these would easier enough to change by people who use the skin by editing the CSS file.

I should be able to add a "quick reply" box.

I'm in the process of revamping this skin specifically for Windows Mobile type devices.

@Aggiefans - thanks for sharing!

Rickeo 07-10-2007 12:03 AM

Thank you great just what I needed.

~Rick~

tekguru 07-10-2007 05:45 AM

Quote:

Originally Posted by dartho (Post 1287119)
@tekguru - thats all about the mobile skin as opposed to this add-on. It's written for vBulletin not any portals, so not much I can really do there as everyones portal is different. To fix up the images though, you will need to set the image paths in the style options. The mobile style itself uses no images.

As for the colours, I just went with a few of the 216 web safe colours knowing that these would easier enough to change by people who use the skin by editing the CSS file.

I should be able to add a "quick reply" box.

I'm in the process of revamping this skin specifically for Windows Mobile type devices.

@Aggiefans - thanks for sharing!

Argh sorry about that serves me right for replying mid-migraine :) Looking forward to the updates to both Mods :) Understand about the CSS - can you give a guide to editing that in the relevant thread?

I'll investigate the image paths.

ShackMaster 07-12-2007 06:40 AM

Super nice! Installed!

Just wondering... when I go to the Alabama style on my laptop... how do you change the style again since there is no option for another style? I know I can logout and it will take me back to the original default style. Am I missing something... I'm easily at the top of the "duh" list.

ShackMaster 07-12-2007 06:56 AM

Another question...

I noticed you have the Mobile/Cell Phone style here at vB.org as well. Should I use it for mobile and cell and use the Alabama style for PDA? What is best for which?

Thanks!

dartho 07-12-2007 06:58 AM

G'day Shackmaster,

easiest way to get back to your default skin is to go to "http://domainname.com/?styleid=xx" where xx is your default style ID. I haven;t added a style chooser to the alabama skin as I made it for use with this hack on my site which does not allow users to change skins. A future release will probably have a style chooser option for those that wish to give users more control...

dartho 07-12-2007 07:24 AM

Quote:

Originally Posted by ShackMaster (Post 1288950)
Another question...

I noticed you have the Mobile/Cell Phone style here at vB.org as well. Should I use it for mobile and cell and use the Alabama style for PDA? What is best for which?

Thanks!

Yep - that skin would be more compatible with more devices - I use that one for all devices persoanly because of its low bandwidth use. The Alabama one is good, but needs to be re-done from the ground up - I am in the process of writing a new 'PDA' skin from scratch, but it may take a little while....

ShackMaster 07-12-2007 02:32 PM

Okay... thanks.... it makes sense that when members are on a regular computer they don't need to have the option of that style.


All times are GMT. The time now is 04:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01657 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete