vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

dartho 03-27-2008 10:00 PM

Mobile, Cell, Phone, PDA, iPhone Style
 
vBulletin 4.0 version here: https://vborg.vbsupport.ru/showthread.php?t=228986

A very cut back style with very low bandwidth usage which renders well on pretty much all small screen devices from old Nokias to new iPhones.
  • Supports viewing/posting/replying in forums
  • Supports Private Messaging
  • Supports Tags (viewing, not adding)
  • Supports viewing and replying to messages in Social Groups
  • Supports Thread Prefixes
  • has an add-on product to customise here: Extend and Customise Mobile Style (It is recommended that you install this also, but not required)
  • Supports other stuff too ....

Notes
  • If you are installing this on a vBulletin version higher than the current 'supported' version, and wish to get rid of the Out-of-Date Custom Templates Found! errors, see Post #329 for more information...
  • I suggest you also install this add-on to this style to get more out of it...
  • To modify the colour scheme of this style, you have to edit the wireless.css file by hand
  • If you use a portal such as vbadvanced which you wish to disable in mobile style, see here

Release Information
  • Version 0.0.1 - Initial release ported from my 3.6 version here
  • Version 0.0.2 - Added auto quoting when replying to a post
    - fixed "Up" link bug
    - Added 'Posted via Mobile Device' message to new posts
    - couple small non - critical bugs fixed in some links
  • Version 0.0.3 - No change other than change version to 3.7RC2
  • Version 0.0.4 - Updated with security tokens tages for forms submital, and Gold version
  • Version 0.0.5 - fixed navbar template "Home" link (you will need to edit this if your default forum page is not index.php)
  • Version 0.0.6 - added ad_hook locations, fixed page titles, fixed couple small bugs
  • Version 0.0.7 - Added Style chooser to UserCP, Post count to threads, Search Page, Attachment Sizes, More detailed time info, viewing/voting in polls, other stuff too probably :)
  • Version 0.0.8 - now has an addon to customise certains aspects of this style - see HERE
  • Version 0.0.9 - updated template version numbers to to 3.7.2 - no other changes have been made
  • Version 0.0.10 - Now Fully Phrased (thanks Keyser Soze) Other updates included so its add-on product can do more customization
    Both this style and the addon will have the same version numbers - it's best to make sure you update the add-on when updating the style.
  • Version 0.0.10a - fixed small bug in footer template

Install Instructions
  • Save attached XML to your local computer
  • Save attached wireless.css.txt, rename to wireless.css and upload to your forum root
  • In AdminCP go to "Styles and Templates"
  • In the "Import Style XML File" section browse to where you saved the XML
  • Click "Import" button
  • Come back to this page and click "Mark as Installed"
Other useful Add-ons to use in Conjunction with this styleOther Mobile Styles worth checking out

Jase2 03-28-2008 12:33 AM

Dartho, thank you very much! I'll get this installed, then let my members report any bugs ect.

Thanks, once again!

Regards Jason :)

Jase2 03-28-2008 12:57 AM

Quote:

2. Different Domain, Different Style (3.7 should be released today)
Will force the user to a predefined style based on URL visited (eg. visiting mobile.yourdomain.com will force the user to use a pre-defined mobile style wilst www.yourdomain.com will display your default style to the user
Dartho,

Does this mean we can choose our own domain for users to visit on their handheld device? If so, that would be great!

Regards Jason :)

M-Tuning 03-28-2008 12:56 PM

Quote:

Originally Posted by Jase2 (Post 1476356)
Dartho,

Does this mean we can choose our own domain for users to visit on their handheld device? If so, that would be great!

Regards Jason :)

Yes, it's this mod: https://vborg.vbsupport.ru/showthrea...hreadid=174381

diola 03-29-2008 07:07 PM

Hey guys, just a little question here, i have this style running fine, plus the mobile detection, but i need to put the style options in the forum home, because some of my users are using it as default style and some-times need to come back to the graphic style. Some one can help-me on it? That can be done with 2 solutions, i just dont know how to do this:

1- Enabling quick style chose on forum home (in mobile style it is off)
2- Removing the mobile style from the users selection menus (but keeping this running)

MrToasty 03-30-2008 07:30 AM

Nice :)

dartho 03-30-2008 10:47 AM

Updated with thanks to Mr Toasty and Ryan Beal for pointing so bugs that kept slipping through the net...

Added Screenshots

Version 0.0.2
- Added auto quoting when replying to a post
- fixed "Up" link bug
- Added 'Posted via Mobile Device' message to new posts
- couple small non - critical bugs fixed in some links
- Still to do - Phrase everything :erm:

timefactor 03-30-2008 12:04 PM

nice one, thanks.

SuperJETT 03-30-2008 12:19 PM

Love it, even better than the previous versions. Thanks.

dartho 03-30-2008 11:55 PM

You're welcome

slmoney 03-31-2008 12:11 PM

Thank you for addressing the "posted by mobile" this rocks!

SuperJETT 04-01-2008 01:12 PM

Some feedback during my April Fool's joke using this style:
The quick reply box isn't obvious to most people, so they are clicking Post Reply and since the Posted via Mobile Device is there, it will post and their post is empty.

This is based on hardly any of my users seeing this theme before, so they think they're going to the full editor instead of doing a quick reply.

I do like the changes you've made, very clean/usable IMO.


BTW, if anyone wants to see, here's my April Fool's joke with this theme: http://www.x-h2o.com/showthread.php?t=33726 Some of the comments are LOL

Jase2 04-01-2008 02:02 PM

Hi Dartho,

When installing a new version, I just merge it into the old 'mobile' style. Is this correct?

Upgrade to RC2 -- and as usual it says you need to revert templates for style 'mobile'. Is there anyway to dismiss these? I've edited it and changed the version number to RC2.

Regards Jason :)

dartho 04-01-2008 09:23 PM

That should be OK, Jase2 - and may revert templates also? I usually install fresh and then delete the old version..

Jase2 04-01-2008 09:48 PM

Yes, it's asking to revert the templates. Shall I revert for 'mobile'?

Regards Jason :)

dartho 04-01-2008 10:13 PM

Yes, I think so...

BTW - I edited the XML and updated version numbers to RC2

mac27 04-01-2008 11:45 PM

Hey clicked install. It seems to be working great so far. I will let you know if I run into any problems with it. Thanks a million for this.

Jase2 04-03-2008 11:53 AM

Hello Dartho,

Can you add google ads for mobiles to this style? I'm trying to add them, and I get the following error (tried a few templates):
Quote:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/forum/includes/adminfunctions_template.php(3708) : eval()'d code on line 39

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Any ideas?

dartho 04-03-2008 08:50 PM

Got any links?

Jase2 04-04-2008 04:16 PM

Its in Google Adsense. AdSense for Mobile Content

dartho 04-04-2008 10:59 PM

Adsense for Mobile is PHP code - it can;t be just added to a style with template edits. Where would you want the ads to appear?

Jase2 04-05-2008 10:03 AM

Ah, I see. Where is the most suitable place to have them showing? If you can suggest one, then that'd be great! :)

Guest210212002 04-05-2008 04:42 PM

Sorry if this has been asked, but what are you using to test it on? (The app in the screenshots)

dartho 04-05-2008 08:29 PM

Quote:

Originally Posted by Chris-777
Sorry if this has been asked, but what are you using to test it on? (The app in the screenshots)

Microsoft's windows mobile emulator

slmoney 04-05-2008 08:37 PM

Ads...

If they could be added in places like..below the navbar...after 1st post...and at the footer...I'd be a happy camper!

dartho 04-05-2008 09:50 PM

I'm going to have to put some template hooks in - I could re-insert the default ones, but then you'd get the same ads on mobile as desktop.

I'll try and put them in the same locations as the current ad hooks but preface teh name with "mob_"

A new version will be out with these in sometime this week

Jase2 04-06-2008 11:13 AM

Thanks Dartho!

MissKalunji 04-08-2008 03:11 AM

it's a nice style but to me was hard on the iphone :-/ i have a hard time to read and i've tested it with the website you gave in the previous thread and it said :

dancehallareaz.com/forum
It will possibly display poorly on a mobile phone.

Quote:

Failed
XHTML Mobile Profile
Valid Markup
Character encoding

Warning
Use of stylesheets
Access keys
Default input mode

dartho 04-08-2008 04:30 AM

Quote:

Originally Posted by MissKalunji (Post 1485646)
it's a nice style but to me was hard on the iphone :-/ i have a hard time to read and i've tested it with the website you gave in the previous thread and it said :

dancehallareaz.com/forum
It will possibly display poorly on a mobile phone.

ready.mobi is a test for "mobi" sites using their own set of criteria.

I'm limited to markup and character encoding as used by vBulletin which was never really designed with mobile devices in mind. However, this style does display on pretty much any device and gives quite significant functionality and very low bandwidth requirements.

I have listed a few other "mobile device" styles which are worth a look also.

One day I may take a stream off this one and make a "prettier" version for newer devices, but that will come at a sacrifice of bandwith and compatibility with older/smaller screen devices.

MissKalunji 04-08-2008 04:39 AM

thank's for clearing this up :) it looks fine really it was just hard on my eyes at first lol. And wasn't loading as fast as the previous one but like you said sacrifice for more features. and it wasn't that slow either. a lot of my members said they preferred that

i was just pointing it out in case you didn't know

Thanks for releasing this. I ended up using it anyways :)

MissKalunji 04-08-2008 01:03 PM

Tiny problem in certain modification (like Gars and first thread post) the quick reply doesn't show...how can i fix that?

dartho 04-08-2008 01:40 PM

doesn't work too well with GARS does it (I also use GARS) :(

It seems that my hiding images doesn't work with GARS too well. You can either edit the GARS templates for the mobile style and replace buttons with text links, or I think if you remove the following replacement variables from the Style Options for this style:
Code:

border="0" alt="" />
class="inlineimg" />
img src

that may fix it. However, this will also have the effect of dispalying images/smilies inline in teh mobile style rather than just linking to them

I only developed this under an unmodified vBulletin so issues like this may appear from some addons. It may be possible to not have GARS apply to forums when when using the mobnile style? Should I look at this option further?

MissKalunji 04-08-2008 08:27 PM

yeah not showing gars in style would be a lot easier i believe...

Thanks!

MissKalunji 04-08-2008 10:19 PM

actually it doesn't show up in any of the postbit for any

i'm on 3.7.0 rc 2 some threads have the quick reply others doesnt

MissKalunji 04-08-2008 10:46 PM

view here : http://www.dancehallareaz.com/forum/...vs-bounty.html

and view there

http://www.dancehallareaz.com/forum/...-movado-2.html

i have to use the standards $message area one

Jenkins 04-10-2008 04:40 PM

nice... will be installing this soon.

dartho 04-11-2008 01:45 AM

@MissKalunji - not sure what the issue may be there...

On a note to disabling GARS for a specific style, Morgan over at www.TheVBGeek.com offered this suggestion which I tested and it seems to work:

Edit the "GARS - Startup" plugin and replace

Code:

require_once(DIR . '/geek/gars/includes/gars_ignition.php');
with

Code:

if (STYLEID != xx){
    require_once(DIR . '/geek/gars/includes/gars_ignition.php');
}

where xx = the styleid of the mobile style.

MissKalunji 04-11-2008 01:39 PM

ah ok thanks :)

Jase2 04-14-2008 04:08 PM

Can we expect a new version shortly, Dartho? :p

rob30UK 04-17-2008 11:33 AM

Hey dartho....

Having two issues...

Firstly, not getting the 'posted by mobile device' when i post from a mobile device.

Second, when i login using the form at the bottom of the homepage, it logs in fine, but am redirected to login.php which comes up blank. i can then manually visit the homepage and everywhere else and i AM logged in... just seems the redirection page after logging in isnt set up properly. Is anyone else finding this?


All times are GMT. The time now is 05:57 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
  • Page Generation 0.02213 seconds
  • Memory Usage 1,834KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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