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)

unicorn2433 11-11-2008 01:50 PM

do I do this through products or through styles?

dartho 11-11-2008 08:12 PM

this is a product which allows customisation (without template edits) of this style.

omanmoon.net 11-22-2008 06:02 AM

mmmmm
now it's not work after upgrade to 3.7.4 PL1

after sign in the page change to white color only !!

before logged in the forum showing no problem ! @_@

caliman 11-28-2008 01:56 PM

I cannot find these plugins: newreply_post_start and newthread_post_start

I have this mod, mobile style and detection installed. All are working properly. Can someone tell me where to find them?

Quote:

Originally Posted by dartho (Post 1578113)
Most of the options would not be compatible with other styles as my Mobile style is coded with this in mind. Which aspects did you wish to apply to your other mobile style?

Edit: Sorry - I jest re-read your post. You could do this by manually editing 2 plugins newreply_post_start and newthread_post_start

Change the code from
Code:

if (($styleid==$vbulletin->options['mo37_mobile_style']) && ($vbulletin->options['mo37_post_text'] != '')){
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n".$vbulletin->options['mo37_post_text']."\n";
}

to

Code:

if (($styleid==$vbulletin->options['mo37_mobile_style']) && ($vbulletin->options['mo37_post_text'] != '')){
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n".$vbulletin->options['mo37_post_text']."\n";
}
if ($styleid==XX) {
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n". "Posted via iPhone" ."\n";
}

Change the XX to be the style ID of your iPhone style and "Posted via iPhone" to what ever message you want, or $vbulletin->options['mo37_post_text'] if you want the same message applied as from other mobile devices


caliman 12-02-2008 06:05 AM

How do I change 'Posted via Mobile Device' to 'Posted via iPhone,' 'Posted via Blackberry,' etc.?

dartho 12-02-2008 06:48 AM

delete the text in this field in AdminCP (which in effect disables it) and install THIS add-on

caliman 12-02-2008 06:55 AM

Quote:

Originally Posted by dartho (Post 1676895)
delete the text in this field in AdminCP (which in effect disables it) and install THIS add-on


Thanks a lot!

Quote:

Originally Posted by caliman (Post 1674554)
I cannot find these plugins: newreply_post_start and newthread_post_start

I have this mod, mobile style and detection installed. All are working properly. Can someone tell me where to find them?

Found them.

viper357 12-27-2008 07:44 PM

Installed and working perfectly on 3.6.12

Thanks for the good work.

serpents.guild 01-06-2009 03:51 AM

First I want to thank you for this awesome config addon ... Got this working beautifully @ wap.serpents-guild.com

I was just wondering if you had any further info about disabling addons within the mobile options ... I've added several to teh main page but I just want to clean up the output ... no need for the mobile browser to load wowhead/wardb mouseover scripts and image resizer scripts :)

dartho 01-06-2009 03:56 AM

That depends a lot on the addon and how it's implemented. WHich addon's are you using - if you point me at them I can likely work out how to disable them for the mobile style...


All times are GMT. The time now is 05: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.01293 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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