Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Mobile Style Options 4.0 Details »»
Mobile Style Options 4.0
Version: 1.0.4, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.3 Rating:
Released: 11-27-2009 Last Update: 05-22-2010 Installs: 330
Supported Uses Plugins Auto-Templates
Is in Beta Stage  

This is an add-on for the 4.0 version of my Mobile style. If you do not have this style installed, it is of no use to you!

It adds options to your vBulletin Options for customizing:
  • Optionally adds links to default style (in footer or navbar)
  • Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised)
  • Optionally display "What's Going On" box in forum home
  • Optionally display Style Chooser in footer
  • Set 'Home' link URL (rather than editing templates)
  • Can hide mobile style from Style Chooser

Install the latest Mobile style (should have same version number as this addon, but may have a different alpha char on end of version number)

Install this add-on and set your options

Version History
1.0.1 - Initial Release port from 3.x
1.0.2 - Fixed up 'Posted via Mobile' options
You can modify how the message displays by editing the "posted_by_mobile_device" template, you could even edit the hook location and have it display above the post
1.0.3 - Reality check for this with issues, no new functionality
1.0.4 - small install change which should stop timeouts on sites with large post tables

Download Now

File Type: xml product-moboptions40.xml (9.7 KB, 658 views)
File Type: xml product-moboptions40-1.0.2a.xml (11.1 KB, 454 views)
File Type: xml product-moboptions40-1.0.3.xml (12.3 KB, 211 views)
File Type: xml product-moboptions40-1.0.4.xml (12.2 KB, 993 views)

Show Your Support

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

Comments
  #22  
Old 01-04-2010, 04:49 PM
Boots Boots is offline
 
Join Date: Dec 2004
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking forward to an update.
Reply With Quote
  #23  
Old 01-06-2010, 04:11 AM
mobiledesign mobiledesign is offline
 
Join Date: Oct 2009
Location: Tokyo, Houston
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested it in Japan on 3 carriers and there were no changes.

I noticed in your php array:

$mobilebrowsers = array(
"320x240",

These are the majority sizes in Japan so it should work, i thought. but it did not.
The top part that shows a problem is the "register", "help", "User login info" and the "search" part are all overlapping the top part of the device view. Everything else is ok. Design-wise, red!?

So I added the devices we use in Japan:

"panasonic"
"docomo"
"softbank"
"sony"
"samsung"
"panasonic"
"sanyo"
"sharp"
"vodafone"
"casio"
"au-mic"


and now i can see the mobile version on my Casio in Japan, BUT i see an error in both the mobile device and my PC site:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/USER/public_html/forum/includes/class_bootstrap.php(748) : eval()'d code on line 75

Is there a way that you can fix this?
Thank you
Reply With Quote
  #24  
Old 01-06-2010, 11:01 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This add-on adds a few options to my mobile style. It has no style or detection options itself. You don;t even have this add-on marked as "Installed"

Now assuming the issues lay with the Mobile Device Detection addonWhere did you add the list of devices above to the "Custom/User Defined Useragent String" section? If so, you should add them comma seperate with no quotes. eg panasonic,docomo,softbank,sony,samsung,panasonic,s anyo,sharp,vodafone,casio,au-mic

if the "Red?" comment is to do with my Mobile style - I don't recall actually using red?

I'm happy to help where I can - but it is easiest for me to do so when questions etc are placed against the actual addon causing the issue. Thanks
Reply With Quote
  #25  
Old 01-06-2010, 03:05 PM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Have you installed https://vborg.vbsupport.ru/showthread.php?t=173239 and do you have the style set as User Selectable?
Yes I have that installed, but still no luck with the Pre.
Reply With Quote
  #26  
Old 01-15-2010, 02:49 PM
mobiledesign mobiledesign is offline
 
Join Date: Oct 2009
Location: Tokyo, Houston
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, im forcing them to use a particular style. perhaps the problem.

Also using the "Mobile Device Detection".

Ill clear the style forcing and see what happens. Thank you for your reply to this.




Quote:
Originally Posted by dartho View Post
This add-on adds a few options to my mobile style. It has no style or detection options itself. You don;t even have this add-on marked as "Installed"

Now assuming the issues lay with the Mobile Device Detection addonWhere did you add the list of devices above to the "Custom/User Defined Useragent String" section? If so, you should add them comma seperate with no quotes. eg panasonic,docomo,softbank,sony,samsung,panasonic,s anyo,sharp,vodafone,casio,au-mic

if the "Red?" comment is to do with my Mobile style - I don't recall actually using red?

I'm happy to help where I can - but it is easiest for me to do so when questions etc are placed against the actual addon causing the issue. Thanks
Reply With Quote
  #27  
Old 01-16-2010, 04:10 AM
ngkong ngkong is offline
 
Join Date: May 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

since the style doesnt work for CMS, is there a way to redirect mobile user to forum instead of CMS when accessing vbull root? thanks
Reply With Quote
  #28  
Old 02-04-2010, 03:40 PM
tweakmonkey tweakmonkey is offline
 
Join Date: Jul 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also not seeing the "posted by mobile" text anymore (4.0.1) , but thanks again.
Reply With Quote
  #29  
Old 02-04-2010, 10:22 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ngkong View Post
since the style doesnt work for CMS, is there a way to redirect mobile user to forum instead of CMS when accessing vbull root? thanks
See here: https://vborg.vbsupport.ru/showthrea...17#post1962817
Reply With Quote
  #30  
Old 02-04-2010, 10:23 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tweakmonkey View Post
Also not seeing the "posted by mobile" text anymore (4.0.1) , but thanks again.
I know - I have to re-implement that, I have the code ready to go,it's just a matter of putting it in and releasing... I may release as a seperate mod and remove from this one actually as it has relevance to others also ...
Reply With Quote
  #31  
Old 02-06-2010, 10:03 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking forward to the posted by mobile thing too
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 03:23 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.06018 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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
  • (4)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete