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)

jerde 01-29-2011 11:33 PM

Dartho,

I'm having the same issue as BadgerDog in post #272 on the images extending out to the right side and I'm also using Seven Skins image resizer. Is there a fix in this style to make it so images stay within screensize?

Also, any update on CMS page compatibility?
How do I get rid of the sidebar in CMS page?
Also, on my CMS page, there is a dark grey background making it hard to read black text. How do I change that color to white?

Thanks for a awesome mobile style!

jerde 01-30-2011 12:52 AM

Well I sort of fixed my CMS page to look a little better. I got rid of the sidebar and widened the article area by editing these settings in the mobile style templates under vbcms.css. I set the r40 to 0px and the 160 to like 98%. I'm sure this is the wrong way to fix this issue but it's a temporary bandaid.

Quote:

.yui-tvb-l25 {float:{vb:stylevar left};clear:{vb:stylevar right};width:25%;padding:0px;margin:0px;}
.yui-tvb-r25 {float:{vb:stylevar right};width:24%;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-l30 {float:{vb:stylevar left};clear:{vb:stylevar right};width:29%;padding:0px;margin:0px 0.5%;}
.yui-tvb-r30 {float:{vb:stylevar right};clear:{vb:stylevar left};width:30%;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-30 {{vb:stylevar left}:30%;width:30%;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-l40 {width:39%;float:{vb:stylevar left};clear:{vb:stylevar right};padding:0px;margin:0px 0.5%;}
.yui-tvb-r40 {width:0px;float:{vb:stylevar right};padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-40 {clear:{vb:stylevar right};{vb:stylevar left}:30%;width:40%;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-50 {{vb:stylevar left}:25%;width:40%;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-l50 {float:{vb:stylevar left};clear:{vb:stylevar right};width:46%;padding:0px;margin:0px 2%;}
.yui-tvb-l60 {width:97.5%;float:{vb:stylevar left};padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-r60 {width:59%;float:{vb:stylevar right};clear:{vb:stylevar right};padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
.yui-tvb-70 {width:70%;float:clear;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;}
I also covered up the gray background in the article area by changing it from transparent to white (#FFFFFF).

The only thing left would be the images being re-sized smaller.

DaffyDuck 01-30-2011 04:42 PM

Quote:

Originally Posted by DaffyDuck (Post 2155737)
Also, a small suggestion - including an image resize script into the style would be awesome, as that is pretty much all it is missing to deal with posts with images that invariably end up being too large.

As a suggestion, just include this code:

Code:

@media screen and (max-device-width: 480px){
  img{
          max-width:100%;
          height:auto;
          }
}

It will automatically resize images for iPhones.

Also, adding this will automatically hide the toolbar on iPhones:

Code:

window.addEventListener('load', function() {
      setTimeout(scrollTo, 0, 0, 1);
 }, false);



(or, can you give me a pointer where to add these myself?)

oddmud 02-02-2011 09:22 PM

I tried searching without getting a good post, looked through 39 posts and didn't find the answer.

My users have to scroll through all the pages to get to the last post. I personally just click on the title and it takes me to the last post, and ideas what might be causing it for them?

Taurus1 02-03-2011 02:52 AM

1 Attachment(s)
Quote:

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;"
?
Can you please specify where exactly to do this?

Thanks!

EDIT: I would also like to disable this mod in my lightweight style, but I have no idea how to do that. Can you please help me with that? I attach the product xml for it. Thank you so much!

Attachment 126367

dartho 02-03-2011 04:39 AM

Try entering in the code:

Code:

$vbulletin->options['modsettings_global_modsystem']=0;
in teh disable add-ons section

Taurus1 02-03-2011 06:00 AM

Quote:

Originally Posted by dartho (Post 2158117)
Try entering in the code:

Code:

$vbulletin->options['modsettings_global_modsystem']=0;
in teh disable add-ons section

Thank you so much. That did it! :up:

The only other issue is that my image thumbnails are really way too big for this style. Is there a way I can re-size them forum-wide for this style only?

Robbed 02-19-2011 02:59 AM

dartho - after upgrading to 4.12

Can you fix the online users. It just shows array, changes were made to forumhome whos online.

Also when i click on a thread it redirects to a www instead of m. link. Anyway to fix that. (i uses assign a style to m.domain.com?

edit: Looks like if this is set to yes it causes the problem. I try No and it works fine but then some of my addons don't display correctly.

Always use Forum URL as Base Path yes or no

(any way to bypass this in your style)

Robbed 02-20-2011 05:41 PM

dartho

I ended up setting Always use Forum URL as Base Path to no

then opening headerinclude for my main skins and change this code

Code:

<base href="{vb:raw basepath}" />
I set it manually to mydomain/forums

This worked, let me know if you have any better way of doing this.

Just need the who is online fixed if possible.

cisoprogressivo 03-01-2011 11:53 AM

I installed both the theme and the options plugin, but nothing happens.
http://img806.imageshack.us/img806/2...lezione001.png

If i change the mobile theme from vB panel it works but thank the "desktop" link wont open the desktop theme.

cisoprogressivo 03-01-2011 12:59 PM

OK, i was missing that one:
https://vborg.vbsupport.ru/showthread.php?t=249967
can I use the default Vbulletin panel?
http://img847.imageshack.us/img847/6...lezione002.png

digitaldome 03-02-2011 08:20 AM

got this error :

Quote:

This file was created using a different version of vBulletin from the one you are running.

Your version: 4.1.2
File version: 4.0.6

Ozymandyus 03-02-2011 01:03 PM

During the import process, make sure the line "Ignore Style Version (Use style file even if it was created by a different version of vBulletin?)" is set to "Yes".

warrior uw 03-12-2011 06:50 AM

1 Attachment(s)
When i try to add the vsa chatbox, the whole thing goes wrong. It partialy shows it but it just says loading all the time. Now if i select a different theme, i can see the chatbox with no problems and all the chats/shouts.

Any ideas?

yayacannes 03-18-2011 12:32 AM

Its extremly good but now I have a problem between your add and this add :
https://vborg.vbsupport.ru/showthrea...96#post2174196

When I click on the Article forum, iphone safari says :
too many redirects, can't open the page :(

But no problem with the standard template...

Any solutions please ? I can reward to fix it please...

dartho 03-18-2011 01:37 AM

I would suggest you disable that add-on in this style - there is even an option :
Disable article forum for certain styles (Use a comma separated list of styleids)
in it just for this.

yayacannes 03-18-2011 02:01 AM

Yes but this option doesn't work :(

Any idea why ?

By the way, is your "simply mobile" theme available to test please ?

Thanks a lot !

Mellow 03-18-2011 09:55 PM

Sorry if this is a basic question. Any way to add a function to upload a pic from the phone/device using this style? Or, is that strictly an app related function?

Mellow 03-19-2011 06:09 AM

Strange issue using Motorola Atrix - I can try to post a new thread and enter the title and text but when I hit the Submit, nothing happens, it highlights but doesn't do anything, same if I edit an existing post... any ideas? Thanks,

Redneck-Melly 03-20-2011 03:24 PM

Never mind

elwachiman 03-20-2011 06:58 PM

1 Attachment(s)
how i can fix this detaill: array in whats going on ad screenshot,,tnks

dartho 03-21-2011 04:24 AM

Quote:

Originally Posted by elwachiman (Post 2175540)
how i can fix this detaill: array in whats going on ad screenshot,,tnks

Try new version just put up ...

Gripi 03-21-2011 07:41 AM

hello..

thanks for this wonderful mobile style, but i found something strange after install it.

the image in the post wont show up, after viewing the source code, i found like this:

Code:

<a href="images/smilies/tongue.png" border="0" alt="" title=":P" class="inlineimg" />
the <a href> dont have a closing </a>, so every text after the image become a hyperlink.

i think it should be <img src="">

is this a bugs?

thanks

dartho 03-21-2011 09:23 AM

Sorry - I left some replacement variables in teh style by accident. You can use the new version I just put up, or manually remove the replacement variables.

Mellow 03-21-2011 11:50 AM

Quote:

Originally Posted by Mellow (Post 2174994)
Strange issue using Motorola Atrix - I can try to post a new thread and enter the title and text but when I hit the Submit, nothing happens, it highlights but doesn't do anything, same if I edit an existing post... any ideas? Thanks,

My issue was using the browser supplied w/Motorola Atrix - I downloaded FireFox for Mobile and I can now 'log in' and 'submit'.

elwachiman 03-21-2011 02:07 PM

Quote:

Originally Posted by dartho (Post 2175698)
Try new version just put up ...

ok fixed tnks dartho

Mellow 03-21-2011 04:15 PM

This keeps getting better and better, thanks dartho!

One issue I see.. when adding attachments, the 'close window' buttons don't appear to do anything. I have to 'Back' out to previous screen.

dartho 03-21-2011 11:26 PM

Quote:

Originally Posted by Mellow (Post 2175851)
This keeps getting better and better, thanks dartho!

One issue I see.. when adding attachments, the 'close window' buttons don't appear to do anything. I have to 'Back' out to previous screen.

It's a difficult one - diffrent browsers do different things (as you already know from teh default browser/firefox browser differences) . You could change the the action of the "close this window" to go back rather than try and close...

Mellow 03-22-2011 03:21 PM

Quote:

Originally Posted by dartho (Post 2175991)
It's a difficult one - diffrent browsers do different things (as you already know from teh default browser/firefox browser differences) . You could change the the action of the "close this window" to go back rather than try and close...

Thank you sir.

DISLEX 03-24-2011 06:49 AM

I Installed this and followed the directions, as best I can tell. Why does mine look like this?
http://www.westtexasforums.com/ILove.../1/Slanted.jpg

As you can see before the user is logged in, there is a gradual slant. Also, there are no lines/bars/colors/etc.

Once the user is logged in, the slant goes away, but it still looks nothing like your screenshot.

I admit I do not know what I am doing, so I may have done something wrong.

My site is www.WestTexasForums.com. I am on vB4.1.2 Thank you!

dartho 03-24-2011 09:52 AM

Did you upload the contents of the upload directory to your forum root?

Kolbi 03-24-2011 04:55 PM

Seems that you haven't uploaded the css file :)

dartho 03-24-2011 09:24 PM

Yes I have - its in the upload folder in the zip file

Kolbi 03-24-2011 09:34 PM

@dartho I thought about DISLEX :)

dartho 03-24-2011 10:19 PM

:o

as you were ...

DISLEX 03-25-2011 12:48 AM

Quote:

Originally Posted by dartho (Post 2176922)
Did you upload the contents of the upload directory to your forum root?

Yes, sir. I thought so. Perhaps I missed something. Let me double check.
Quote:

Originally Posted by Kolbi (Post 2177036)
Seems that you haven't uploaded the css file :)

Does the CSS file go directly into the forum root, as well?


Thanks, you two. :)

DISLEX 03-25-2011 12:58 AM

It's working great now. Thanks again!

imagirlgeek 03-27-2011 06:10 PM

This is one of my favorite mods. Thanks for all your hard work...my forum members LOVE this!

One thing I would like to do if possible, is to add the member's location to the posts. Where would I go to add this? I think if you could point me in the right direction, I could figure out the details, just need a little nudge.

dartho 03-28-2011 02:20 AM

By 'Location' do you mean from in their user profiles fields?

If so, you would need to edit the postbit template (if you use postbit legacy, edit the postbit_legacy template) and put the code in there.

imagirlgeek 03-28-2011 02:31 AM

Yes, that's exactly what I meant. Thanks!


All times are GMT. The time now is 09:58 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.02032 seconds
  • Memory Usage 1,830KB
  • 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
  • (6)bbcode_code_printable
  • (12)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