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)

dartho 02-25-2009 02:16 AM

First, install the latest version - updated today - overwriting existing (whilst looking at this I noticed a possibly HTML injection vulerability)
Set Mobile post text to be "UA"
Edit Mobile Device Post Footer and Mobile Device Thread Footer plugins and change:
Code:

$vbulletin->options['mo37_post_text'] = $ua_str;
to
Code:

$vbulletin->options['mo37_post_text'] = "Wirelessly posted (" . $ua_str . ")";
or something like that :)

omanmoon.net 02-25-2009 02:27 AM

Hello

i will try,,

Thanks :)

Hornstar 02-25-2009 03:56 AM

Thanks for the update.

Derek_Trotter 02-25-2009 07:35 AM

I update, and it works perfectly on 3.8 !
Is it possible to add option to see who is online?

dartho 02-25-2009 08:45 AM

Quote:

Originally Posted by Derek_Trotter (Post 1754025)
I update, and it works perfectly on 3.8 !
Is it possible to add option to see who is online?

You can choose to enable the "What's Going On" box in forum home which will show you who is online.

Also, there is a 'mobile firendly' (although rather simple) who's online page (there's just no longer a link to it) you can manually type/click in online.php to view or possible edit the footer template to add a link?

SuperJETT 02-25-2009 09:40 AM

Thanks for the security update.

CrashPush 02-26-2009 01:40 AM

Quote:

Originally Posted by dartho (Post 1753840)
First, install the latest version - updated today - overwriting existing (whilst looking at this I noticed a possibly HTML injection vulerability)
Set Mobile post text to be "UA"
Edit Mobile Device Post Footer and Mobile Device Thread Footer plugins and change:
Code:

$vbulletin->options['mo37_post_text'] = $ua_str;
to
Code:

$vbulletin->options['mo37_post_text'] = "Wirelessly posted (" . $ua_str . ")";
or something like that :)

Perfect again! Thanks very much for your help.

But one more thing. The update changed the code somewhat and I can't figure out how to make the UA post look like this:

Code:

Wirelessly posted (BlackBerry8300/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102)

With the original post/message here.


dartho 02-26-2009 01:53 AM

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

rowitech 03-01-2009 10:40 AM

Could you please give me a hint how to install it? It's some days ago since I installed it :sorry:.
Best regards
Rolf

dartho 03-01-2009 08:45 PM

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


All times are GMT. The time now is 09:54 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.01436 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (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