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
  #172  
Old 11-24-2010, 01:38 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to cache the posted_by_mobile_device template?
Reply With Quote
  #173  
Old 12-04-2010, 06:15 PM
woodburyMan woodburyMan is offline
 
Join Date: Jun 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an odd issue. I had this installed in vBull 4.0.5 with the skin. Upgraded to 4.1.0 PL1 two days ago, and installed the linked "Lightweight Mobile" skin and removed the old skin. Went to uninstall this... and when I did.. for some reason I kept getting a SQL error whenever any user went to reply to post. Sorry I do not have the exact message on hand right now as I was in a rust to get it fixed for users... but it was something like invalid field or something, SQL error. Ran around for a bit.. finnally just reinstalled this plugin.. and posting was fixed. Any ideas? I saw 4.1.0PL2 has some fixes for plugins, this relateD?
Reply With Quote
  #174  
Old 12-04-2010, 08:42 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you read the notes section when installing the lightweight style options?

Easiest fix is to uninstall both, and then reinstall the one you want.
Reply With Quote
  #175  
Old 12-19-2010, 05:15 PM
barakuda barakuda is offline
 
Join Date: Dec 2006
Location: Indonesia
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

why i can't uninstall this moboption ,every time i click uninstall i got blank admin panel and receive this error message "
PHP Code:
Database error in vBulletin 4.1.0:

Invalid SQL:
ALTER TABLE `postDROP `mobile`;

MySQL Error   Can't DROP 'mobile'; check that column/key exists
Error Number  : 1091
Request Date  : Sunday, December 19th 2010 @ 10:10:40 PM
Error Date    : Sunday, December 19th 2010 @ 10:10:40 PM
Script        : http://www.xxxxx.com/admincp/plugin.php?do=productkill
Referrer      : http://www.xxxxk.com/admincp/plugin.php?do=productdelete&productid=moboptions40&s=
IP Address    : 
Username      : admin
Classname     : vB_Database
MySQL Version : 5.0.91-community 
Reply With Quote
  #176  
Old 12-19-2010, 08:41 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go into product manager, edit the product, tyen remove teh uninstall code, save and try uninstall again
Reply With Quote
  #177  
Old 12-21-2010, 03:26 PM
barakuda barakuda is offline
 
Join Date: Dec 2006
Location: Indonesia
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Go into product manager, edit the product, tyen remove teh uninstall code, save and try uninstall again
Oke thank you
Reply With Quote
  #178  
Old 01-18-2011, 09:09 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Do you have your default style configured as your mobile style in the mobile options?

BTW - been looking at the Posted by Mobile Device thing - this look OK - if you float over the "Posted By Mobile Device" text, it shows user agent as shown in the attached

Attachment 111852

It now stores info in the DB as opposed to just appending text to the post as in previous versions. It still only kicks in if people are using the mobile style
I just noticed ALL my posts seem to have "posted by mobile deice" showing up, but I know dang well they are not... most of mine are via Chrome for Mac. The mobile style is not the default, nor is it what I have set.

Is there something that can fix this so it only shows if its actually a mobile device actually using the mobile style?

I have the latest version installed.
Reply With Quote
  #179  
Old 02-05-2011, 10:20 AM
harmon_bro harmon_bro is offline
 
Join Date: Jul 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dartho. Ian totally new to this and would need some help on installing the styles for my forum that runs on vbulletin 4.0.5. I did try installing the same but the one that states for vb4.x web I tried uploding the XML it alerted me stating that it was made for version 4.0.6 and I could not go to next step
Reply With Quote
  #180  
Old 02-05-2011, 08:15 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

choose to ignore style versions when importing a style
Reply With Quote
  #181  
Old 06-08-2011, 10:50 AM
Gripi Gripi is offline
 
Join Date: Jul 2009
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello...

i saw that all sticky thread in my forum got a line in the middle of text:



how to remove that line in the text ?

thanks alot
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 03:18 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.08708 seconds
  • Memory Usage 2,339KB
  • 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
  • (1)bbcode_php
  • (2)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
  • (3)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