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
  #62  
Old 08-24-2008, 09:35 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okies.

Our Blackberry users, are fine.

Says Posted From Mobile in their posts...

IPhone users, doesnt say anything ( apologies if im a bit thick lol )

What do I need to do, to amend this please?
Reply With Quote
  #63  
Old 08-25-2008, 09:09 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - you use different styles for blackberry and iPhone users. A little plugin editing should be able to work around this.

edit both the Mobile Device Thread Footer and Mobile Device Post Footer plugins and change
Code:
if (($styleid==$vbulletin->options['mo37_mobile_style']) && ($vbulletin->options['mo37_post_text'] != ''))
to
Code:
if (($styleid==xx)||($styleid==$vbulletin->options['mo37_mobile_style']) && ($vbulletin->options['mo37_post_text'] != ''))
where xx is the styleid number of your other mobile style - keep adding more ($styleid==xx)|| if needed...

(untested )
Reply With Quote
  #64  
Old 08-27-2008, 07:12 PM
omanmoon.net omanmoon.net is offline
 
Join Date: Apr 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finaly it's work
after upgrade to 3.7.3
Done ^^
thanks
Reply With Quote
  #65  
Old 08-31-2008, 10:30 AM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is there any way to only allow certain user groups use a mobile style? I understand we can hide it from the list but it's still user selectable.

3.5 ver https://vborg.vbsupport.ru/showthread.php?t=95910

thanks
Reply With Quote
  #66  
Old 09-02-2008, 08:07 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Punchbowl - Have you tried that product? Posts in the thread say it works with 3.7.2 ...
Reply With Quote
  #67  
Old 09-06-2008, 06:41 AM
Ransack Ransack is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the "Mobile post text" attached to the bottom of my posts. But I don't see "Mobile Style Page Title?" anywhere nor do I see the link from "Add a link to the default style?" whether I set header or footer.

Thanks for the tip on Replacement Variables though, at least I can see images on my iPhone now.
Reply With Quote
  #68  
Old 09-06-2008, 11:09 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you let me know your site (PM if you don;t want public) so I can have a look?
Reply With Quote
  #69  
Old 09-06-2008, 06:25 PM
Ransack Ransack is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
Can you let me know your site (PM if you don;t want public) so I can have a look?
Sorry I'm thick. I was using this with the Mobile Device Detection plugin which was using the wrong style. I have since disbled the Mobile Device Detection plugin altogether and now use only this plguin. Added a link called "PDA" to my default navbar to "index.php?styleid=X" (X is this style id)

Note I'm running 3.6.x so it complains on install, need to check the ignore version box, it works fine for me on this older version.

Fantastic plugin/style. I've struggled with various mobile skins / plugins and never found one that worked the way I wanted until now.

I did still tweak the replacement variables so I can view images in mobile mode and tweaked some threadbit templates to add "New" before threads with new posts and indent the "by: user" line below the thread title.

Oh and thanks for the quick response here too.

Marking installed. Highest rating. Great job.
Reply With Quote
  #70  
Old 09-07-2008, 07:14 AM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working, thanks dude.-
Reply With Quote
  #71  
Old 09-15-2008, 10:14 PM
CrashPush's Avatar
CrashPush CrashPush is offline
 
Join Date: Feb 2007
Location: New York
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working but I'm not quite pleased how it looks.

It looks like this:
==========================
Test post.
Wirelessly posted (BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102)
==========================

But I want it to look like this, with the UA on top and a space before the actual post:
==========================
Wirelessly posted (BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102)

Test post.
==========================

How can I achieve this look?
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 10:15 AM.


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.05358 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)bbcode_code
  • (1)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_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