Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Styles

Reply
 
Thread Tools
Mobile, Cell, Phone, PDA, iPhone Style Details »»
Mobile, Cell, Phone, PDA, iPhone Style
Version: 0.0.10a, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.7.2 Rating:
Released: 03-27-2008 Last Update: 07-27-2008 Installs: 1045
Supported
Additional Files Translations Is in Beta Stage  

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #382  
Old 10-26-2008, 09:12 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@punchbowl - What should be ahppening is that the smilie should b replaced by :-) - you got something wihch seems to interfere with that. Remove the "replacement variables" defined in this style to show all images (including smilies) inline.
Reply With Quote
  #383  
Old 10-27-2008, 01:15 PM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
@punchbowl - What should be ahppening is that the smilie should b replaced by :-) - you got something wihch seems to interfere with that. Remove the "replacement variables" defined in this style to show all images (including smilies) inline.
perfect! Cheers
Reply With Quote
  #384  
Old 10-27-2008, 07:25 PM
ali7118 ali7118 is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you ...
Reply With Quote
  #385  
Old 10-29-2008, 08:38 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crimm View Post
Dartho everything is looking great.

I have been so busy with work I haven't stopped by in a long time.

I actually adapted one of your first versions so much ... I'm scared to try and upgrade

If this has been posted before please ignore... I haven't gone through it all yet. I have been testing caching. I noticed that my BlackBerry was caching an awfully lot on the 3.7 version.

I kept having to refresh when clicking a link. I have added the following META tags to the style and I'm letting it sit for a week or two to get a good test:

Code:
<META HTTP-EQUIV="Cache-Control" CONTENT ="no-cache">
or

Code:
<META HTTP-EQUIV="expires" CONTENT="0">
*NOTE*: I only added it to the online template, search template and forum home template. I realize that it can slow things down a bit, but having to refresh was getting annoying

Have you thought about caching or has anyone else had this issue?
Quote:
Originally Posted by dartho View Post
Seems vBulletin only sets cache headers on Forum home:
Code:
	<!-- no cache headers -->
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<!-- end no cache headers -->
I've not noticed any issues on my own site using PocketIE on a windows mobile device, but it makes sense...
I had the same problem and I noticed that the adv_portal template (likely from vBAdvanced had this code:

PHP Code:
<if condition="$pages['name'] == 'home'">
    <
meta http-equiv="Cache-Control" content="no-cache" />
    <
meta http-equiv="Pragma" content="no-cache" />
    <
meta http-equiv="Expires" content="0" />
</if> 
So, I removed the <If ... <//if> and my vBAdvanced pages are no longer cached!

Next, I went into the mobile style and mofified the headinclude value to add the following:

PHP Code:
    <meta http-equiv="Cache-Control" content="no-cache" />
    <
meta http-equiv="Pragma" content="no-cache" />
    <
meta http-equiv="Expires" content="0" /> 
Now my Blackberry does not cache anything on my forums but that is a good things as forum content is always changing!

Lastly, I also modified the navbar template to add links to the pages my users are most likely going to use from their mobile device:

PHP Code:
<class="navbar" href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>
<
class="navbar" href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a>
<
class="navbar" href="$vboptions[bburl]/search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">My Posts</a
<
class="navbar" href="$vboptions[bburl]/search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Topics</a
Note that My Posts and My Topics are not vBulletin phrases SO if you update the style you might need to create a product.xml file to add these

Lastly, I made some changes to vBAdvanced to remove the vBAdvanced integrations from pages shown to this style and I posted the details on what was needed here:

http://www.vbadvanced.com/forum/showthread.php?t=28355

I hope that helps someone else.... :up:

You can see my site here:

http://www.timeshareforums.com/mobile

Note I have made other changes to the style and templates that I can't try to list here!
Reply With Quote
  #386  
Old 10-29-2008, 09:21 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing Quarterbore!
Reply With Quote
  #387  
Old 10-31-2008, 10:59 AM
wilson.dvb2 wilson.dvb2 is offline
 
Join Date: Feb 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i allow mobile viewers swith mobile style to PC style on mobile device ?
Reply With Quote
  #388  
Old 10-31-2008, 11:20 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installing this (https://vborg.vbsupport.ru/showthread.php?t=182692) addon will give you options to show the style chooser or a show link to your default style
Reply With Quote
  #389  
Old 11-01-2008, 01:45 PM
mmblz mmblz is offline
 
Join Date: Oct 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vb 3.7 and found that I had to edit the USERCP template to hide the social group link when appropriate. Just needed to add this if wrapper around the link:
Code:
<if condition="$show['socialgroupslink']">
<a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a> <br />
</if>
Reply With Quote
  #390  
Old 11-01-2008, 05:46 PM
wilson.dvb2 wilson.dvb2 is offline
 
Join Date: Feb 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Installing this (https://vborg.vbsupport.ru/showthread.php?t=182692) addon will give you options to show the style chooser or a show link to your default style
thanks

i installed it , when i gives a link to my default style it shows the style link but when i click it on mobile device browser it shows mobile style again and dont change style to pc mode !!
Reply With Quote
  #391  
Old 11-01-2008, 09:14 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you be using this autodetect add-on? If so, users can't change the style as that add-on is designed to force them to the mobile style.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05369 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete