PDA

View Full Version : Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android)


Pages : [1] 2 3 4 5

dartho
08-24-2010, 10:00 PM
A lightweight *forum only style aimed at small screen devices such as Windows Smartphones, Nokias and even iPhones. It has VERY low bandwidth requirements - 15 times less on my site - 20K as opposed to 300K for forumhome.

*forum only - I have done a very small amount of rough work on CMS templates, a simple single column CMS *could* be created to work with this style without too much effort. However I am not sure if you can have a different CMS layout dependent on which style you are using?

This is an update to the mobile style I have previously released.

The changes are predominantly aesthetic to take advantage of larger screens.

It is also much easier to change colour schemes by editing the commented CSS file.

https://vborg.vbsupport.ru/attachment.php?attachmentid=121268&stc=1&d=1282736565

Demo: http://vbdev.org/forum.php?styleid=7

This is a a lightweight style and as such has much reduced functionality/information over the default vBulletin style.

Install instructions:
Firstly, if upgrading, I recommend installing this as a new style rather than overwriting your previous install. This way you get to test it first without trashing your existing style. BACKUP YOUR EXISTING lightweight.css.php FILE IF YOU HAVE CSS CUSTOMISATIONS
Download ZIP file
Unzip to a local/temp directory
Edit lightweight.css.php file to customise colours if required
Upload contents of the upload directory in the zip file folder to your forum root.
Install style XML via Style Manager in your ADMINCP
**Install and configure "LightWeight Style Options"
See post 2 for a FAQ
Click "Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=249277)"
Test it out
Leave a rating
Leave feedback
Enjoy checking your site from your mobile phone without the need to pinch/zoom/wait etc...Version Control:1.0.0 - 25 AUG 2010 - Initial Release on vBulletin.org
1.0.1 - 26 AUG 2010 - Fixed "Mark All Forums Read" link in Search results. Released Lightweight Style Options to customise this
1.0.2 - 21 MAR 2011 - Updated to 4.1.2, removed short tags from CSS, fixed some issues discovered since last release, added some stuff.
1.0.3 - 16 DEC 2011 - Updated to 1.0.3, tried to fix all known issues. Nothing new. If you have updated your site as bugs have been found, probably no need to upgrade. But if you're upgrading your site from to 4.1.9, might be worthwhile.
1.0.3a - 16 DEC 2011 - remove test ad hook code accidently left in postbit_legacy template :o

Branding Free:The style is free to use. However I ask that you keep links in the footer. If you want to remove them - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much.

dartho
08-25-2010, 04:43 AM
F.A.Q.

Q. How can I integrate Abe1's Post Thanks Hack?
A. See here: https://vborg.vbsupport.ru/showthread.php?p=2305643#post2305643


Q. There is no style chooser - how do I get back to the default style?
A. Install and configure "Lightweight Style Options" (https://vborg.vbsupport.ru/showthread.php?t=249339)

Q. What bits of the CSS change which colours?
A. Download and unzip the attached "CSS Image Basic Map.zip" file to a temp directory, open "css-map.html" and hover your mouse over the section you're interested in changing the colour of - it will tell you the variable in the lightweight.css.php file to edit. At the moment, it only shows the background colour, but it is intuitive to work out the foreground colour (var name ends in FC as opposed to BG) If you need to get more granular, you're on your own :o


Q. I Have VBAdvanced installed in integration m ode and it messes up this style.
A. as per post https://vborg.vbsupport.ru/showpost.php?p=2116973&postcount=167 with a minor chnage, create a plugin:
Product: vBulletin
Hook Location: Global Complete
Title: Disable vBAdvanced for Lightweight Style
Execution Order: 2
Code:
if (STYLEID == x)
define('SKIP_OUTPUT', 1);

IMPORTANT - Make sure to replace "x" with the ID to your lightweight style.

Q. Can we resize the images?
A. A simple javascript image resizer can be added to the header template. check the following post (and the one immediately after it) https://vborg.vbsupport.ru/showthread.php?p=2184007#post2184007)

Alternatively, you can use replacement variables to turn images into links, check this post: https://vborg.vbsupport.ru/showthread.php?p=2097304&highlight=replacement#post2097304

*** ALL OF THE FOLLOWING BLOCK SHOULD BE RESOLVED IN THE LATEST VERSION 1.0.3 ***
Q. The CSS is incomplete, I see
body { color: ; background:; margin: 0px; font-size ....
What's up with that?
A. I used short tages in the CSS.PHP file which may not be enabled on all systems. In the next release I'll update to not use these. In teh mean time, unzip and upload the attached lightweight.css.longtag.zip file and use it instead. Install the latest CSS version - this has been fixed

Q. Could you use the same paging system like vb standard styles in thread view so that user can choose first/last page instead of navigating it one by one?
A. Yes! It will get included when I release again, in the mean time check out post 103 (https://vborg.vbsupport.ru/showpost.php?p=2102543&postcount=103)

Q. The editor is messed up in 4.1.4 - how to fix?
A. See https://vborg.vbsupport.ru/showpost.php?p=2207400&postcount=397 for a fix.

Q. The option to hide "What's Going On" / "Who's Online" isn't working with the 'Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339)' add-on
A. See this post for a fix: https://vborg.vbsupport.ru/showthread.php?p=2264831#post2264831

Q. The PM list is showing "Array" rather than the sender
A. See this post: https://vborg.vbsupport.ru/showthread.php?p=2271597#post2271597

Q. My New Reply page is screwed up with vertical cmilies and stuff
A. Delete the contents of the editor_clientscript template and replace the contents of the editor_ckeditor template with that of the editor_toolbar_off template

Q, Birthdays are just showing as "Array" on forumhome?
A. See thread https://vborg.vbsupport.ru/showthread.php?p=2273172#post2273172

Q. I see Array instead of thread tags?
A. See post https://vborg.vbsupport.ru/showpost.php?p=2275323&postcount=618

Q. I see <br /> instead of line breaks when quoting, full reply
A. See post: https://vborg.vbsupport.ru/showpost.php?p=2275317&postcount=617
if this doesn;t work, check this post also (https://vborg.vbsupport.ru/showpost.php?p=2293179&postcount=761)************************************ ********************************************

Q. How do I get rid of all those template out of date messages in control panel home?
A. You could edit and save each one without actually making changes or you could run the following query on your database:

UPDATE template SET version = '4.1.9', mergestatus = 'none' WHERE styleid=XX;

change XX to the styleid number of the mobile style and 4.1.9 to whatever the version number currently is.

########## TO BE FIXED IN NEXT RELEASE VERSION 1.0.4##########
Q. How do I add 'Next' 'Prev' in Pagenav?
A. See post https://vborg.vbsupport.ru/showthread.php?p=2280973#post2280973

Bluefin221
08-25-2010, 06:21 AM
This looks very smart Dartho, I have installed it. I've submitted a test post and when you hit reply it quotes the text which is great, once I type in my message and hit submit the post submits however it does not return you to the forum, instead you get the quote box with your text just sitting waiting on being submitted.

dartho
08-25-2010, 06:36 AM
I can not reproduce this behaviour on my test site vbdev.org.

dartho
08-25-2010, 07:08 AM
What type of device are you using to submit the thread?

DAMINK
08-25-2010, 07:40 AM
I notice when you choose the light theme you cant change back?
That sucks.
Guess i have to hack the theme a bit.
Still i like it. Good for my mobile.

sulasno
08-25-2010, 07:41 AM
tagged and thanks

dartho
08-25-2010, 07:48 AM
I notice when you choose the light theme you cant change back?
That sucks.
Guess i have to hack the theme a bit.
Still i like it. Good for my mobile.

I'm going to release an addon product which enables such options. In the mean time have a look in the header template and search for

<vb:if condition="$vbulletin->options['ls_default_style_link']==1">
<a class="toplinks" href="{vb:raw $vbulletin->options['ls_navbar_home']}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
</vb:if>

and replace with

<a class="toplinks" href="forum.php?{vb:raw session.sessionurl}styleid=xxx">Desktop</a>

where xxx is your default styleid. change the href to suit your site also.

There are 2 instances that need to be edited as described above

DAMINK
08-25-2010, 09:16 AM
Cheers Dartho.
Great option mate. Big thumbs up.

Kolbi
08-25-2010, 10:08 AM
nice :)

Are there big changes since version 2.11?

dartho
08-25-2010, 10:33 AM
Not really, but there has been some renaming of variables etc and reversioning. When I release the new Style Options add-on, you should uninstall the beta versions and install the released versions. As of now, this only applies to people who helped test on my test site.

fly
08-25-2010, 10:44 AM
Whoa, very slick

najaru
08-25-2010, 11:06 AM
very very good thanks

djawir
08-25-2010, 12:07 PM
installed, look prety cool

enable post thanks button its look greats

maybe its bug i am using nokia e71 browser
- in forumdisplay & showthread right border is overlap outer border.
- in showthread no link back to forumdisplay | -home => sub forum 1 => sub forum 2
- in forumdisplay & showthread page link maybe u can create like default template | <<first .. 5 6 7 8 9 .. last>>

thanks

dartho
08-25-2010, 12:55 PM
Hi djawir,
I can not see overlap on my device, a screen shot may help if possible?
There is always link back by clicking/tapping "Up" at bottom of page
Yes - that may be OK with this style. Originally was for small screen so I was trying to conserve space

Thanks for the feedback

djawir
08-25-2010, 03:18 PM
here is screenshot on my device nokia e71 using default browser

Mopar Rob
08-25-2010, 04:04 PM
I'm going to release an addon product which enables such options. In the mean time have a look in the header template and search for

<vb:if condition="$vbulletin->options['ls_default_style_link']==1">
<a class="toplinks" href="{vb:raw $vbulletin->options['ls_navbar_home']}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
</vb:if>

and replace with

<a class="toplinks" href="forum.php?{vb:raw session.sessionurl}styleid=xxx">Desktop</a>

where xxx is your default styleid. change the href to suit your site also.


Can someone please help...
I am getting the following error When I try updating the Header Template as described above: adding child to non-existent node!

bfdzio
08-25-2010, 04:12 PM
Being told the 'Mark Forums Read' button doesn't work again...?

slinky
08-25-2010, 06:42 PM
I am fearing that I already know the answer to this question - is it possible to have a vBulletin 3.x version of this mobile style? With all due respect, the current version is terrible, aesthetically and from a UI perspective. While this style isn't perfect, it is miles better than what is currently available for 3.x. I'd commission someone to convert this style to 3.x and make my modifications as moving to 4.x seems like imprudent, at least no earlier than 4.1 at best.

Fungsten
08-25-2010, 08:00 PM
Can someone please help...
I am getting the following error When I try updating the Header Template as described above: adding child to non-existent node!

Make sure you put in the PC style ID in the XXX. ALSO! Make sure all of this is highlighted:

<vb:if condition="$vbulletin->options['ls_default_style_link']==1">
<a class="toplinks" href="{vb:raw $vbulletin->options['ls_navbar_home']}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
</vb:if>

and not just the first line when you replace the code. BTW there are TWO lines in the template and not one.

dartho
08-25-2010, 10:04 PM
Being told the 'Mark Forums Read' button doesn't work again...?

It works in Forumhome, but after checking I see that I did not update it in the search results.

To correct, edit the search_resultlist template and replace

<div class="footlink"><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a></div>
with

<div class="footlink"><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a></div>

dartho
08-25-2010, 10:15 PM
Can someone please help...
I am getting the following error When I try updating the Header Template as described above: adding child to non-existent node!

You would get that error if you have not made the edits's exactly as described.

Also, Fungsten is correct - there are 2 instances that should be edited

Find:
<vb:if condition="$vbulletin->options['ls_default_style_link']==1">
<a class="toplinks" href="{vb:raw $vbulletin->options['ls_navbar_home']}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
</vb:if>
and replace with:
<a class="toplinks" href="forum.php?{vb:raw session.sessionurl}styleid=xxx">Desktop</a>

IraqChoosesLife
08-25-2010, 10:54 PM
Thank you
Regards

dartho
08-26-2010, 02:26 AM
<a href="showthread.php?t=249339" title="vBulletin.org Forum - Mod 249339">Lightweight Style Options</a> released. If you made edits to include a link to teh default style, you can revert those edits and install this product.

Also released update to fix Mark Forums Read error on Search Results page

Ozymandyus
08-26-2010, 03:25 AM
Dartho, I use a DroidX for mobile browsing...it's a monster huge screen so results may be atypical, but here's what I see.


Colors and fonts are great
Using it with your new mobile style options is very helpful, particularly for the 'return to normal style' link
It needs a spacer at the top. Currently the 'log out' button goes beyond the top edge of the style
'Edit' and 'Reply' buttons overlap text...not badly, but very noticeable.


More feedback as I see it, but it's excellent for first release. Thank you for sharing with us.

Brandon Sheley
08-26-2010, 03:54 AM
very nice 4.0 mobile style
/me tags this one

reimic
08-26-2010, 07:03 AM
is there anyone out there who can optimize the cms section?

omanmoon.net
08-26-2010, 12:35 PM
Hello
Thanks dartho for this amazing add-ons
am using from 3.x

but i have problem with Arabic language in this Plug-ins
i cant logging to the forum because the language cant be read!
even i change the encoding in the [lightweight-vbulletin-style-1.0.1] in the first line:

<?xml version="1.0" encoding="ISO-8859-1"?>

to UTF-8 also can't read

when i change encoding to [windows-1256] still cant read any thing but the logging is done!
The encoding [windows-1256] better for Arabic language
How can solve this problem because i like this style and use it.

Thanks

dartho
08-26-2010, 12:45 PM
Hi omanmoon.net, I know very little of the complexities of encoding and translation between languages (among many, many other things :) ), but I'm sure someone else here probably does and can hopefully help.

dartho
08-26-2010, 12:48 PM
here is screenshot on my device nokia e71 using default browser

I test primarily under IE, FF, Windows Mobile 6.5 (PocketIE), Opera Mini, Opera for Mobile, Chrome, Safari and have just loaded up an Android emulator and an iPhone emulator. I'm trying to find an emulator I can use for Nokia phones to test this further ...

Are you able to update firmware / browser software?

omanmoon.net
08-26-2010, 01:37 PM
any way thanks man for your good work
i will try with it :)

benstillman
08-26-2010, 02:51 PM
Stupid question:

I use vBadvanced CMPS. Obviously, with the mobile style, it looks horrible. Would there be an easy way to hide the CMPS from users using this mobile style? I'm thinking some line in the index.php file to say if style=XXX then http-equiv="refresh" content="0;url=forums.php. Anybody do anything like this?

benstillman
08-26-2010, 03:04 PM
Think I answered my own question, at least one way of doing it.

Edit adv_portal template for the new mobile style. Replace all of it with:

{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>

<meta http-equiv="refresh" content="0;url=forum.php">

</html>

Works great.

djawir
08-26-2010, 03:08 PM
I test primarily under IE, FF, Windows Mobile 6.5 (PocketIE), Opera Mini, Opera for Mobile, Chrome, Safari and have just loaded up an Android emulator and an iPhone emulator. I'm trying to find an emulator I can use for Nokia phones to test this further ...

Are you able to update firmware / browser software?
ya this style work perfect under mobile browser emulator already test it on opera mini emulator, but under opera mini in real phone (nokia E71 firmware 410.21.010) its still overlap right border. ill try test using diferent phone browser and report here.

can u change up button to breadcum navigation? many user in my forum confused about it :D and page link for first & last page.

my last request is integrated post thanks button :D

thanks

Coume
08-26-2010, 07:32 PM
Firstly, let me thank you for this style Dartho as I will be using it once I upgrade to vb4 this week-end.

Some issue, I experienced on your test board vbdev.org using a HTC Desire.

- I am able to register but there is no CSS loaded, it is pure text without anything style/color/formatting.
- The page get loaded first and then, it gets formatted. Shouldn't the CSS be loaded first before the data, so the user see straight away a perfectly rendered page?
- I am able to post a new thread but I am unable to reply to my own thread nor to any other ones.
- It is great to be able to report posts but I believe that the button should be located somewhere else. Because it is currently just next to the reply one so it could easily be hit by mistake. I would suggest to either locate it on the right side, while leaving the reply one on the left. Or another option could be to had the report post button, in the after the message date

One thing that I cannot test right now as I still run 3.8, is it possible to perform admin/mod tasks (i.e.: delete as spam, etc.)

Thanks
Ludo

dartho
08-26-2010, 09:45 PM
Hi Coume,

I'll make the leap to vb4 on my main site one of these days - just haven;t been brave enough yet :o

1. I haven't actually adpated the registration templates yet - what you saw was the default vBulletin template with the vbulletin CSS stipped out.

2. This is normal behaviour
3. What happens when you try? Did you make sure your test replies were over 10 characters?
4. I'll have a look

There are minimal mod tasks available - deleting/editing posts and threads and issuing infractions are about it

lilquit
08-27-2010, 03:29 AM
is this iphone version out now?
http://vbdev.org/forum.php?styleid=4

Coume
08-27-2010, 05:16 AM
I'll make the leap to vb4 on my main site one of these days - just haven;t been brave enough yet :o

1. I haven't actually adpated the registration templates yet - what you saw was the default vBulletin template with the vbulletin CSS stipped out.

2. This is normal behaviour
3. What happens when you try? Did you make sure your test replies were over 10 characters?
Erm, so it was my fault as they were less than 10 chars. I just tried a 10 char+ one and it worked. Apologize about the false alert.
I would have never guessed it was due to being less than 10 chars as it kept looping to the reply form but no error message is getting displayed to let you know why it is looping (i.e.: less than 10 chars.)

4. I'll have a look
Thanks

There are minimal mod tasks available - deleting/editing posts and threads and issuing infractions are about it
If I may put a request/suggestion through, I would love to see the "Delete as spam" functionality added because it is unfortunately, the one that my mods and I use the more often. Our posters are very good respecting forum rules but once in a while, you get these spam outburst and when you are unable to access a computer, the only way to stop it ASAP is using my mobile.

Cheers,
Ludo
P.S.: The CMS support seems to be moving on nicely :)

dartho
08-27-2010, 10:49 AM
is this iphone version out now?
http://vbdev.org/forum.php?styleid=4

No - that's just me having a test. It's a looooong way from being usable

djawir
08-27-2010, 11:10 AM
today found error on nokia 5530 browser

when open showthread page get error /clientscript/post_thanks.js line:27
error: ReferenceError: Can't find variable: vB_Default_Timeout

dartho
08-27-2010, 11:39 AM
today found error on nokia 5530 browser

when open showthread page get error /clientscript/post_thanks.js line:27
error: ReferenceError: Can't find variable: vB_Default_Timeout

"post_thanks" That's nothing to do with this style.

dawges
08-27-2010, 05:32 PM
Thanks so much! My users have been really wanting a better style for modern phones. Installed and works great!

BadgerDog
08-27-2010, 11:15 PM
Hi .. :)

I'm trying to move from the OLD 1.0.3 style to this new one ...

I downloaded the ZIP file and unzipped it....

The last step in the install instructions says:

Upload contents of "Forum" folder to your forum root.

I see no folder in my unzipped v1.01 that is called "Forum"?

I don't want to overwrite the OLD 1.0.3 currently working version with this new version and screw it up, without really understanding how to install this new version first. :D

Thanks for any help .. :)

Regards,
Badger

dartho
08-27-2010, 11:40 PM
Sorry BadgerDog, I corrected instructions to read:
Upload contents of the zip file (exluding the XML file) folder to your forum root.

[edit: The only thing you need to take care with is if you have both "Mobile Style Options", and "Lightweight Style Options" They can work together, but it would need to be tweaked a little (simply disabling one plugin would do it).]

asj
08-28-2010, 02:28 AM
Excellent https://vborg.vbsupport.ru/external/2012/01/12.gif
Thank you very much

Mopar Rob
08-28-2010, 02:35 PM
Make sure you put in the PC style ID in the XXX. ALSO! Make sure all of this is highlighted:



and not just the first line when you replace the code. BTW there are TWO lines in the template and not one.

Thanks Man!!! Everything is working, just need to figure out how to access the new options xml that I merged.

LuisManson
08-28-2010, 03:04 PM
im having a hardtime getting the CSS work :S
i see:
body { color: ; background:; margin: 0px; font-size..

maybe its the short tag thing...
i also dont see right <?=$varname is there any trick there?

LuisManson
08-28-2010, 03:15 PM
got it, short tag should be on, but this is only for backward compatibility with php4 or 3 but this is almost deprecated :(

dartho
08-28-2010, 10:09 PM
Thanks Luis, I've added an alternative CSS to the 2nd post on this thread which you can use instead.

Kaitou Ace
08-28-2010, 11:32 PM
Great style!
If I could have a request, I'd love to see support for the vb Blog module.

conradk
08-29-2010, 04:07 AM
Thanks also. I reversed most of the colors and darkened the borders for a darker look. Following the comments in the css helped out quite a bit. I've got both the og mobile style and this new one installed for now until I can figure out how to modify the navbar links, and add a link to the 'brighter' style.

http://www.aircoolers.org/v/forum.php?styleid=13

dartho
08-29-2010, 04:33 AM
looking good, conradk!

ngkong
08-29-2010, 06:38 AM
any plan to support vbull CMS?

it pops:

Your submission could not be processed because a security token was missing.<br />
<br />
If this occurred unexpectedly, please <a href="sendmessage.php">inform the administrator</a> and describe the action you performed before you received this error.

BadgerDog
08-30-2010, 12:25 PM
Sorry BadgerDog, I corrected instructions to read:
Upload contents of the zip file (exluding the XML file) folder to your forum root.

[edit: The only thing you need to take care with is if you have both "Mobile Style Options", and "Lightweight Style Options" They can work together, but it would need to be tweaked a little (simply disabling one plugin would do it).]

Thanks .. :)

Can I just import and overwrite your old style with this new one, then import the new "Lightweight Style Options" XML and that should do it to completely replace the old one that's been discontunued?

Regards,
Badger

dartho
08-30-2010, 01:07 PM
mmm... probably :)

However, my suggestion would be to install it as a new style with no parent.

g0dfather1984
08-30-2010, 05:20 PM
Nice! Thank you for this!

LuisManson
08-30-2010, 05:35 PM
thanks dartho!!!

whites
08-31-2010, 09:49 PM
Can we get some basic mod tools in this as well? I have some mods that move a lot of posts and are unable to do so using this style.

dartho
09-01-2010, 12:33 AM
You already have basic mod tools such as edit / manage / move threads. Click on the "Edit" button next to the thread name, and then you'll see a "Move this Thread" button down the bottom :)

phreebsd
09-01-2010, 11:53 AM
do you have this one for a 3.8.x forum?

whites
09-01-2010, 02:49 PM
You already have basic mod tools such as edit / manage / move threads. Click on the "Edit" button next to the thread name, and then you'll see a "Move this Thread" button down the bottom :)

Ah, very cool. I missed that I guess. Thanks!

Wilfred1
09-05-2010, 03:02 AM
Doesn't seem to be working for me as the css is not right nor are the forums shown as links:
121599

dartho
09-05-2010, 04:30 AM
I am guesing PHP does not have short tags enabled - see post 2 for an alternative CSS file to download https://vborg.vbsupport.ru/showpost.php?p=2089187&postcount=2

Wilfred1
09-05-2010, 05:31 AM
Thanks Dartho, but that didn't work...still seeing just a list of forums in text but not links...everything else seems to work ok though

dartho
09-05-2010, 05:38 AM
I've had a check of your site, and something is editing or has edited the templates on your forum home. The CSS is right, but the space has been removed from the div containers. eg: <div class="titlebg"> has become <divclass="titlebg">

I am guessing you have an addon which changes forumhome which is doing something here

Wilfred1
09-05-2010, 08:22 AM
Now that is strange...could it be VBSEO or Sorky's subforum list (https://vborg.vbsupport.ru/showthread.php?t=233084)? The style was added without any parent style - I assume that is correct? The templates are correct so it is somewhere between calling the templates up and the screen

dartho
09-05-2010, 08:57 AM
Dunno - I'd try disabling them briefly to see what happens

sbsforum.us
09-05-2010, 02:18 PM
Great style. Thank you!

jpwilliams
09-06-2010, 02:15 AM
Think I answered my own question, at least one way of doing it.

Edit adv_portal template for the new mobile style. Replace all of it with:

{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>

<meta http-equiv="refresh" content="0;url=forum.php">

</html>

Works great.

I want the lightweight style to go to my forums by default instead of my CMS. I can't find the "adv_portal" template this user said he changed. Is there another way to get the lightweight style to default to the forum instead of CMS?

Edit: Just noticed he was using VBAdvanced CPMS.

Is there a way to get the lightweight style to default to the forums instead of the default CMS that comes with vbulletin I guess is the appropriate question.

Wilfred1
09-06-2010, 02:56 AM
Dunno - I'd try disabling them briefly to see what happens
I think I have found the issue...it seems this mod may not work with vBAdvanced CMPS when you have your forums page integrated

dartho
09-06-2010, 11:05 AM
I want the lightweight style to go to my forums by default instead of my CMS. I can't find the "adv_portal" template this user said he changed. Is there another way to get the lightweight style to default to the forum instead of CMS?

Edit: Just noticed he was using VBAdvanced CPMS.

Is there a way to get the lightweight style to default to the forums instead of the default CMS that comes with vbulletin I guess is the appropriate question.

You could edit the vbcms_page template and replace all with something like:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>
</head>
<body>
<div class="bodywrapping">
{vb:raw header}
{vb:raw navbar}
<div><a href="forum.php">CMS Disabled in Mobile View, please click here to proceed to forum</a>
</div>
{vb:raw footer}
</div>
</body>
</html>

dartho
09-06-2010, 11:07 AM
I think I have found the issue...it seems this mod may not work with vBAdvanced CMPS when you have your forums page integrated

There is probably a way to disable vbadvanced for a specific style - I'll do a quick search, but you may want to check over at vbadvanced.com

HolyKiller
09-06-2010, 04:41 PM
Awesome template, thanks !

LuisManson
09-08-2010, 04:19 PM
my version does not have the "pc version" on top.... any ideas?

dartho
09-08-2010, 08:51 PM
Install and configure https://vborg.vbsupport.ru/showthread.php?t=249339

swiftor
09-10-2010, 01:47 PM
I installed both this and the options mod, although when loading up my site on the iphone4 at least, it still loads the default PC style instead of the light weight style.

In options I specified the lightweight style as the one to load for mobiles.

Any thoughts on how I can fix this up so lightweight loads automatically on mobile devices?

Site is http://swiftor.com

dartho
09-10-2010, 09:10 PM
this add-on : https://vborg.vbsupport.ru/showthread.php?t=249967 does the mobile device detection

swiftor
09-10-2010, 09:30 PM
Ah, sorry that I missed that. Thanks!

this add-on : https://vborg.vbsupport.ru/showthread.php?t=249967 does the mobile device detection

struff
09-12-2010, 05:43 PM
A couple of questions:

1) Is there a way to reduce the size of images or suppress them altogether?

2) Sometimes videos show up as the entire video and sometimes just a link "Youtube Video". Any idea why?

3) (probably a really stupid thing that I am overlooking because I am sleepy and it's not necessarily about this product alone) Any idea how I can change the styleid number? I'd like it to be the number of the old Mobile style I had.

Thanks.

dartho
09-12-2010, 09:34 PM
1. Add replacement variables as follows:

-----------------------------------------------
| search for text......| replace with text
-----------------------------------------------
| border="0" alt="" />.| target="_blank">[image]</a>
| class="inlineimg" />.| >[smilie]</a>
| img src..............| a href
| img src="http........| a href="http
-----------------------------------------------

2. DO you have any media embedding plugins? The videos natively supported by vBuilletin would show as links, but of you have AME or other BBCODE, it would show as a video.

3. You could proably edit the database, but I am not sure of any consequences of this. Otherwise you could probably overwrite the old style and it would retain the same ID number

daveaite
09-12-2010, 09:54 PM
Donated :)

CoZmicShReddeR
09-13-2010, 10:42 PM
hey mine keeps showing the CMS page any idea's how to fix it? When I use with the other theme it works fine but this one shows cms page...

I am using both of your mobile plugins too not sure if I set something wrong...

I am using mobile opera on my window mobile device.

dartho
09-14-2010, 12:31 AM
Not sure I understand. If I head to your site, I get the CMS - then if I click Forums, I get forums. Forums are all looking as they should.

Try editing teh vbcms_page template in teh Lightweight style and replace it's contents with:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<head>
{vb:raw headinclude}

<title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if> - {vb:raw html_title}</title>

{vb:raw headinclude_bottom}
</head>

<body style="text-align:{vb:stylevar left}">

{vb:raw header}
{vb:raw navbar}
{vb:raw toolbar}
<div class="vbcms_content">
Home page unavailable in mobile view, click <a href="forum.php">HERE</a> to view forums.
</div>
{vb:raw footer}
</body>
</html>

Devoran
09-17-2010, 06:10 AM
Hey there - firstly, fantastic style - I love it! Have it working with both the options addon and the mobile detect addon. Only one thing, the new posts box seems to sit out to the right a little on iOS 4.1 and Safari (my only test mobile platform) rather than remaining flush with the rest of the page, and also it appears at the bottom on every single forum page. Is this normal?

ximcix
09-17-2010, 08:59 AM
I uploaded the images folder & lightweight.css.php to my forums root, but get a barebones style (no logo image, no colors) what Am i doing wrong?

Yes I installed & configured the product as well.

dartho
09-17-2010, 10:07 AM
@Devoran - Are you able to give me a screen shot? I use safari under windows and an iphone emulator - both seem to be showing OK.

@ximcix - can you send me a link? Generally means (OK - always means) you've uploaded to an incorrect place, or the incorrect folder.

ximcix
09-17-2010, 03:47 PM
sent via PM

dartho
09-17-2010, 10:19 PM
Thanks ximcix, I see the issue now.

Have a look in at the FAQ in post #2 https://vborg.vbsupport.ru/showthread.php?p=2089187#post2089187 and use the 'longtag' CSS you can download from there!

ximcix
09-17-2010, 11:05 PM
Thank you.
Working now
Marked as Installed

asuccar
09-19-2010, 12:40 AM
This is freakin awesome dude...I installed all of your stuff and together they work like a charm!!!!! Thanks heap!!!!!

Question, this style is only for forums right....how can we have it for blogs as well?

dartho
09-19-2010, 02:54 AM
how can we have it for blogs as well?

by painstakingly editing all the blogs templates so they display on a small screen Ok.

vbulletin will have it covered by the end of the year if what they say over at vbulletin.com is true

Manoel J?nior
09-19-2010, 03:53 AM
Great man!

Thanks: INSTALLED!

Rebecca217
09-19-2010, 02:49 PM
This is great! Thank you! :)

fridaypassion
09-21-2010, 06:22 PM
Just installed this and it made my CMS disappear?

dartho
09-22-2010, 12:18 AM
CMS does not work (well) in this style, but it should not be affected in any other.

pandusetiawan
09-23-2010, 10:35 AM
Hi Dartho...great work with this stuff...two thumbs up for you :)
A little question...how can I add "first page" link in the thread view..since the threadview are always bring us to the last post/last page of the thread.thanks.

dartho
09-23-2010, 11:04 AM
It shouldn't bring up the last post, but rather the first unread post.

You could add or modify the link in the threadbit template to one of the following

First Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">First Post</a>

First New Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}">First New Post</a>

Last Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}">Last Post</a>

pandusetiawan
09-23-2010, 12:27 PM
Oh I see.
Ok..I'll try it tomorrow...thx a lot buddy :)

pandusetiawan
09-24-2010, 12:59 AM
It shouldn't bring up the last post, but rather the first unread post.

You could add or modify the link in the threadbit template to one of the following

First Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">First Post</a>

First New Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}">First New Post</a>

Last Post:
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}">Last Post</a>

Work well....thx very much bro...you're the man :D

2 more thing....how to add 'First page' & 'Last Page' link in postbit & how to make picture (that using [img] tag) are displayed in postbit?
Thx :)

dartho
09-24-2010, 01:20 AM
I'm not sure I understand - the postbit is for individual posts - there is no first/last.

Images should work as normal

pandusetiawan
09-24-2010, 02:11 AM
I'm not sure I understand - the postbit is for individual posts - there is no first/last.

Images should work as normal

I mean First & Last Page of the post....as Djawir said in post #14 :D

<<First 2 3 4 5 Last>>

Image are ok now..thx :)
How do I find the addon variable name to turn it off in options?I'm using Everywhere Side Bar....& i want to disable it on mobile view.

dartho
09-24-2010, 02:39 AM
OK. Try replacing the pagenav template with

<vb:if condition="$show['first']">
<span class="first_last"><a rel="start" href="{vb:raw firstaddress}{vb:raw address2}<vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase first_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw firstnumbers.first}, {vb:raw firstnumbers.last}, {vb:raw total}}">{vb:rawphrase first}</a></span>
</vb:if>
<vb:if condition="$show_prior_elipsis && $show['prev'] && $show['first']">
<span class="separator">...</span>
</vb:if>
{vb:raw pagenav}
<vb:if condition="$show_after_elipsis && $show['next'] && $show['last']">
<span class="separator">...</span>
</vb:if>
<vb:if condition="$show['last']">
<span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}</a></span>
</vb:if>

dartho
09-24-2010, 02:52 AM
How do I find the addon variable name to turn it off in options?

Turn turn off the disaply of images?
I'm using Everywhere Side Bar....& i want to disable it on mobile view.

Could you link me to this so I can look?

pandusetiawan
09-24-2010, 02:57 AM
OK. Try replacing the pagenav template with

<vb:if condition="$show['first']">
<span class="first_last"><a rel="start" href="{vb:raw firstaddress}{vb:raw address2}<vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase first_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw firstnumbers.first}, {vb:raw firstnumbers.last}, {vb:raw total}}">{vb:rawphrase first}</a></span>
</vb:if>
<vb:if condition="$show_prior_elipsis && $show['prev'] && $show['first']">
<span class="separator">...</span>
</vb:if>
{vb:raw pagenav}
<vb:if condition="$show_after_elipsis && $show['next'] && $show['last']">
<span class="separator">...</span>
</vb:if>
<vb:if condition="$show['last']">
<span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}</a></span>
</vb:if>


Worked...thx man :)

http://asixpoint.com/im2/out.php/i1608_Capture11497.jpg

Everywhere Sidebar : https://vborg.vbsupport.ru/showthread.php?t=233871

dartho
09-24-2010, 04:05 AM
Try adding


//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;


in the disable addons code box in 'Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339)' settings

pandusetiawan
09-24-2010, 04:19 AM
Try adding


//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;


in the disable addons code box in 'Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339)' settings

It's not work...although there are no sidebar in forumhome....but inside forum the sidebar are still showed up :(

http://asixpoint.com/im2/out.php/i1609_cap22.jpg

dartho
09-24-2010, 06:08 AM
try checking with the mod author - they'd know how to disable their code better than I would

pandusetiawan
09-24-2010, 06:29 AM
try checking with the mod author - they'd know how to disable their code better than I would

Ok..will do that...thx so much for you help man :)

nike.stars
09-26-2010, 06:35 PM
i think i found a bug

if the forum is turned Off, and we try to access the skin via a direct link and then try to log in, it success but i was thrown back to homepage being logged out. however if i try to click PC Mode link, it works fine and also if i switch back to lightweight it is fine. i try it on iphone though

some suggestions: you might want to add "first / prev" for page navigation because it really speed up navigating process. Please also add more spaces between page number as it is very hard to click on a iPhone/touch sensitive based device

dartho
09-26-2010, 10:10 PM
For First / Last - have a look on the previous page, post #103.

As for the log in issue, what do you mean by "works fine"

I have found that I can log in with the forums turned off, but can't actually see anything other than the forum closed message. This happens under any style and would be a vBulletin bug. I can't view any posts or threads though?

nike.stars
09-27-2010, 04:54 AM
sorry, a bit correction, the problem above is also happen if the forum is switched ON.

what i mean works fine, if i access using standard styling, i can login as usual and then switch back to lightweight style and use it normally

however, if i try to login using lightweight style, i can't login properly, it keep throwing me back to home page, it seems like login isn't processed though

dartho
09-27-2010, 10:35 AM
I can't reproduce this on my phone (WinMo 6.5 HTC) or any desktop browsers (safari, chrome, firefox, IE)

Anyone else?

nike.stars
09-28-2010, 03:56 PM
hm, maybe because i assigned a subdomain m.domain.com to be redirect to style direct link?

because if i choose the lightweight style manually from main style, it is fine

dartho
09-28-2010, 10:01 PM
Rather than redirect to a style link, try pointing m.domain.com to the same webspace as your primary domain and give https://vborg.vbsupport.ru/showthread.php?t=174381 a go (install the single domain version - the 2nd XML file) It says it's for 3.7, but it works for 4.0

winners888
09-29-2010, 06:05 AM
Can the menu make it in such a way like Iphone where you touch the arrow and it will just slide to next page..?

nike.stars
09-29-2010, 08:32 AM
i've give that plugin a try, but still i can't login properly if i login from m.domain.com

well actually, i'm already logged in, this is proved if i switch back to PC Mode, i'm already logged in. it seems the style cannot accept proper login if i login from subdomain

should i make a video to show it?

dartho
09-29-2010, 08:34 AM
Ah - that's vBulletin doing what it is meant to do - I think you will need to add m.domain.com to your domain whitelist in settings in AdminCP

slinky
09-29-2010, 12:37 PM
A couple of things - in the if/else statement in the navbar template, the forum home URL is hardcoded as forum.php. This caused me to have problems since I renamed it to index.php so I wouldn't have forum.php as my forum title - it hadn't been the case in the past. :) This may throw a couple of people as you set this variable in the navbar. Will also go to the mobile options page since I didn't get the "PC Mode" link to switch to the PC style to show up.

In addition, no link to site home via the graphic. I added that in, a simple URL most would expect instead of a wasted space for the logo.

dartho
09-29-2010, 12:44 PM
The "PC Mode" link comes when you install and configure "Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339)"

I'll have a look at the templates in regards to your other suggestions

slinky
09-29-2010, 12:50 PM
The "PC Mode" link comes when you install and configure "Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339)"

I'll have a look at the templates in regards to your other suggestions

I just realized I was confused with the lightweight and mobile options - make sure you install the right one! :D Doh! Thanks. :)

reki
09-30-2010, 04:46 AM
Hi Dartho,

This looks like a great mod, but I keep getting a "Invalid File Specified" message when I try to import the xml, both from my hard drive and from the includes/xml folder on the server (where I've uploaded the file).

Any ideas?

dartho
09-30-2010, 09:26 AM
Are you using Product Manager, or Style Manager? (hint: use the latter)

nike.stars
09-30-2010, 09:37 AM
@dartho
oh my, that's it, after adding it to whitelist it works perfectly, thanks again!

dartho
09-30-2010, 10:25 AM
excellent.

reki
09-30-2010, 09:12 PM
duh.. how silly am I? Thanks dartho :p

Taurus MFF
10-02-2010, 04:23 PM
this style is working great along with your Lightweight Style options (https://vborg.vbsupport.ru/showthread.php?t=249339) and Mobile Auto-Detection product (https://vborg.vbsupport.ru/showthread.php?t=249967) on 4.0.7, all three marked installed, thank you!

the only thing I have not gotten to work is the mobilelogo. I have confirmed the location of the file, file name and file type. it is less than 40px high. the mobilelogo does not display on my Android nor on my pc when I select the style. any suggestions?

8thos
10-08-2010, 03:33 AM
How do you add avatars?

dartho
10-08-2010, 07:24 AM
Edit the template which corresponds to the section you wish to add an avatar to.

matahari77
10-09-2010, 08:17 PM
I notice when you choose the light theme you cant change back?
That sucks.
Guess i have to hack the theme a bit.
Still i like it. Good for my mobile.
Good to know ;)

fly
10-09-2010, 08:22 PM
Good to know ;)

You can change it back, you just have to enable the button in the Control Panel...

edit: Its even shown in dartho's screenshot

SemperFideles
10-10-2010, 06:49 PM
Just a suggestion. Your instructions are a bit confusing because you state that the user is to upload the contents of the zip file to forum root. In actuality, the contents of the zip file is another folder. Recommend you just zip the contents of that folder and provide it as a download or put all the files that need to be uploaded into a folder called "upload" and the style xml into a folder called "do not upload".

Great style.

8thos
10-11-2010, 06:27 PM
Edit the template which corresponds to the section you wish to add an avatar to.Would it be in postbit_legacy template?

dartho
10-11-2010, 11:06 PM
Would it be in postbit_legacy template?

Certiainly postbit and/or postbit_legacy if it is the postbit you want to show avatars in. both postbit templates are the same, so if you make changes to one, you should copy/paste into the other.

Cadellin
10-12-2010, 06:09 PM
Great work!

Two feature requests:
1. Is there a way of enabling signatures for all posts on the theme?
2. Redirecting the CMS pages to the forum instead.

Crimm
10-13-2010, 07:53 PM
I had troubles with vbadvanced CMPS as well. I played with work arounds, but the only one that has been fully successful so far has been to go into the Integration Output plugin for vBadvanced (Note: This is the plugin that is breaking the style - Disable it and the style works) and take Dartho's mobile detection code:

if ($vbulletin->options['mobile_skin_enabled'] == 1)
{
$mobilebrowsers = array(
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"iPhone",
"iPod",
"Mobile",
"T68",
"Syncalot",
"Danger",
"Symbian",
"Symbian OS",
"SymbianOS",
"Maemo",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"Wireless",
"Handheld",
"Smartphone",
"SAMSUNG",
"J2ME",
"MIDP",
"MIDP-2.0",
"320x240",
"240x320",
"Blackberry8700",
"Opera Mini",
"NetFront",
"BlackBerry",
"PSP"
);

if(preg_match('/('.implode('|', $mobilebrowsers).')/i', $_SERVER['HTTP_USER_AGENT'], $match))
{
$mobile=1;

}
elseif (strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml'))
{
$mobile=1;
}
elseif (strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml'))
{
$mobile=1;
}

if ($mobile != 1) {

Add that before the Integration Output plugin

The add a

}

At the end.

I take no responsibility to the results of that. I know it's dirty, but it's working for now :P

Just thought I'd share, until a permanent fix comes out :)

You can also wrap the plugin in a if statement to check the style CHOSEN:

if ($vbulletin->userinfo['styleid'] != MOBILE STYLE ID) {

Don't forget to close your tag. Note: It only works if they CHOOSE the style. Therefore I have both these if statements in there in case a PC user chooses the lightweight style.

Great work as always Dartho. Again, just sharing knowledge... Backup and test any changes. :)

8thos
10-13-2010, 10:38 PM
Has anyone been able to add avatars in their mobile style? I've tried and it didn't work. I am using vb4.07.

kawe
10-14-2010, 04:33 PM
Navigation Number Page isn't show anymore on SHOWTHREAD on SHOWPOST

zohar1979
10-15-2010, 08:05 PM
I put all this stuff in my forum root, but it doesn't import correctly. Does it have to be in a folder in the Styles folder of my vbulletin FTP?

RealLifeHacks
10-16-2010, 09:10 AM
I need help :( I loved this skin right from the moment i saw it the first time so I installed it (including the "options" addon and the "auto detection". both work just fine btw) but the style overrode my 2 original styles. (atleast i looks like it did)

this is how it looked before: https://vborg.vbsupport.ru/attachment.php?attachmentid=122832&stc=1&d=1287223292

and this is how it looks now: http://reallifehacks.com/forum.php
https://vborg.vbsupport.ru/attachment.php?attachmentid=122833&stc=1&d=1287223941

i've read that vbadvaned causes problems so i disabled it but it didn't help at all...

also the page doesn't reload after changing the skin with the quick chooser :( i would be pritty upset if i had to do a rollback on my server (i already uninstalled the skin but the result was the same. my styles are messed up)

i'm running vb 4.0.7 with the following addons installed:

Admin Log In As User 3.21
Footer Link 1
LAM - Quote Img to URL 4.0.6
Lightweight Style Options 1.0.0
Mobile Device Detection 1.0.1
Post Thank You Hack 7.82
SevenSkins Image Resizer 1.0.1
Tabs en vBulletin 4.x 2.0.3
vBadvanced CMPS 4.0.1
vBSEO 3.5.2
vBSEO :: Sitemap Generator 2.6 Beta 2

can someone pls help me out and tell me what i did wrong (i installed it as i was told in the instructions in the first post)

dartho
10-16-2010, 10:35 AM
It soudns like you merged it into your master or default style. You can fix this by uploading tools.php from the vbulletin install package to your admincp and restore your master style (very first setting)

RealLifeHacks
10-16-2010, 12:50 PM
well now i got it working. in case anyone has the same problem: create a new style. then upload this style and install it. while installing choose "merge with other skin" (im not sure how its called in the english version. my acp is in german...) select your newly created skin. done :D

thx to dartho for the tip with the merged skins.

next question: has anybody a good idea how to deal with google adsense? the banners are much to big now :P

dartho
10-17-2010, 09:47 AM
look at google adsense mobile. I posted up code in thr 3.8 version of a mobile skin somewhere on how to integrate it, but I'd be suprised if it hasn't changed and is much easier since then

nike.stars
10-18-2010, 10:32 AM
@dartho
could you use the same paging system like vb standard styles in thread view so that user can choose first/last page instead of navigating it one by one?

dartho
10-18-2010, 09:49 PM
Check post 103 - https://vborg.vbsupport.ru/showpost.php?p=2102543&postcount=103

nike.stars
10-19-2010, 04:01 AM
Check post 103 - https://vborg.vbsupport.ru/showpost.php?p=2102543&postcount=103

that's great, probably you should include it on next revision or attach this information on first post :)

robbiefritz
10-19-2010, 10:55 PM
I installed the xml it proceeded to merge templates and when complete, did not show a new style. Create a new style was selected at the time. Any ideas?

dartho
10-20-2010, 11:33 AM
@nike - yeah, it's there waiting to be included, just a busy time of year for me at the moment

@robbie - Dunno - try again?

Alex@Mk3OC
10-24-2010, 10:45 PM
Having a problem with this style on my vb 4.0.8 test installation, when ever I try and post a thread or reply to a thread it gives me the following DB error:

Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, htmlstate, username, userid, title, pagetext, iconid, visible, parentid, threadid, dbtech_thanks_enablethanks, dbtech_thanks_requirethanks_content, dbtech_thanks_requirethanks_attach, dbtech_thanks_enablelike, dbtech_thanks_requirelike_content, dbtech_thanks_requirelike_attach, dbtech_thanks_enabledislike, ua, dateline, ipaddress, attach)
VALUES
(0, 1, 'on_nl2br', 'Alex', 256, '', '[QUOTE=Alex;603550]Justin has a medal :o[/Q UOTE]\r\n \r\nTesting quoted replies on the smartphone style', 0, 1, 603550, 43271, '1', '0', '0', '1', '0', '0', '1', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7', 1287962753, '194.72.102.165', 0);

MySQL Error : Unknown column 'ua' in 'field list'
Error Number : 1054
Request Date : Monday, October 25th 2010 @ 12:25:53 AM
Error Date : Monday, October 25th 2010 @ 12:25:53 AM
Script : http://xxxxxx.com/forum/newreply.php
Referrer : http://xxxxxx.com/forum/newreply.php?do=newreply&p=603550
IP Address : xxx.xxx.xxx.xxx
Username : Alex
Classname : vB_Database
MySQL Version : 5.0.45

dartho
10-25-2010, 01:07 AM
That wouldn't be this style causing that, but it looks like it is related to the Options add-on that goes with this style. Try uninstalling, and then re-installing "Lightweight Style Options" (https://vborg.vbsupport.ru/showthread.php?t=249339)

Also, read the "Notes" section of the first post in that thread ...

NobbyTSL
10-25-2010, 02:03 PM
Dartho, I've been wanting to install your mobile skin on my forum for quite a while (I keep completely forgetting to post why I can't in here whenever I try)

I download the skin & install it all fine but I don't like how you can't select to change the skin once you're on the mobile skin.

I believe this problem can be solved by using the Lightweight Style Options (https://vborg.vbsupport.ru/showthread.php?t=249339) mod.

The problem there is whenever I download it I get the following problem. (It saves to my desktop looking like a .rar file but when I click it to open I get this)

http://img255.imageshack.us/img255/7824/clipboard01s.png

What am I doing wrong?

OldSchoolDSL
10-26-2010, 02:29 AM
Working flawlessly on 4.0.8
Thank you :)

DevilZone
10-26-2010, 04:28 PM
Please help me
i've install the mod . but it can not run nomally
please help , dartho

dartho
10-26-2010, 09:03 PM
@ DevilZone,
Looks like you have an add-on/plugin installed which is changing templates. Work out which one (maybe disable each add-on one by one) and then I might be able to help

@NoddyTSL
Try the one attached to this post - I just downloaded it, zipped it and attached here.

DevilZone
10-27-2010, 02:51 AM
Thanks for your help man :)

DevilZone
10-27-2010, 06:15 AM
Thanks Dartho so much :)

At new version . please fix and update some style man :)
avatar , user colour , thanks button, member info ...
user page , blog and best is update for cms . okay ?

Thanks and best regards

dartho
10-27-2010, 07:52 AM
vBulletin will have a version soon which should support blogs and CMS, so there is no development on this until they release theirs.

As for the other suggestions - you can easily add most of those !

DevilZone
10-27-2010, 08:38 AM
i'm using the suite version vbulletin , so i have blog and cms in there

my mobile style isn't support blog and cms , so i wish you will fix for theme

thanks

NobbyTSL
10-27-2010, 09:41 AM
@NoddyTSL
Try the one attached to this post - I just downloaded it, zipped it and attached here.

Thanks mate, that worked fine.

Much appriciated. :up:

DevilZone
10-28-2010, 04:02 AM
**Install and configure "LightWeight Style Options"

i've done , but it does not detect mobile . :-<

thieu.bocap
10-28-2010, 09:05 AM
Can't modified threadbit template,

Error Message: Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3362

Please, help me!

DevilZone
10-28-2010, 10:52 AM
Can't modified threadbit template,

Error Message: Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3362

Please, help me!

GMS.VN :-< Please reup the footer and do not remove : Mobile Style by Dartho

Good code cms :D like me

thieu.bocap
10-29-2010, 02:59 AM
GMS.VN :-< Please reup the footer and do not remove : Mobile Style by Dartho

Good code cms :D like me

Ch?u xin, vạch ?o cho người xem lưng :((

DevilZone
10-30-2010, 04:46 AM
Ch?u xin, vạch ?o cho người xem lưng :((

do not remove footer please . :)

what happens with your forum ?

MattLuria
10-31-2010, 04:55 AM
Edit: Nvm. Restarting my browser, i was able to download the file.

robdawg
11-01-2010, 11:07 PM
Anyone get this to work if you have VBAdvanced or vbSEO?

robdawg
11-01-2010, 11:42 PM
Just answered my own question.

I created a Plugin:

Product: vBulletin
Hook Location: Global Complete
Title: Disable vBAdvanced for Mobile Style
Execution Order: 2
Code:
if ($vbulletin->userinfo['styleid'] == 5)
define('SKIP_OUTPUT', 1);

IMPORTANT - Make sure to replace "5" with the ID to your mobile style. This will basically set a flag for vbAdvanced to NOT process the template output.

If anyone has feedback, post it up. Hope this helps someone.

Robbed
11-06-2010, 06:01 PM
dartho, I use your force style to domain with this style. It works to reach the site but when you start clicking forums and link it goes back to the main skin.

Has anyone got this going?

dartho
11-07-2010, 12:01 AM
got a link for me to check?

Robbed
11-07-2010, 09:43 PM
Thanks for the help. It's woking good.

One request members have been asking for is to scale the images like previous version. I'm not sure if it was you're 3.6 mobile style that did that.

Robbed
11-07-2010, 11:03 PM
I had issues with the image showing.

<div class="logo" style="text-align:right;">
I had to add this code higher up near the title code.

dartho
11-08-2010, 12:22 AM
The 'Mobile Style' used to only display a link as opposed to the image. If you want to try tthis, check post #80 https://vborg.vbsupport.ru/showpost.php?p=2097304&postcount=80

Yurified
11-10-2010, 05:19 PM
Does this work with 4.0.8?

stijndevreede
11-12-2010, 01:18 PM
I just installed this style... but i wanted to switch back to my normal style, but it doens't work, now my forum is still white and not working right.
How can I fix this? My good style has been set to default but it doesnt work :O

Here is my URL: http://www.jelplusforum.nl/

Help me please!

Brandon Sheley
11-12-2010, 02:04 PM
I just installed this style... but i wanted to switch back to my normal style, but it doens't work, now my forum is still white and not working right.
How can I fix this? My good style has been set to default but it doesnt work :O

Here is my URL: http://www.jelplusforum.nl/

Help me please!

I've looked over this site and here is a little more info
the admin has no plugins installed
I've tested this on a brand new default style
it's still adding your copyright and messing up the style even tho NO plugins are installed
Why would this plugin keep adding the copyright text and formating the style if the plugin isn't installed?
is there something hidden somewhere.

I'd urge everyone to stay away from this "mobile" hack, it'll mess up your site big time. :down:

dartho
11-12-2010, 09:01 PM
This is not a hack, nor a plugin or product, it is a style. There is nothing "hidden". The only PHP code is in the CSS generation which is so simple that it is transparent to anyone with even a modicum of knowledge.

Looking at the site above, it looks like the user has merged this style into his master sytle, ultimately overwriting the base vbulletin style from which all else is inherited.

The reason the copyright appears is because the footer template from this style has been merged into the master template, as have all other templates from this style. Comments such as yours just shows a lack of knowledge.

This style is not set as a master style (look in the XML), yet this has been reported on about 5 sites (out many hundreds) so either there is a bug in vBulletin somewhere allowing this to happen rarely, or there is user error.

Now to fix the problem: Upload tools.php from the vbulletin install files to your admincp, run it and rebuild the master style (I think that's what it is called - it's one of the first options)

stijndevreede
11-12-2010, 09:20 PM
Now to fix the problem: Upload tools.php from the vbulletin install files to your admincp, run it and rebuild the master style (I think that's what it is called - it's one of the first options)

I fixed it. Thank you really much!

A beginning vBulletin user

barakuda
11-13-2010, 07:08 PM
i installed this style with microclassifeds but classifieds menu not show up

dartho
11-14-2010, 12:10 AM
You would need to manually add that, also - microclasssifieds, nor any other addon, will likely not render well in this style.

wullieclsfb
11-14-2010, 07:13 PM
Hello is there anyway i can get mobile devices to detect this style

wullieclsfb
11-14-2010, 07:53 PM
Hello is there anyway i can get mobile devices to detect this style

I have got this sorted now :D

dartho
11-14-2010, 08:42 PM
try https://vborg.vbsupport.ru/showthread.php?t=249967

barakuda
11-16-2010, 10:32 PM
can't post and can't register

barakuda
11-22-2010, 05:08 PM
ok i found the problem
thanks and mark as installed again

rughis
11-22-2010, 10:15 PM
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:

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

Mazide
11-24-2010, 07:03 AM
Please help me
i've install the mod . but it can not run nomally
please help , dartho :(

dartho
11-24-2010, 09:25 AM
A little more information may help.

what do you mean by "but it can not run nomally"

kombb
11-27-2010, 01:38 AM
nice job dartho :)

thanks

whites
12-02-2010, 06:33 PM
Are there any plans to update this for 4.1.0, or is it fully compatible?

dartho
12-03-2010, 12:04 AM
Quick test show no update really necessary, although there was one issue when you use the add-on for this style which can be rectified with a template edit

whites
12-03-2010, 10:16 PM
Quick test show no update really necessary, although there was one issue when you use the add-on for this style which can be rectified with a template edit

Perfect, thanks dartho. Looks like I'll be able to do the upgrade early next week, as our main style should be updated this weekend.

Thanks!

RaceJunkie
12-05-2010, 02:06 AM
Has anyone been able to get this style to work using vBadvanced with integration? I have tried the suggestions in this thread but have no luck. I am integrating my forums home page and when i have that enabled and this style. The style is unreadable. My members really like it but I need to run the vBadvanced because I use it to display ads in a right column.

I never had an issue with the 3.8 version of the mobile style only once I upgraded to 4.0 and started using this one.

dartho
12-05-2010, 07:22 AM
Did you try the suggestion on the previous page? (post #167) If it doesnt work at first, also try substituting

if ($vbulletin->userinfo['styleid'] == 5)
for

if (STYLEID == 5)

Alec W
12-05-2010, 03:57 PM
I'm not sure what I did wrong but I installed it on 4.1.0 and basically get none of the style.

This is on a localhost test so I can't give you a URL. I disabled all my plugins but get teh same results.



124208



Edit:

Disregard, I should learn how to read all the prior posts, short tags are off on my host but the alternate ccs on post two worked.



Thanks for the mod :)

OldSchoolDSL
12-05-2010, 06:07 PM
uninstalled

RaceJunkie
12-05-2010, 07:56 PM
Did you try the suggestion on the previous page? (post #167) If it doesnt work at first, also try substituting

if ($vbulletin->userinfo['styleid'] == 5)
for

if (STYLEID == 5)



Thanks the second option done the trick..

RaceJunkie
12-07-2010, 01:40 AM
If I select the PC Mode on my phone, I'm stuck using it. How to I get back to the Mobile version, if I have it disabled from the style chooser?

dartho
12-07-2010, 07:26 AM
Whats the point of removing it from the style chooser if you want to be able to select it?

If you have teh autodetect hack on (the version which allows override) in theory, closing all browser sessions and logging back into your site should re-enable teh autodetect bit. Clearing of cookies might be require - different browsers do different things :S

barakuda
12-11-2010, 01:34 PM
i've got this message in template admin section
The attempted merge failed due to conflicts

dartho
12-11-2010, 08:54 PM
edit and save all of those without making any changes

thieu.bocap
12-13-2010, 06:42 AM
How to resize image in post this style?

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
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;"
?

Is this compatible with 4.1 as well?
Yes, as far as I know

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
thanks for what?



Post thanks!

dartho
12-17-2010, 06:55 AM
you're welcome!

barakuda
12-18-2010, 03:59 AM
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:

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

<p>


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

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

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 (https://vborg.vbsupport.ru/showthread.php?t=249677)

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

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

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

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
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/showthread.php?t=249967&highlight=mobile for detection and yes it is working with the latest version of vBulletin

The Rocketeer
01-04-2011, 02:57 PM
no and yes :)

No it doesn;t autodetect mobile devices see https://vborg.vbsupport.ru/showthread.php?t=249967&highlight=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. (https://vborg.vbsupport.ru/showthread.php?t=239287)

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 (https://vborg.vbsupport.ru/showthread.php?t=249677)

DaffyDuck
01-09-2011, 07:54 PM
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)

I did upload the file, but you are probably correct with the short tags reference -- it sees the css file, but doesn't seem to react to all of it. Let me try that -- thanks for your quick response.

EDIT: Thanks, that did it!

wh1t3dr3am
01-10-2011, 03:18 AM
How to change style from mobile to default style ?Any advice ? :D

dartho
01-10-2011, 10:44 AM
How to change style from mobile to default style ?Any advice ? :D

as per install instructions:

**Install and configure "LightWeight Style Options" (https://vborg.vbsupport.ru/showthread.php?t=249339)

@BadgerDog - I will get back to you soon

Mark Hewitt
01-15-2011, 02:19 PM
Sorry if this is an obvious question but I've installed it and it overwrites my default style! I've had to revert to a backup copy of the database to get rid of it! What have I done wrong?

Mark Hewitt
01-15-2011, 02:45 PM
PS I have installed Lightweight sytle options - I think! But then it still only gives me the mobile style I cannot get back to the default style - more database restores and lost posts :( Nightmare.

dartho
01-15-2011, 10:07 PM
sounds like you merged it into your default style - this now has happened to about 3 people that I know of and I can see no reason why. Perhaps it's a bug in vBulletin? Do you have debug mode enabled?

Make sure you add it as a child style. Someone else said they created a new style with no parent, and then merged this one into that.

You don;t need to do DB restores to fix either, in teh vBulletin download package there is a tools.php file - upload it to admincp, open in browser and rebuild master style. That will fix. In the mean time I'll report as a bug ...

BadgerDog
01-15-2011, 10:13 PM
@BadgerDog - I will get back to you soon

Roger that ... :up:

Regards,
Doug

fly
01-15-2011, 10:18 PM
sounds like you merged it into your default style - this now has happened to about 3 people that I know of and I can see no reason why. Perhaps it's a bug in vBulletin? Do you have debug mode enabled?

Make sure you add it as a child style. Someone else said they created a new style with no parent, and then merged this one into that.

You don;t need to do DB restores to fix either, in teh vBulletin download package there is a tools.php file - upload it to admincp, open in browser and rebuild master style. That will fix. In the mean time I'll report as a bug ...

I've done it before, and it wasn't a bug. ID10T error

Mark Hewitt
01-16-2011, 09:44 AM
Tried it again but adding it as a child style, same result it seems to overwrite *all* my styles, if I do index.php?styleid=XX all I ever get is the mobile style!

Here's what I'm doing - vbulletin 4.1.1

Download / Upload Styles
Import Style XML File:
Import the XML from your server: mobile.xml (renamed by me)
Merge into style: (Create new style)
Ignore style version: Yes
Title for uploaded style: Mobile
Parent Style: Default Style
Display Order: 10
Allow user selection: Yes

It then goes through the upload process, which appears to be sucessful, but then I just get the mobile style and nothing else!

dartho
01-16-2011, 12:15 PM
give it a go with no parent (which would make teh Master style the parent which is the default style unmodified)