Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Styles
FAQ Community Calendar Today's Posts Search

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

Version: 3.6.10 Rating:
Released: 07-01-2007 Last Update: 06-11-2008 Installs: 264
Supported Template Edits
Additional Files  

A version for 3.7 can be found HERE

A super light style designed for Mobile Phones - use in conjunction with THIS or THIS modification to redirect mobile phone users to this theme.

This is a work in progress, and any and all feedback is greatly appreciated - I will do my best to act on bugs and suggestions.

Check http://mobility.mobi (not my site) from a mobile device to see how it looks or you can visit via an emulator HERE

Whilst this doesn't have ALL functionality of vBulletin default, it does allow browsing forums, replying to posts, creating new topics and sending/receiving PMs.

I'm new at this, be kind.

Version History
1.00 - Initial Release
2.00 - Validates Strict XHTML 1.0 on http://validator.w3.org/
Added PM notification, fixed new reply, new thread, new PM to look better. Can edit posts. Added Logout and also an "Up" menu which will take you to the parent forum of where ever you currently are. Images in posts are replaced with a link to the image - unfortunately this meant I had to do teh same to smilies which all now show up as :-) (which is a link to teh smilie itself). It is now approaching a fully functioning skin - not sure what else you would want to do from a mobile phone/PDA. A few small bugs fixed too.
2.01 - Added viewing thread subscriptions, who's online (both only for logged on members) and quick reply
2.02 - Quick reply for logged on members only
2.03 - fix a w3.org validation issue, added "mark forums read" to forum home
2.04 - Internal release
2.05 - added mark as read to 'new posts' added 'sub' (Subscribed threads) and 'online' (who's online) footer navbar forum name in post title (as link) fixed a few things.
2.06 - Page numbers appear in thread bits
- UserCP page, with access to PMs, Subscribed Threads, Edit Signature, Edit Options (which includes changing view from oldest first to newest first
- Basic MOD options added - can delete posts and threads (and undelete also)
- Remember me added to login in footer (duplicate login screens removed
- I should probably test this latest version more extensively and re validate it, but thought you wouldn;t mind a pre-release

2.07 - Added requests, revalidated STRICT XHTML on w3.org. If you have modified your existing install of this, I suggest you backup the style first before upgrading with this new version just in case you want to roll back.
2.08 - Remove backlink from FORUMHOME
2.09 - updated version numbers on templates to 3.6.9
2.10 - added securitytoken field to all forms

A Spanish translation can be found in post # 200 HERE

Install Instructions
Unzip and upload the wireless.css to your forum root.
Import the XML as a new style WITH NO PARENT.

Upgrade Instructions
Unzip and upload the wireless.css to your forum root (overwriet existing).
Import the XML and merge with existing. Alternatively you could delete the existing mobi style and re-upload fresh.

Keywords: Mobile, Cell, Portal, Mobi, Light, PDA, Phone

Screen Shots - Don;t be put off by the colours, these are all very easily changed by editing the CSS file. If you need help, just ask. I did these from a desktop browser with the window resized to 240px wide - to get a proper idea of the look, use the emulator link mentioned above. It looks MUCH better from an actualy small screen device!



How to hide a style from style chooser
This template edit will allow you to 'hide' a style from the Style Chooser so users can't select a specified style.

Show Your Support

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

Comments
  #192  
Old 03-06-2008, 05:31 PM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may sound a bit stupid, but if you select the mobile style in a normal PC web browser how do you unselect it? There doesn't appear to be a style choice in the style...?

Am I going to end up with lots of users selecting it to see what it looks like then getting stuck with it?
Reply With Quote
  #193  
Old 03-06-2008, 06:38 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry Dartho I post in wrong place, as of I installed only the lite style and not the pluging that detects the Mobile phones.

The situation is that mobile emulators checkers show only the main page of forum http://viparmenia.com/vb/index.php?styleid=17 but when I am trying to open a forum say http://viparmenia.com/vb/forumdispla...=41&styleid=17 or a topic it says the page is too big.

Is there a way to limit the number of topicsper page for this style?
Reply With Quote
  #194  
Old 03-06-2008, 08:01 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Voter: That's a limitation of the emulator and is unlikely to actually affect your site but I will look at limiting topics/page. It may have to be hard coded into the style

@Swissbob: If you allow users to change styles, I'd suggest adding the following at the very end of the footer template (replace x with the styleid number of your preferred style):
Code:
<div class="navbar">
<a href="/index.php?$session[sessionurl]styleid=x>Full Version</a>
</div>
Reply With Quote
  #195  
Old 03-06-2008, 08:05 PM
swissbob swissbob is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
@Swissbob: If you allow users to change styles, I'd suggest adding the following at the very end of the footer template (replace x with the styleid number of your preferred style):
Code:
<div class="navbar">
<a href="/index.php?$session[sessionurl]styleid=x>Full Version</a>
</div>
That's great, thank you.

It didn't seem to work without allowing users to change styles.
Reply With Quote
  #196  
Old 03-07-2008, 12:02 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will work if you use this style in conjunction with the Mobile AUtodetect add-on. You need to have the style ticked as user selectable in your Style Manager, but set teh options to not allow users to change styles in vBulletin options.
Reply With Quote
  #197  
Old 03-07-2008, 12:24 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voter View Post
Sorry Dartho I post in wrong place, as of I installed only the lite style and not the pluging that detects the Mobile phones.

The situation is that mobile emulators checkers show only the main page of forum http://viparmenia.com/vb/index.php?styleid=17 but when I am trying to open a forum say http://viparmenia.com/vb/forumdispla...=41&styleid=17 or a topic it says the page is too big.

Is there a way to limit the number of topicsper page for this style?
It will require adding a plugin. Edit the following code and change the "XX" for the styleid number of your mobile style and also change teh maxposts and maxthreads values to what you need, copy and save it as a file called maxposts-plugin.xml and then import the plugin in your AdminCP "Plugins & Products", Download / Upload Plugins" GO to the end of the page and browse for the file you just saved then click Import.
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
	<plugin active="1" executionorder="5" product="vbulletin">
		<title>Set Max Posts per Thread</title>
		<hookname>style_fetch</hookname>
		<phpcode><![CDATA[if ($styleid == xx){
    $vbulletin->options['maxposts'] = 5;
    $vbulletin->options['maxthreads'] = 5;
}]]></phpcode>
	</plugin>
</plugins>
I've also attached the plugin file so you can save and then edit.

Thanks to Kirk Y for the help.
Reply With Quote
  #198  
Old 03-07-2008, 02:09 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
It will require adding a plugin. Edit the following code and change the "XX" for the styleid number of your mobile style and also change teh maxposts and maxthreads values to what you need, copy and save it as a file called maxposts-plugin.xml and then import the plugin in your AdminCP "Plugins & Products", Download / Upload Plugins" GO to the end of the page and browse for the file you just saved then click Import.
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
	<plugin active="1" executionorder="5" product="vbulletin">
		<title>Set Max Posts per Thread</title>
		<hookname>style_fetch</hookname>
		<phpcode><![CDATA[if ($styleid == xx){
    $vbulletin->options['maxposts'] = 5;
    $vbulletin->options['maxthreads'] = 5;
}]]></phpcode>
	</plugin>
</plugins>
I've also attached the plugin file so you can save and then edit.

Thanks to Kirk Y for the help.
Great job, simple and working. From BAD I could have FAIR for all my pages even having the HEAVY unicode character set like Armenian.

I would suggest you to releas this as a mod "Limiting Number of threads and posts per Stlye"
Reply With Quote
  #199  
Old 03-07-2008, 10:13 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wouldn;t be too concerned with the http://ready.mobi ratings - simply changing your DOC TYPE can take you up 2 full points!

This style has been tested by many people on many devices and seems to do its job well. If you actually have a mobi domain name and require compliance, let me know - I think the tweaks are in this thread somewhere on how to get a 5/5 on ready.mobi
Reply With Quote
  #200  
Old 03-08-2008, 07:56 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice style
Reply With Quote
  #201  
Old 03-09-2008, 07:23 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dartho, if you need here I put your great style translated in spanish ok.

Only please help me to put the top Tittle of my forum centered and with bold, maybe will take a nice look with this little modification.

Thank you again!
Reply With Quote
Reply


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 08:24 PM.


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.06798 seconds
  • Memory Usage 2,322KB
  • Queries Executed 27 (?)
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_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_postinfo_query
  • fetch_postinfo
  • 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