Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #102  
Old 04-16-2010, 12:35 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try to look at this today ...
Reply With Quote
  #103  
Old 04-16-2010, 01:12 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - I just upgraded to 4.0.3 and have not encountered any problems. I uninstalled, reinstalled and uninstalled and reinstalled again - no errors anywhere along the way....

I checked the DB before and after installs / uninstalls and columns were added/dropped as expected.

I'm upping a new version anyway (1.0.3) which is just the version that happened to be installed on my dev site. It doesn't have any new functionality, it's just a reality check I guess.
Reply With Quote
  #104  
Old 04-16-2010, 07:25 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still the same problem for me i cannot install v1.03 nor could I 1.02
Reply With Quote
  #105  
Old 04-18-2010, 05:01 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dartho.

I installed the mobile style and this add on.
everything seems to be working just fine except the "Home" text at the top.
the link works. but instead of the text "Home" (or anything i specify), I get:
"{$vbulletin->options['mo37_home_link_text']}"

btw, i have vb4.0.3 and 1.0.3 of this addon.
Reply With Quote
  #106  
Old 04-18-2010, 09:52 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah - I see the problem there. It's a bug in the style. Edit the navbar template in the mobile style and replace

Quote:
<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>
with

Quote:
<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>
Reply With Quote
  #107  
Old 04-18-2010, 02:48 PM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Ah - I see the problem there. It's a bug in the style. Edit the navbar template in the mobile style and replace



with
thanks for the quick fix.
5 star
Reply With Quote
  #108  
Old 04-26-2010, 05:22 AM
saosangmo saosangmo is offline
 
Join Date: Mar 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work on my forum. Could you check it for me http://caravanviet.com/forum
Reply With Quote
  #109  
Old 04-26-2010, 09:27 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant see the mobile style installed, so can't test anything sorry ...
Reply With Quote
  #110  
Old 04-26-2010, 01:42 PM
saosangmo saosangmo is offline
 
Join Date: Mar 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sry, I hide it from the style chooser. Now, I have enable it. Please help me.
Many thanks
Reply With Quote
  #111  
Old 04-26-2010, 03:22 PM
H_CAGE H_CAGE is offline
 
Join Date: Jan 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it , and installed the Style , and made the options

put when I open my forum from Nokia mobile , it's opened as PC ...

Notice : I deny user to change theme styles .. there is just one style..

Regards
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 07:21 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.18807 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
  • (3)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
  • (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