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
  #102  
Old 05-14-2008, 11:37 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 051119 View Post
Is it possible to turn off the 'Posted via Mobile Device' message?

Thanks!
Best way is to do a search and replace on the mobile templates - search for [i]Posted via Mobile Device[/i] and replace with nothing...

I see I'm probably going to have to release a product with this style to turn things on and off and set options ?
Reply With Quote
  #103  
Old 05-15-2008, 12:50 AM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
I did add these, and also managed to get Mobile Adsense working (with some manual work - no product for this sorry) but then trashed my dev server to do test runs on upgrading my live one... I'll look into it real soon and post an up date with the template ad hooks in and also soem guidelines on how to integrate mobile adsense...
That sounds great, thanks.

I finally managed to get a mobile sub domain working with vBSEO. for anyone else getting the same problem, there are at least two solutions here:
http://www.vbseo.com/f2/base-href-23196
Reply With Quote
  #104  
Old 05-15-2008, 10:31 AM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Our next challenge is to create a mobile domain site map for Google.
Reply With Quote
  #105  
Old 05-15-2008, 10:45 AM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, it is no longer validating as XHTML 1.0 Strict. It looks relatively simple to fix though - just remove a 'center' argument and the layout of some of the tags.
Reply With Quote
  #106  
Old 05-16-2008, 02:14 PM
howarde's Avatar
howarde howarde is offline
 
Join Date: Sep 2007
Location: Florida
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great out of the box mobile style! Works great on my PDA!

I just added

Quote:
<if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
to the Threadbit since our forum is very active - it makes it easier for someone like me (a user of the mobile style)
Reply With Quote
  #107  
Old 05-19-2008, 09:51 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TechGuy View Post
FYI, I "fixed" the Opera Mobile bug by removing this code from the tagbit_wrapper template:

Code:
<img src="$stylevar[imgdir_misc]/11x11progress.gif" id="tag_form_progress" class="inlineimg" style="display:none" alt="" />
Thanks for that, TechGuy. That is however for the tags, so a work-around needs to be done. Saying that, Dartho hasn't made it work to add tags--so it must be there by mistake. I'm going to add capability for adding tags, so I'll post an update shortly.
Reply With Quote
  #108  
Old 05-21-2008, 10:36 AM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have noticed that every page has the same title too. This is of course terrible for search engine placement.

The problem is that the headinclude features this:
Code:
<title>$vboptions[bbtitle] Mobile</title>
<link rel="stylesheet" href="wireless.css" type="text/css" />
I have been trying to use conditionals in the headinclude to change this. I can get it to work for the foumdisplay pages but not showthread:

Code:
<if condition="THIS_SCRIPT == 'forumdisplay'">
        <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if></title>
<else />
        <if condition="THIS_SCRIPT == 'showthread'">
                <title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if></title>
        <else />
       		<title>$vboptions[bbtitle] Mobile</title>
        </if>
</if>
<link rel="stylesheet" href="wireless.css" type="text/css" />
I just get a blank title for the threads. I presume that this means that for some reason the $thread information isn't available? The page number will show, but the prefix and title are missing.

I am a complete novice at this kind of alteration. Can anyone see what I am doing wrong?
Reply With Quote
  #109  
Old 05-21-2008, 11:07 AM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just a quick recap of what this style could do with to make it perfect:

1. Mobile Adsense integration
2. Appropriate titles
3. An option to revert to the default style in the footer
4. Inclusion of tags for adding/editing (not essential though)
5. Optional removal of the 'posted via mobile device' message.
6. Creation of a mobile sitemap for Google
Reply With Quote
  #110  
Old 05-21-2008, 12:26 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.... why is is bad for search engine? Bots aren't going see this style, are they ?

It can be easily changed to use the forum and thread titles, but I don't see the benefits...
Reply With Quote
  #111  
Old 05-21-2008, 01:40 PM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jase2 View Post
Hmm.... why is is bad for search engine? Bots aren't going see this style, are they ?
They are if it is on a separate domain, which this style is designed for. Google runs a separate mobile search engine that will happily spider a mobile optimised version.

I use m.mydomain.com for the mobile version and hopefully I will work out how to create a separate mobile sitemap for the site too.

If it is easy enough, then please, please, please make the change!
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 10:50 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.05344 seconds
  • Memory Usage 2,321KB
  • 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
  • (3)bbcode_code
  • (5)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