Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #152  
Old 05-29-2009, 12:49 AM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just posted the img link, no pic posted

A for effort though, I never thought of trying that.
Reply With Quote
  #153  
Old 05-29-2009, 01:03 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah - but it should work with BBCode though

Posted via Mobile Device
Reply With Quote
  #154  
Old 05-29-2009, 01:06 AM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS!

You're money dude. I spent almost 4 hours and you got it. <3

Only thing is, if you put an image with BBCode in, you can't use the "UA" letters to pull the info.

I guess I can live without it.
Reply With Quote
  #155  
Old 05-29-2009, 01:30 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd have to edit the Mobile Device Thread Footer and Mobile Device Post Footerplugins code and search for "[size=1][i]" and replace with " [size=1][i]" to add the image for custom text or UA ...
Reply With Quote
  #156  
Old 05-29-2009, 01:48 AM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks! I'll take a peek at it tomorrow. You've been super helpful. If I could click install 10 times I would.

I should note I'm doing this all on vb 3.8.2, so you could technically repost the product in the 3.8 section for more installs.
Reply With Quote
  #157  
Old 05-29-2009, 04:19 AM
sflmkv sflmkv is offline
 
Join Date: May 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dartho, quick question.. would you know an Image resizer that works on the iPhone? I have a custom style and I notice that it stretches images slightly off. i would like to have them resize. is there any other way you can think of doing this?
Reply With Quote
  #158  
Old 05-29-2009, 05:17 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, no I don't, but if its a case of images being wider than the screen and not scaling to how you want them, you can set a maximum image width in CSS - just add

Code:
img
{
max-width: 250px
}
to your additional CSS declaration in teh style properties and all images wider than 250px will be automatically scaled down to 250px wide...
Reply With Quote
  #159  
Old 05-30-2009, 03:25 AM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok dartho, so let's suppose I wanted to 'move' the location of the message. Here's what I mean:
FROM HERE:



TO:




Is there any easy way to do this? I know I'm asking a lot and I appreciate all your help. If it can be done, that would be amazing and exactly what I want. If it can't be done, I understand. thanks again for all your help!
Reply With Quote
  #160  
Old 05-30-2009, 04:34 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so that's in the subject section? I'd have to spend a bit of time on that - it's not a 'simple edit'
Reply With Quote
  #161  
Old 05-30-2009, 01:14 PM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that's what I thought :/

Well thanks for all the help!
Reply With Quote
Reply

Thread Tools

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:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14674 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
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
  • (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_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