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)

jiffylb1 03-03-2009 02:13 AM

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

dartho 03-03-2009 07:58 PM

I can see both Reply and New Thread links (as a guest)...

rowitech 03-04-2009 06:11 PM

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

Quote:

Originally Posted by dartho (Post 1757902)
  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


yeku 03-07-2009 10:45 PM

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

dartho 03-09-2009 04:58 AM

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)

edytwinky 03-09-2009 07:06 AM

How would I go about disabling VBmoods?

dartho 03-09-2009 10:15 AM

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;

edytwinky 03-09-2009 05:35 PM

I'm sorry, I should have been specific. I meant this one:
vMoods aka Mood Manager: https://vborg.vbsupport.ru/showthread.php?t=178020

rcadden 03-09-2009 05:57 PM

Quote:

Originally Posted by dartho (Post 1754836)
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)

dartho 03-09-2009 09:23 PM

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']; 


dartho 03-09-2009 09:25 PM

Quote:

Originally Posted by edytwinky (Post 1764210)
I'm sorry, I should have been specific. I meant this one:
vMoods aka Mood Manager: https://vborg.vbsupport.ru/showthread.php?t=178020

$vbulletin->options['vmoods_active']=0; should do it

Fungsten 03-10-2009 05:14 PM

Quote:

Originally Posted by jiffylb1 (Post 1758964)
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

Same here.

yeku 03-10-2009 06:35 PM

Quote:

Originally Posted by dartho (Post 1763773)
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)

Sorry, No, I do not want to be active

thank

ArnyVee 03-13-2009 02:07 AM

I just had someone test out the site from their Blackberry and they couldn't display the vBadvanced homepage on www.WaltDisneyBoards.com

Is there something special that needs to be done in order to display the 'home' page correctly? Any help would be appreciated. :up:

Biker_GA 03-18-2009 05:53 PM

I disabled the ability for mobile devices going to the portal page because it doesn't render well on some devices. Dartho posted some code here that allows you to skip the portal page. Make sure you modify the code for your site parameters.

The Dawg 03-25-2009 01:55 PM

Great mod. * Installed *

Can you tell me the code to disable the Cyb Advanced Forum Stats in the mobile version?

Thanks

Lynne 03-25-2009 02:16 PM

Quote:

Originally Posted by The Dawg (Post 1776673)
Great mod. * Installed *

Can you tell me the code to disable the Cyb Advanced Forum Stats in the mobile version?

Thanks

It's whatever option name is used to turn the plugin on in the options page. Just look in the page source and you'll see the option name.

dartho 03-26-2009 04:28 AM

Yep - as Lynne mentioned, you can check the source for most add-ons if they have a 'enable / disable' option to work it out.

In the case of Cyb Advanced Forum Stats, you'd use:

Code:

// disable Cyb Advanced Forum Stats
$vbulletin->options['cybtopstats_enable_global'] = 0;

to try and disable it with in the mobile style.

Glynn58 03-29-2009 11:15 AM

Just installed this dont know how i missed it before but its a great add-on

Thanks

omanmoon.net 03-31-2009 07:24 AM

Hello

firest thanks for add-on

but i have a qutsion

why it's not work with Sony Erecson Phone?

there is way to do that?

Thanks

dartho 03-31-2009 10:05 AM

Neither this addon (or the style it 'extends') have any phone dependencies. Your issue lies elsewhere ...

cory_booth 05-13-2009 12:58 PM

Any idea how to disable a specific CMPS module?
I have a flash slide show player as a module....
I have tried:
$vbulletin->options['collapseobj_module_89_enable']=0;
$vbulletin->options['module_89_enable']=0;

dartho 05-13-2009 10:16 PM

Sorry - no idea. It may be worth asking on the vbadvanced site?

BlueChipEarth 05-27-2009 02:34 PM

I was going to ask if there is a way to make moderators not see the mobile style because a client of ours needs to be able to moderate from his blackberry.

This mod will take care of that because now he can just switch to the normal view and moderate as he always did before!

Thanks, great mod!

Installed!

abrecher 05-28-2009 08:45 PM

Users are directed to a custom CMS I have running on index.php on my site. How can I force the mobile users to go to forum.php ?

Fastbird 05-28-2009 10:32 PM

Is there any way to reduce the information that the UA string pulls from the browser? There's a ton of info in there I could care less for.

dartho 05-28-2009 10:34 PM

@abrecher - is your custom CMS integrtaed with vB ? If so, check for the $styleid and if it is your mobile style, redirect them to forum.php

dartho 05-28-2009 10:39 PM

Fastbird - the UA string just pulls the User Agent string as passed by the browser - you could change the plugin to modify this string and truncate it or something

Fastbird 05-28-2009 11:40 PM

Thanks for the fast reply, my next question is how can you insert an image file into the message?

I've been trying like crazy for the last 2 hours but my knowledge of PHP blows and I just cant get it.

Any helps?

Edit: I want to put a little cell phone image into the "Posted via Mobile Device" message. I can't seem to figure out the code to accomplish this. :/

dartho 05-29-2009 12:31 AM

In teh vbulletin options screen where you get to type in what you want to have dispalyed, insert an image tag eg. (not tested)
Code:

<img src="mobile.png" border="0" alt="Posted via Mobile" />Posted via Mobile Device

Fastbird 05-29-2009 12:49 AM

Just posted the img link, no pic posted :(

A for effort though, I never thought of trying that.

dartho 05-29-2009 01:03 AM

Ah - but it should work with BBCode though

https://vborg.vbsupport.ru/Posted via Mobile Device

Fastbird 05-29-2009 01:06 AM

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.

dartho 05-29-2009 01:30 AM

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 "http://domain.com/path/to/phone.png [size=1][i]" to add the image for custom text or UA ...

Fastbird 05-29-2009 01:48 AM

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. :)

sflmkv 05-29-2009 04:19 AM

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?

dartho 05-29-2009 05:17 AM

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

Fastbird 05-30-2009 03:25 AM

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

http://armorysound.com/mobile_1.gif

TO:

http://armorysound.com/mobile_2.gif


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!

dartho 05-30-2009 04:34 AM

so that's in the subject section? I'd have to spend a bit of time on that - it's not a 'simple edit'

Fastbird 05-30-2009 01:14 PM

Yeah that's what I thought :/

Well thanks for all the help! :)


All times are GMT. The time now is 08:17 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.01472 seconds
  • Memory Usage 1,832KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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