Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Extend and Customise "Mobile" Style Options Details »
Extend and Customise "Mobile" Style Options
Mod Version: 0.0.10b, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Mar 2022 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.2 Rating: (20 votes - 4.85 average) Installs: 409
Released: 17 Jun 2008 Last Update: 25 Feb 2009 Downloads: 1910
Supported Uses Plugins Is in Beta Stage  

This is an add-on for (and thus requires) the Mobile, Cell, Phone, PDA, iPhone Style.

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
  • More as suggested ....

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
0.0.1
Initial Release
0.0.2
Can't remember what change I made
0.0.3
Added ability to Hide mobile style from style chooser
Fixed bug in display 'Posted by..' message
0.0.10
Synchonised the version number to be the same as the Mobile style version
Added ability to customise link names
Added option to append USERAGENT string to new posts
YOU WILL NEED TO UPDATE TO VERSION 0.0.10 OF THE MOBILE STYLE
0.0.10a
Added section where you can input PHP code to disable some add-ons which you do not wish to run under the mobile style.
0.0.10b
Fixed possibly HTML injection vulnerability.

*This will not work with other styles - it requires Mobile, Cell, Phone, PDA, iPhone Style to be installed!

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Enhanced "Location" and "Mobile" Fields in Profile veenuisthebest vBulletin 3.6 Template Modifications 7 22 Oct 2009 20:40

  #31  
Old 22 Jul 2008, 19:37
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Right now the UserCP -> Edit Options for "Number of Posts to Show Per Page" applies to all styles.

I would like to see some customization, so for example, when a user has chosen the desktop style, they can choose to load 50 posts per page. But when they are using the mobile style, users default to loading / seeing 20 posts per page. This makes sense as they are on the go with a slower connection.

Could this mod help with that?


EDIT: nevermind, found this...

Dartho, you rock!
Reply With Quote
  #32  
Old 26 Jul 2008, 16:09
Fireproof Fireproof is offline
 
Join Date: May 2007
Getting a weird error at the bottom navbar and there's no link to switch to default style, even though I have that enabled.

It shows:

Log Out Search Array['mo37_default_link']

can you help?
Reply With Quote
  #33  
Old 26 Jul 2008, 23:23
dartho dartho is offline
 
Join Date: Sep 2005
Fireproof, could you try editing the footer template and replace $vbulletin->options['mo37_default_link'] with {$vbulletin->options['mo37_default_link']}

Thanks!
Reply With Quote
  #34  
Old 27 Jul 2008, 15:34
Fireproof Fireproof is offline
 
Join Date: May 2007
Originally Posted by dartho View Post
Fireproof, could you try editing the footer template and replace $vbulletin->options['mo37_default_link'] with {$vbulletin->options['mo37_default_link']}

Thanks!
Okay, that fixed it - my link now shows correctly. However, clicking on it appears to just refresh the index page, it doesn't switch styles. Am i the only one with this problem?


Also - Feature Request - Do you think it would be easy (or useful) to add in the Mobile Style Options the ability to append signatures when people post via mobile device?
Reply With Quote
  #35  
Old 27 Jul 2008, 22:39
dartho dartho is offline
 
Join Date: Sep 2005
Are you using the autodetect add-on? If so, links to the default style will not work as the autodetect addon overrides any user choice
Reply With Quote
  #36  
Old 28 Jul 2008, 02:18
Fireproof Fireproof is offline
 
Join Date: May 2007
Originally Posted by dartho View Post
Are you using the autodetect add-on? If so, links to the default style will not work as the autodetect addon overrides any user choice
Oh, yes, that makes perfect sense. Duh.

Thank you.
Reply With Quote
  #37  
Old 28 Jul 2008, 03:43
dartho dartho is offline
 
Join Date: Sep 2005
Thanks, Fireproof - Mobile Style updated to version 0.0.10a to fix bug you found.

I'll look at the signature thing - signatures should be in there anyway even if not displayed with in the mobile style...
Reply With Quote
  #38  
Old 01 Aug 2008, 05:38
dartho dartho is offline
 
Join Date: Sep 2005
Updated - added a new option where you can enter in PHP code to disable certain addons with in the mobile style.

Included sample code to disable MCG CHatbox and Cyb Chatbox by default. This won;t be useful for ALL addons, but will hopefully nelp with some and remove the need for manually editing plugins. If you have an addon which you want disabled in the mobile style, post a link here and I'll see if I can help.

**I have however only tested with Cybernetec Paypal Donate - works with that OK.
Reply With Quote
  #39  
Old 01 Aug 2008, 19:34
cygy2k cygy2k is offline
 
Join Date: May 2006
Would it be something that could prevent vBAdvanced modules from showing up when integrated using vBA's integration settings?
__________________
CycloneFanatic.com
Reply With Quote
  #40  
Old 01 Aug 2008, 23:33
dartho dartho is offline
 
Join Date: Sep 2005
Possibly. Integrating the forums with vBadvanced in the manner you have is not standard vbadvanced (that I know of) - if you point me in the direction of the instructions you followed to do it or PM me admincp access details as I suggested a couple weeks ago, I could look into this for you. It would likely only require some template edits.
Reply With Quote
  #41  
Old 02 Aug 2008, 04:21
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Do you include the sample code for Cybernetec Paypal Donate?
Reply With Quote
  #42  
Old 02 Aug 2008, 04:45
dartho dartho is offline
 
Join Date: Sep 2005

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #43  
Old 09 Aug 2008, 02:38
EvilJohn's Avatar
EvilJohn EvilJohn is offline
 
Join Date: Apr 2006
Real name: John
Thanks, installed
__________________
Give me a server target rich.
Gaming site.
Reply With Quote
  #44  
Old 18 Aug 2008, 23:02
EvilJohn's Avatar
EvilJohn EvilJohn is offline
 
Join Date: Apr 2006
Real name: John
My users are requesting that I remove this mod from the mobile style.
http://www.vbulletin.org/forum/showt...lbums+homepage

Any help on the phrase to add?
__________________
Give me a server target rich.
Gaming site.
Reply With Quote
  #45  
Old 19 Aug 2008, 01:47
dartho dartho is offline
 
Join Date: Sep 2005
EvilJohn - if you add the following code to teh 'Code to disable add-ons' section, it might disable it for the mobile style...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:01.

Layout Options | Width: Wide Color: