vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Extend and Customise "Mobile" Style Options (https://vborg.vbsupport.ru/showthread.php?t=182692)

dartho 06-16-2008 10:00 PM

Extend and Customise "Mobile" Style Options
 
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!

AliMadkour 06-17-2008 01:50 AM

Thanks ,
But I want Hide Mobile Style , I meant if the member login from PC he can't use mobile style and Contrarily

dartho 06-17-2008 02:26 AM

You can already do that.

Install your mobile style of choice and make sure that it is checked as user selectable.
Set your vbulletin options so that the user can not change styles.
Install and configure the Mobile Autodetect add-on which forces detected mobile users to the mobile style specified .

This however will not work if you have multiple styles which you allow your users to select - its all or nothing

AliMadkour 06-17-2008 02:47 AM

Quote:

Originally Posted by dartho (Post 1551287)
You can already do that.

Install your mobile style of choice and make sure that it is checked as user selectable.
Set your vbulletin options so that the user can not change styles.
Install and configure the Mobile Autodetect add-on which forces detected mobile users to the mobile style specified .

This however will not work if you have multiple styles which you allow your users to select - its all or nothing

Thanks I 'll try that ,
but if i have more that style !!

dartho 06-17-2008 02:49 AM

I'll look into a way to hide a style form the style chooser, but can't promise anything

tekguru 06-17-2008 04:23 PM

Installed!

Hornstar 06-17-2008 08:14 PM

Thanks, this is great now!

Amiga Harrison 06-17-2008 09:10 PM

Thank you for this. This adds most of the bits I wanted to change about the mobile style. :)

A couple of additional things I would like to see added are:

* Ability to change the title of the style from "*** Forum Mobile" to something else. For example I am not using the mobile skin for use on mobile devices, but instead as a lightweight skin for users accessing the forum on old Commodore Amiga computers.

* Ability to change the name of the default skin link "PC Link" that can be added to the mobile skin via this mod. I would like the ability to change this to something such as "Back to full forum" or something similar.

* The ability to add additional links in the footer of the skin. For example, as I'm using the auto redirect mod for the mobile skin I would like to add a link in the footer that links back to the other domain for the main forum style.

callumbush 06-17-2008 10:50 PM

Hi Dartho

Haven't installed this yet, will soon :)
Does it provide an option to remove the vBulletin branding from the style template? ..Would make updating the style a much more enjoyable experience ;)

dartho 06-17-2008 11:02 PM

No sorry, it doesn't - yet.


All times are GMT. The time now is 03:09 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.02639 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete