vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

FractalizeR 12-14-2010 12:25 PM

Is this compatible with 4.1 as well?

slehmann 12-14-2010 01:17 PM

anyway this would work with a 3.6 version of vb or is there to big of a gap in the versions. anything similar to this skin for 3.6.

dartho 12-14-2010 08:53 PM

Quote:

Originally Posted by thieu.bocap (Post 2133163)
How to resize image in post this style?

You could try adding a replacement variable in this style as follow:
search for: <img
replace with: <img style="max-width: 200px; max-height: 200px;"
?

Quote:

Originally Posted by FractalizeR (Post 2133723)
Is this compatible with 4.1 as well?

Yes, as far as I know

Quote:

Originally Posted by slehmann (Post 2133733)
anyway this would work with a 3.6 version of vb or is there to big of a gap in the versions. anything similar to this skin for 3.6.

Too different, I have however mostly back ported to 3.8 and will probably release that which *may* be compatible with 3.6

slehmann 12-14-2010 09:11 PM

Would be interested, I'll check back for updates.

TITAN-UZ 12-16-2010 09:20 PM

how to add thanks button

dartho 12-16-2010 10:12 PM

thanks for what?

Cyamia 12-17-2010 04:38 AM

When I try to import lightweight-vbulletin-style-1.0.1.xml in admin cp, I am getting an error message: "Invalid File Specified"

What may have happened?

Do you think I did anything wrong when I uploaded the css.php file into forum root on my server?

Thank you in advance for your help.

UPDATE: OOPSS!! I was on the wrong place: products instead of style. Everyone should be careful when doing this

TITAN-UZ 12-17-2010 06:20 AM

Quote:

Originally Posted by dartho (Post 2135040)
thanks for what?



Post thanks!

dartho 12-17-2010 06:55 AM

you're welcome!

barakuda 12-18-2010 03:59 AM

1 Attachment(s)
Quote:

Originally Posted by dartho (Post 2132560)
edit and save all of those without making any changes

how to edit,using revert or what?

for an exam picture there in red color what i must do?
thank you

dartho 12-18-2010 08:43 AM

To get that shot you've clicked [View Highlighted Changes], click the [edit template] link to edit...

barakuda 12-18-2010 03:53 PM

and then what?

thank you

dartho 12-18-2010 09:08 PM

exactly as I originally posted when you first asked:

Quote:

Originally Posted by dartho (Post 2132560)
edit and save all of those without making any changes


barakuda 12-19-2010 05:10 PM

i mean how to edit?

for example in red color "your customized value"old default value" and "new default value"
what sould i do? copy paste for new default value and replaced to your customized value?

thank you

dartho 12-19-2010 08:29 PM

Quote:

Originally Posted by dartho (Post 2132560)
edit and save all of those without making any changes

Click the [edit template] link, then click the save button without making any changes.

Rik Brown 12-23-2010 05:17 PM

Quote:

Originally Posted by pandusetiawan (Post 2102598)
Ok..will do that...thx so much for you help man :)

If you figured out how to disable the "everywhere sidebars" mod in the mobile skin, please advise the way to input that into this mod's options page.

Thanks. -- Rik

Rik Brown 12-23-2010 06:35 PM

Just installed and love this style. As a future request, I would love to have the option to tap on our logo at the top of each page and define a target url for that. In our case, we would like a tap on our logo to take us to our main mobile home page which already has links to our various mobile areas of our site.

Thanks for a great addition to vb! -- Rik

fly 12-24-2010 03:05 PM

Quote:

Originally Posted by Rik Brown (Post 2138226)
Just installed and love this style. As a future request, I would love to have the option to tap on our logo at the top of each page and define a target url for that. In our case, we would like a tap on our logo to take us to our main mobile home page which already has links to our various mobile areas of our site.

Thanks for a great addition to vb! -- Rik

That should be easy enough to do. All you'd need to do is hard code the URL in the header template (I think its header...)

Helmut71 12-26-2010 03:44 PM

does this style only suppot forum? or also cms, blogs?

TheLastSuperman 12-30-2010 03:56 AM

Quote:

Originally Posted by rughis (Post 2124814)
Great style Dartho, thank you for your work :)

I have to manage two minor issues:

1. Clicking on Message Reply button (Quote) in Lightweight Style, I obtain some <p> and other characters in the quoted message:

Example text:

Code:

<p>

       
Quote:

       
       
               
       
       

                       

                       
                               

                                        Originally Posted by wiredpath
                                       
                               

                               

    Thank you Steve</p>
<p>&nbsp;</p>
<p>As we discussed on Jira TT management system, it seems to be a bug of the product.</p>
<p>&nbsp;</p> <p>I'm going to open a bug report as soon as I can.</p>
<p>&nbsp;</p>
<p>Thank you again for your support

                       
                       

               

</p>
<p>&nbsp;</p>

2. I'm not able to resize pictures. Normally on other styles I modify the StyleVars "image_large_max", image_medium_max" and "image_small_max" and everything works fine

Do you have some ideas to solve these problems?

Thank you in advance

Same issue here! *The extra codes in the message i.e. <br />'s not the images - Dartho, please check your inbox ;).

dartho 12-30-2010 10:45 AM

I spotted that <br> and <p> html codes issue ealy on in my testing with VB4 (during beta stages maybe)?, and I couldn;t figure it out, then one of the subsequent releases made it go away so I put it down to a VB issue. It's not happening for me under 4.1.0 and hasn't since 4.0.5

dartho 12-30-2010 11:43 AM

BTW - almost got this ready for a 3.8 beta release

BadgerDog 12-31-2010 02:00 PM

1 Attachment(s)
Hi Dartho .. :)

Well, I finally took the holiday time to get around to installing both this lightweight style and also the newer lightweight style options version here:

https://vborg.vbsupport.ru/showthread.php?t=249339

I already had the older lightweight style options 1.04 installed, which was this one ...

https://vborg.vbsupport.ru/showthread.php?t=229044

I'm not sure if I should uninstall the latter? :confused:

Anyway, my real problem is the display of "sticky threads" (see pic). Any idea why some of them have their titles with the "struck out line" through them?

Thanks for your great work ... :up:

Regards,
Doug

dartho 12-31-2010 09:51 PM

closed threads etc are reprasented with a strike through - you can edit the CSS file to changet his behaviour. Search for "text-decoration: line-through;" and either delete it, or modify to suit your needs, maybe text-decoration: italic;?

BadgerDog 01-01-2011 09:53 AM

Quote:

Originally Posted by dartho (Post 2142036)
closed threads etc are reprasented with a strike through - you can edit the CSS file to changet his behaviour. Search for "text-decoration: line-through;" and either delete it, or modify to suit your needs, maybe text-decoration: italic;?

Thank you Sir.. :)

I found this reference "text-decoration: line-through;" in vbulletin.css for all styles including your lightweight one ...

Is that the one you're referring to?

Also, do I use the "Support Developer" button here to send you a PayPal payment? I think I sent you something for the previous version, but I'd like to do so with this version as well.

Regards,
Doug

Edit: Ok, I remarked out the phrase in the vbulletin.css for the lightweight style only as follows:

Quote:

.restore del {
/* Striking deleted phrases. */
/* text-decoration: line-through; */
}
However, the stickied threads shown in the pic still appear strick through?

dartho 01-01-2011 09:06 PM

You need to edit the file lightweight.css.php which was uploaded to your forum root

BadgerDog 01-01-2011 11:04 PM

Quote:

Originally Posted by dartho (Post 2142462)
You need to edit the file lightweight.css.php which was uploaded to your forum root

Doh .. :D

Give me a coffee break and you have to re-train me .. ;)

Thanks .. :)

Regards,
Doug

BadgerDog 01-02-2011 09:42 AM

1 Attachment(s)
Tested using text-decoration: italic; but threads come out looking like regular textl, however, the good news is the strike-through text is gone now which is fine for us.

Sent you a donation through PayPal for your excellent work ... :up:

Still seem to have an oddity with sticky threads not showing with word "Sticky" like they do in your demo site. (see pic). I'm not sure what the two phrases titled "Normal Threads" and "Sticky Threads" are doing isolated on their own at the top and they don't seem to be clickable as collapsible boxes etc?

Regards,
Doug

ps: I asked this under your PDA detaction thread, but I thought I'd post here as welll. I have a 56kb dial-up users who complain the site is slow for them using a regular PC and browser, so I was wondering if this mod could be adapted to recognize a 56kb dial-up user and automatically present this excellent "Lightweight Style"?

I know our Google Analytics code reads data from someplace and shows me analysis of type of connect speeds used when accessing our site, so I think it's possible?

dartho 01-02-2011 11:13 AM

G'day Doug,
My bad - italic will not work, as it is not a possible value or text-decoration. If italic is the way you want to go, try making it font-style:italic;

Looks like you have a seperate normal and sticky threads hack installed which would explain that issue - point me to the add-on and I'll have a quick look when I get a chance.

A quick check of your site shows detection is working OK (for my device at least)

As for detecting dialup visitors - that's probably a little further outside my abilities than all this other stuff I hack my way through - not sure how one would go about such things - a timer perhaps to see how fast a random image loads and take a best guess?

BadgerDog 01-02-2011 02:57 PM

Quote:

Originally Posted by dartho (Post 2142698)
G'day Doug,
My bad - italic will not work, as it is not a possible value or text-decoration. If italic is the way you want to go, try making it font-style:italic;

Tried that and they still appear as regular text subject lines. Don't worry about it as the "strike through" was what I was trying to fix and it's fine now. ;)

Quote:

Originally Posted by dartho (Post 2142698)
Looks like you have a seperate normal and sticky threads hack installed which would explain that issue - point me to the add-on and I'll have a quick look when I get a chance.

Separate Sticky and Normal Threads by pdtan

Thanks.. would be great if it worked with his, or somehow remove his mod JUST from your style.

Quote:

Originally Posted by dartho (Post 2142698)
A quick check of your site shows detection is working OK (for my device at least)

That's great .. thank you for checking .. :up:

Quote:

Originally Posted by dartho (Post 2142698)
As for detecting dialup visitors - that's probably a little further outside my abilities than all this other stuff I hack my way through - not sure how one would go about such things - a timer perhaps to see how fast a random image loads and take a best guess?

I'm not sure either, but I wonder if there's connection data that's available someplace and it's accessible, which would explain how Google is able to break out connections by speed including dial-up. :confused:

I know there are add-ons that figure out what kind of browser (ie: IE6, Firefox etc) that users are employing, so I bet it's part of that data set. No problem though. I'll perhaps post a general question in the discussion area when I get more time.

Thanks for you help ... :)

Regards,
Doug

sqzdog 01-03-2011 08:34 PM

If I missed this somewhere, I apologize. Will the style automatically show up if someone logs in from a mobile device? Or do they have to select it?

The Rocketeer 01-04-2011 08:45 AM

Quote:

Originally Posted by sqzdog (Post 2143532)
If I missed this somewhere, I apologize. Will the style automatically show up if someone logs in from a mobile device? Or do they have to select it?

^ This and also wanting to know if it works fully with the latest Vbulletin ?:confused:

dartho 01-04-2011 10:58 AM

no and yes :)

No it doesn;t autodetect mobile devices see https://vborg.vbsupport.ru/showthrea...ghlight=mobile for detection and yes it is working with the latest version of vBulletin

The Rocketeer 01-04-2011 02:57 PM

Quote:

Originally Posted by dartho (Post 2143820)
no and yes :)

No it doesn;t autodetect mobile devices see https://vborg.vbsupport.ru/showthrea...ghlight=mobile for detection and yes it is working with the latest version of vBulletin

Thanks for that, I installed it, was working fine but the "LightWeight Style Options" seems to be buggy for some reason, I couldnt geet that to work properly so I uninstalled the style for now...

Now all we need is the "Extra Options" to be fixed and so that users can change the style and vice versa. :D

daveaite 01-06-2011 03:34 AM

nice work :)

res6cue 01-07-2011 03:05 AM

Installed this morning, and my users absolutely LOVE it! Great job, especially when combined with the lsoptions and mobdetect mods! Nominated for MOTM!

PS - A suggestion would be to put a link to the mobdetect mod in the main post here, maybe under Addons with the lsoptions link. I had to read every post in this thread (not necessarily a bad thing) to find out about it, and I see people are still asking about that functionality.

Hdeaf.com 01-09-2011 09:28 AM

Whoa, very slick

DaffyDuck 01-09-2011 09:50 AM

Doesn't seem to be working on 4.1pl2 -- shows just text, but no CSS, graphical chrome, or anything.

Any fixes available?

dartho 01-09-2011 10:02 AM

works fine under 4.1pl2. Sounds like you either haven't uploaded the CSS.PHP file to your forum root, or perhaps your server doesn;t support php short tags, in which case you should download the alternative CSS.PHP file available in the first post (or first reply to this thread as the case may be)

BadgerDog 01-09-2011 10:19 AM

When I installed this, I didn't realize (my bad) that it would also embed my advert code from each forum, generated from this mod:

Add Ads to each forum.

The graphic ads appear at the top of the forums, slowing down Dartho's excellent skin style.

Since the ad mod uses HTML, I think the fix for me is simple ...

Can you provide me with the IF statement in vBulletin jargon that I can put in front of my HTML code for the forum ads so it DOES NOT execute if the style equals the value of my mobile skin?

In other words ..

===================
If style not equal to "x" then skip to end and do not execute adsense code display ...

adsense code

end
=============

Thanks ... :)

Regards,
Doug

ps: Has anyone who uses it, been able to solve the conflict with this mod that I mentioned in a previous pic?

Separate Sticky and Normal Threads by pdtan


All times are GMT. The time now is 10:21 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.02027 seconds
  • Memory Usage 1,846KB
  • 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
  • (1)bbcode_code_printable
  • (20)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
  • (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