Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extend and Customise "Mobile" Style Options Details »»
Extend and Customise "Mobile" Style Options
Version: 0.0.10b, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.2 Rating:
Released: 06-16-2008 Last Update: 02-24-2009 Installs: 410
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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 03-03-2009, 02:13 AM
jiffylb1's Avatar
jiffylb1 jiffylb1 is offline
 
Join Date: Aug 2006
Location: clearwater
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after uploading new 3.8.1 the reply button is gone in the mobile verison for us on www.clearwaterbiker.biz what can we do to fix it such a popular mod
Reply With Quote
  #123  
Old 03-03-2009, 07:58 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see both Reply and New Thread links (as a guest)...
Reply With Quote
  #124  
Old 03-04-2009, 06:11 PM
rowitech rowitech is offline
 
Join Date: Jul 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up: Thank you very much, works like a charm!

Quote:
Originally Posted by dartho View Post
  1. Save the product-moboptions37-0.0.10b.xml file to your local computer
  2. Go into your sites AdminCP
  3. Navigate the Product Manager in the Plugins and Products section
  4. At the end of that page (in the right pane) click on the [Add/Import Product] link
  5. In the Import Product screen, click the Browse button and then locate and open where you save the XML file
  6. Click the Yes radio control in the Allow Overwrite option
  7. Click the Import button

I think that's about it - you should now have a new section in vBulletin Options called Mobile Style Options where you can set and modify options
Reply With Quote
  #125  
Old 03-07-2009, 10:45 PM
yeku yeku is offline
 
Join Date: May 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

You can tell me how to turn off MGC_Chatbox_v1.5 will not appear on the style for the mobile

Quote:
//Disables MGC Chatbox
$vbulletin->options['mgc_cb_evo_active']=0;
//Disables Cyb Chatbox
$vbulletin->options['cybchatbox_enable_product']=0;
thx
Reply With Quote
  #126  
Old 03-09-2009, 04:58 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean you *want* the chatbox to show?

delete those lines you quoted above (or add a double slash ( "//" ) to the start of the each line)
Reply With Quote
  #127  
Old 03-09-2009, 07:06 AM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I go about disabling VBmoods?
Reply With Quote
  #128  
Old 03-09-2009, 10:15 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean this one https://vborg.vbsupport.ru/showthread.php?t=41883

I can;t even download that to look at it?!

Edit:

Maybe try ading
Code:
$vbulletin->options['vmoods_active']=0;
Reply With Quote
  #129  
Old 03-09-2009, 05:35 PM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, I should have been specific. I meant this one:
vMoods aka Mood Manager: https://vborg.vbsupport.ru/showthread.php?t=178020
Reply With Quote
  #130  
Old 03-09-2009, 05:57 PM
rcadden rcadden is offline
 
Join Date: Sep 2008
Location: Texas
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
ah - try soemthing like this:

change
PHP Code:
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n""[size=1][i]" $vbulletin->options['mo37_post_text']. "[/i][/size]" "\n"
to
PHP Code:
$vbulletin->GPC['message'] = "[size=1][i]" .  $vbulletin->options['mo37_post_text'] . "\n" . ."\n" "[/i][/size]" $vbulletin->GPC['message']; 
in the same 2 plugins as before
You've got that slightly wrong. Replace it with this:

PHP Code:
$vbulletin->GPC['message'] = "[size=1][i]" .  $vbulletin->options['mo37_post_text'] . "\n""[/i][/size]" $vbulletin->GPC['message']; 
(The correction being yours had an extra . "/n" that threw up an error.)

How can I get it to skip a line between the UA and the person's post, though (I'm still learning this stuff)

For a sample, you can check out www.symbian-guru.com/forum from your phone (using the auto-detect plugin, too)
Reply With Quote
  #131  
Old 03-09-2009, 09:23 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

with an extra "\n" - I actually had an extra ".", not an extra "\n"

Try:

PHP Code:
$vbulletin->GPC['message'] = "[size=1][i]" .  $vbulletin->options['mo37_post_text'] . "\n" "\n" "[/i][/size]" $vbulletin->GPC['message']; 
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 06:28 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.04933 seconds
  • Memory Usage 2,324KB
  • Queries Executed 27 (?)
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_code
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete