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)

sflmkv 05-31-2009 08:09 PM

Quote:

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

the only problem with that is every image including buttons are using the img tag and they resize along. How can I define it only within posts per say? Thanks.

rrudeboy 06-04-2009 01:46 AM

@ dartho: before the "posted from mobile device" i want at least 1 and maybe 2 line breaks, tried some code but does not seem to work, where can i edit that ?

(ps. the gal with the Curve resolved the issue on her side... un- and re-installed the browser, so everybody's happy.. tks.)

dartho 06-04-2009 02:02 AM

Edit the Mobile Device Thread Footer and Mobile Device Post Footer plugins and replace "\n". "[size=1][i]" with "\n\n\n". "[size=1][i]" (hint: \n = new line)

Good to hear curvy girl all sorted :)

rrudeboy 06-04-2009 02:09 AM

Quote:

Originally Posted by dartho (Post 1823084)
Edit the Mobile Device Thread Footer and Mobile Device Post Footer plugins and replace "\n". "[size=1][i]" with "\n\n\n". "[size=1][i]" (hint: \n = new line)

yea, found the earlier post where you mention this, but i'm not sure where to find Mobile Device Thread Footer and Mobile Device Post Footer plugins..

Quote:

Originally Posted by dartho
Good to hear curvy girl all sorted :)

whahahaha... yea, me too :}

sflmkv 06-04-2009 09:30 PM

dartho any ideas on what I asked?

dartho 06-05-2009 04:47 AM

no, no other suggestion sflmkv. The max-width CSS tag will only change a width if it is greater than the specified width (250px in the example above) - all others won't be touched. A button is only about 100px and wouldn't be affected.

Rudeboy - you'll find the plugins that need editing in your AdminCP, "Plugins and Products", "Plugin Manager"

rrudeboy 06-05-2009 11:15 AM

Quote:

Originally Posted by dartho (Post 1823737)
*NSIP*
Rudeboy - you'll find the plugins that need editing in your AdminCP, "Plugins and Products", "Plugin Manager"

awesome dartho.... thanks once again. https://vborg.vbsupport.ru/external/2011/01/19.gif

davem 07-11-2009 04:14 PM

Quote:

Originally Posted by dartho (Post 1585643)
I'll look at the signature thing - signatures should be in there anyway even if not displayed with in the mobile style...

Great stuff dartho - clicked "installed" on DDDS, Mobile style and this add-on. I've quoted post #37 of this thread above. Did you ever find a way to show the user's signature when posting from a mobile device?

Thanks,
Dave

Quantnet 07-23-2009 11:49 PM

Quote:

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

this took me a bit to find out the code is not correct, it should be
Code:

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

You left an extra ) which cause an error message

ctimes 07-24-2009 03:56 PM

Quote:

Originally Posted by Quantnet.org (Post 1854402)
this took me a bit to find out the code is not correct, it should be
Code:

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

You left an extra ) which cause an error message

Tried both of these options and I am still getting the Top Stats when using a mobile device for some reason. Any other ideas?


All times are GMT. The time now is 11:02 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.01525 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
  • (4)bbcode_code_printable
  • (7)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