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)

Tralala 07-22-2008 06:37 PM

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!

Fireproof 07-26-2008 03:09 PM

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?

dartho 07-26-2008 10:23 PM

Fireproof, could you try editing the footer template and replace $vbulletin->options['mo37_default_link'] with {$vbulletin->options['mo37_default_link']}

Thanks!

Fireproof 07-27-2008 02:34 PM

Quote:

Originally Posted by dartho (Post 1584874)
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?

dartho 07-27-2008 09:39 PM

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

Fireproof 07-28-2008 01:18 AM

Quote:

Originally Posted by dartho (Post 1585507)
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. :)

dartho 07-28-2008 02:43 AM

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...

dartho 08-01-2008 04:38 AM

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.

cygy2k 08-01-2008 06:34 PM

Would it be something that could prevent vBAdvanced modules from showing up when integrated using vBA's integration settings?

dartho 08-01-2008 10:33 PM

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.


All times are GMT. The time now is 10:13 AM.

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.01663 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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