vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=237)
-   -   Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA (https://vborg.vbsupport.ru/showthread.php?t=263822)

kingbrend 04-22-2015 05:17 AM

*situation being worked out.

AnonymousHC 04-28-2015 11:45 AM

Very Basic but still nice.

kingbrend 04-28-2015 08:44 PM

**fixed

Ladillaxx 05-06-2015 09:05 PM

Hello thank you for this wonderful contribution .

I have a problem when I enable vBSEO phones does not recognize me = (

Pakblogger 07-10-2015 03:21 PM

Hi its great only one thing
I want to remove
strike through from closed threads title
But failed
Any idea?

dartho 07-10-2015 10:30 PM

edit the lightweight.css.php file, search for "text-decoration: line-through" and remove/modify to your preference.

trnim.com 08-09-2015 08:54 AM

thank you. It is great style.

Midohash 11-14-2015 05:56 PM

Thanks a lot for the great style.

Just a little problem when I add youtube link, the video looks like that:

https://vborg.vbsupport.ru/external/2015/11/45.png

Is there any way to get rid of the extra: https://?

The problem happens with post reply template but not with quick reply! :confused:

Thanks

Midohash 11-15-2015 10:09 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2200239)
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:
PHP Code:

    $dimensions         =  "_$ameinfo[zone]";
    
$ameinfo['width']     = $vbulletin->options['automediaembed_width' $dimensions];
    
$ameinfo['height']     = $vbulletin->options['automediaembed_height' $dimensions]; 

and below it Add:
PHP Code:

if ($vbulletin->userinfo['styleid'] == 38)
{
  
$ameinfo['height'] = round($ameinfo['height']/2.3);
  
$ameinfo['width']  = round($ameinfo['width']/2.3);


Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.

Tried it but still not working when surfing the forum from my mobile phone but works only when using my laptop!

How can I change /2.3 into px?

should it look like that:

$ameinfo['height'] = round($ameinfo['height']/150px);
$ameinfo['width'] = round($ameinfo['width']/200px);

Thanks

3DSJFH 08-31-2016 05:06 PM

1 Attachment(s)
Both on Chrome & Opera Mini on Android 6 & 4 The "New Thread" button gets broken up into two rows if there exists several pages of post on the forum section you view.
Anyone got some fix for that? (See attached picture for example).


All times are GMT. The time now is 11:59 AM.

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.01238 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (1)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