PDA

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


Pages : [1] 2 3 4 5

dartho
25 Aug 2010, 06:42
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.

http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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
25 Aug 2010, 06:43
F.A.Q.

Q. How can I integrate Abe1's Post Thanks Hack?
A. See here: http://www.vbulletin.org/forum/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" (http://www.vbulletin.org/forum/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 http://www.vbulletin.org/forum/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) http://www.vbulletin.org/forum/showthread.php?p=2184007#post2184007)

Alternatively, you can use replacement variables to turn images into links, check this post: http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showpost.php?p=2102543&postcount=103)

Q. The editor is messed up in 4.1.4 - how to fix?
A. See http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showthread.php?t=249339)' add-on
A. See this post for a fix: http://www.vbulletin.org/forum/showthread.php?p=2264831#post2264831

Q. The PM list is showing "Array" rather than the sender
A. See this post: http://www.vbulletin.org/forum/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 http://www.vbulletin.org/forum/showthread.php?p=2273172#post2273172

Q. I see Array instead of thread tags?
A. See post http://www.vbulletin.org/forum/showpost.php?p=2275323&postcount=618

Q. I see <br /> instead of line breaks when quoting, full reply
A. See post: http://www.vbulletin.org/forum/showpost.php?p=2275317&postcount=617
if this doesn;t work, check this post also (http://www.vbulletin.org/forum/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 http://www.vbulletin.org/forum/showthread.php?p=2280973#post2280973

Bluefin221
25 Aug 2010, 08:21
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
25 Aug 2010, 08:36
I can not reproduce this behaviour on my test site vbdev.org.

dartho
25 Aug 2010, 09:08
What type of device are you using to submit the thread?

DAMINK
25 Aug 2010, 09:40
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
25 Aug 2010, 09:41
tagged and thanks

dartho
25 Aug 2010, 09:48
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
25 Aug 2010, 11:16
Cheers Dartho.
Great option mate. Big thumbs up.

Kolbi
25 Aug 2010, 12:08
nice :)

Are there big changes since version 2.11?

dartho
25 Aug 2010, 12:33
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
25 Aug 2010, 12:44
Whoa, very slick

najaru
25 Aug 2010, 13:06
very very good thanks

djawir
25 Aug 2010, 14:07
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
25 Aug 2010, 14:55
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
25 Aug 2010, 17:18
here is screenshot on my device nokia e71 using default browser

Mopar Rob
25 Aug 2010, 18:04
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
25 Aug 2010, 18:12
Being told the 'Mark Forums Read' button doesn't work again...?

slinky
25 Aug 2010, 20:42
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
25 Aug 2010, 22:00
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
26 Aug 2010, 00:04
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:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a></div>

dartho
26 Aug 2010, 00:15
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
26 Aug 2010, 00:54
Thank you
Regards

dartho
26 Aug 2010, 04:26
Lightweight Style Options 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
26 Aug 2010, 05:25
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
26 Aug 2010, 05:54
very nice 4.0 mobile style
/me tags this one

reimic
26 Aug 2010, 09:03
is there anyone out there who can optimize the cms section?

omanmoon.net
26 Aug 2010, 14:35
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
26 Aug 2010, 14:45
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
26 Aug 2010, 14:48
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
26 Aug 2010, 15:37
any way thanks man for your good work
i will try with it :)

benstillman
26 Aug 2010, 16:51
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
26 Aug 2010, 17:04
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
26 Aug 2010, 17:08
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
26 Aug 2010, 21:32
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
26 Aug 2010, 23:45
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
27 Aug 2010, 05:29
is this iphone version out now?
http://vbdev.org/forum.php?styleid=4

Coume
27 Aug 2010, 07:16
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
27 Aug 2010, 12:49
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
27 Aug 2010, 13:10
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
27 Aug 2010, 13:39
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
27 Aug 2010, 19:32
Thanks so much! My users have been really wanting a better style for modern phones. Installed and works great!

BadgerDog
28 Aug 2010, 01:15
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
28 Aug 2010, 01:40
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
28 Aug 2010, 04:28
Excellent https://www.vbulletin.org/forum/external/2012/01/12.gif
Thank you very much

Mopar Rob
28 Aug 2010, 16:35
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
28 Aug 2010, 17:04
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
28 Aug 2010, 17:15
got it, short tag should be on, but this is only for backward compatibility with php4 or 3 but this is almost deprecated :(

dartho
29 Aug 2010, 00:09
Thanks Luis, I've added an alternative CSS to the 2nd post on this thread which you can use instead.

Kaitou Ace
29 Aug 2010, 01:32
Great style!
If I could have a request, I'd love to see support for the vb Blog module.

conradk
29 Aug 2010, 06:07
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
29 Aug 2010, 06:33
looking good, conradk!

ngkong
29 Aug 2010, 08:38
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
30 Aug 2010, 14:25
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
30 Aug 2010, 15:07
mmm... probably :)

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

g0dfather1984
30 Aug 2010, 19:20
Nice! Thank you for this!

LuisManson
30 Aug 2010, 19:35
thanks dartho!!!

whites
31 Aug 2010, 23:49
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
01 Sep 2010, 02:33
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
01 Sep 2010, 13:53
do you have this one for a 3.8.x forum?

whites
01 Sep 2010, 16:49
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
05 Sep 2010, 05:02
Doesn't seem to be working for me as the css is not right nor are the forums shown as links:
121599

dartho
05 Sep 2010, 06:30
I am guesing PHP does not have short tags enabled - see post 2 for an alternative CSS file to download http://www.vbulletin.org/forum/showpost.php?p=2089187&postcount=2

Wilfred1
05 Sep 2010, 07:31
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
05 Sep 2010, 07:38
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
05 Sep 2010, 10:22
Now that is strange...could it be VBSEO or Sorky's subforum list (http://www.vbulletin.org/forum/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
05 Sep 2010, 10:57
Dunno - I'd try disabling them briefly to see what happens

sbsforum.us
05 Sep 2010, 16:18
Great style. Thank you!

jpwilliams
06 Sep 2010, 04:15
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
06 Sep 2010, 04:56
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
06 Sep 2010, 13:05
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
06 Sep 2010, 13:07
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
06 Sep 2010, 18:41
Awesome template, thanks !

LuisManson
08 Sep 2010, 18:19
my version does not have the "pc version" on top.... any ideas?

dartho
08 Sep 2010, 22:51
Install and configure http://www.vbulletin.org/forum/showthread.php?t=249339

swiftor
10 Sep 2010, 15:47
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
10 Sep 2010, 23:10
this add-on : http://www.vbulletin.org/forum/showthread.php?t=249967 does the mobile device detection

swiftor
10 Sep 2010, 23:30
Ah, sorry that I missed that. Thanks!

this add-on : http://www.vbulletin.org/forum/showthread.php?t=249967 does the mobile device detection

struff
12 Sep 2010, 19:43
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
12 Sep 2010, 23:34
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
12 Sep 2010, 23:54
Donated :)

CoZmicShReddeR
14 Sep 2010, 00:42
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
14 Sep 2010, 02:31
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
17 Sep 2010, 08:10
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
17 Sep 2010, 10:59
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
17 Sep 2010, 12:07
@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
17 Sep 2010, 17:47
sent via PM

dartho
18 Sep 2010, 00:19
Thanks ximcix, I see the issue now.

Have a look in at the FAQ in post #2 http://www.vbulletin.org/forum/showthread.php?p=2089187#post2089187 and use the 'longtag' CSS you can download from there!

ximcix
18 Sep 2010, 01:05
Thank you.
Working now
Marked as Installed

asuccar
19 Sep 2010, 02:40
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
19 Sep 2010, 04:54
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 Jnior
19 Sep 2010, 05:53
Great man!

Thanks: INSTALLED!

Rebecca217
19 Sep 2010, 16:49
This is great! Thank you! :)

semprot
21 Sep 2010, 18:40
Thanks, installed

fridaypassion
21 Sep 2010, 20:22
Just installed this and it made my CMS disappear?

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

pandusetiawan
23 Sep 2010, 12:35
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
23 Sep 2010, 13:04
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
23 Sep 2010, 14:27
Oh I see.
Ok..I'll try it tomorrow...thx a lot buddy :)

pandusetiawan
24 Sep 2010, 02:59
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
24 Sep 2010, 03:20
I'm not sure I understand - the postbit is for individual posts - there is no first/last.

Images should work as normal

pandusetiawan
24 Sep 2010, 04:11
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
24 Sep 2010, 04:39
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
24 Sep 2010, 04:52
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
24 Sep 2010, 04:57
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 : http://www.vbulletin.org/forum/showthread.php?t=233871

dartho
24 Sep 2010, 06:05
Try adding


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


in the disable addons code box in 'Lightweight Style Options (http://www.vbulletin.org/forum/showthread.php?t=249339)' settings

pandusetiawan
24 Sep 2010, 06:19
Try adding


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


in the disable addons code box in 'Lightweight Style Options (http://www.vbulletin.org/forum/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
24 Sep 2010, 08:08
try checking with the mod author - they'd know how to disable their code better than I would

pandusetiawan
24 Sep 2010, 08:29
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
26 Sep 2010, 20:35
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
27 Sep 2010, 00:10
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
27 Sep 2010, 06:54
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
27 Sep 2010, 12:35
I can't reproduce this on my phone (WinMo 6.5 HTC) or any desktop browsers (safari, chrome, firefox, IE)

Anyone else?

nike.stars
28 Sep 2010, 17:56
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
29 Sep 2010, 00:01
Rather than redirect to a style link, try pointing m.domain.com to the same webspace as your primary domain and give http://www.vbulletin.org/forum/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
29 Sep 2010, 08:05
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
29 Sep 2010, 10:32
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
29 Sep 2010, 10:34
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
29 Sep 2010, 14:37
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
29 Sep 2010, 14:44
The "PC Mode" link comes when you install and configure "Lightweight Style Options (http://www.vbulletin.org/forum/showthread.php?t=249339)"

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

slinky
29 Sep 2010, 14:50
The "PC Mode" link comes when you install and configure "Lightweight Style Options (http://www.vbulletin.org/forum/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
30 Sep 2010, 06:46
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
30 Sep 2010, 11:26
Are you using Product Manager, or Style Manager? (hint: use the latter)

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

dartho
30 Sep 2010, 12:25
excellent.

reki
30 Sep 2010, 23:12
duh.. how silly am I? Thanks dartho :p

Taurus MFF
02 Oct 2010, 18:23
this style is working great along with your Lightweight Style options (http://www.vbulletin.org/forum/showthread.php?t=249339) and Mobile Auto-Detection product (http://www.vbulletin.org/forum/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
08 Oct 2010, 05:33
How do you add avatars?

dartho
08 Oct 2010, 09:24
Edit the template which corresponds to the section you wish to add an avatar to.

matahari77
09 Oct 2010, 22:17
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
09 Oct 2010, 22:22
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 Oct 2010, 20:49
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
11 Oct 2010, 20:27
Edit the template which corresponds to the section you wish to add an avatar to.Would it be in postbit_legacy template?

dartho
12 Oct 2010, 01:06
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
12 Oct 2010, 20:09
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
13 Oct 2010, 21:53
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
14 Oct 2010, 00:38
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
14 Oct 2010, 18:33
Navigation Number Page isn't show anymore on SHOWTHREAD on SHOWPOST

zohar1979
15 Oct 2010, 22:05
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
16 Oct 2010, 11:10
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: http://www.vbulletin.org/forum/attachment.php?attachmentid=122832&stc=1&d=1287223292

and this is how it looks now: http://reallifehacks.com/forum.php
http://www.vbulletin.org/forum/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
16 Oct 2010, 12:35
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
16 Oct 2010, 14:50
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
17 Oct 2010, 11:47
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
18 Oct 2010, 12:32
@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
18 Oct 2010, 23:49
Check post 103 - http://www.vbulletin.org/forum/showpost.php?p=2102543&postcount=103

nike.stars
19 Oct 2010, 06:01
Check post 103 - http://www.vbulletin.org/forum/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
20 Oct 2010, 00:55
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
20 Oct 2010, 13:33
@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
25 Oct 2010, 00:45
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
25 Oct 2010, 03:07
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" (http://www.vbulletin.org/forum/showthread.php?t=249339)

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

NobbyTSL
25 Oct 2010, 16:03
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 (http://www.vbulletin.org/forum/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
26 Oct 2010, 04:29
Working flawlessly on 4.0.8
Thank you :)

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

dartho
26 Oct 2010, 23:03
@ 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
27 Oct 2010, 04:51
Thanks for your help man :)

DevilZone
27 Oct 2010, 08:15
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
27 Oct 2010, 09:52
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
27 Oct 2010, 10:38
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
27 Oct 2010, 11:41
@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
28 Oct 2010, 06:02
**Install and configure "LightWeight Style Options"

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

thieu.bocap
28 Oct 2010, 11:05
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
28 Oct 2010, 12:52
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
29 Oct 2010, 04:59
GMS.VN :-< Please reup the footer and do not remove : Mobile Style by Dartho

Good code cms :D like me

Chu xin, vạch o cho người xem lưng :((

DevilZone
30 Oct 2010, 06:46
Chu xin, vạch o cho người xem lưng :((

do not remove footer please . :)

what happens with your forum ?

MattLuria
31 Oct 2010, 06:55
Edit: Nvm. Restarting my browser, i was able to download the file.

robdawg
02 Nov 2010, 01:07
Anyone get this to work if you have VBAdvanced or vbSEO?

robdawg
02 Nov 2010, 01:42
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
06 Nov 2010, 20:01
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
07 Nov 2010, 02:01
got a link for me to check?

Robbed
07 Nov 2010, 23:43
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
08 Nov 2010, 01:03
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
08 Nov 2010, 02:22
The 'Mobile Style' used to only display a link as opposed to the image. If you want to try tthis, check post #80 http://www.vbulletin.org/forum/showpost.php?p=2097304&postcount=80

Yurified
10 Nov 2010, 19:19
Does this work with 4.0.8?

stijndevreede
12 Nov 2010, 15:18
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
12 Nov 2010, 16:04
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
12 Nov 2010, 23:01
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
12 Nov 2010, 23:20
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
13 Nov 2010, 21:08
i installed this style with microclassifeds but classifieds menu not show up

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

wullieclsfb
14 Nov 2010, 21:13
Hello is there anyway i can get mobile devices to detect this style

wullieclsfb
14 Nov 2010, 21:53
Hello is there anyway i can get mobile devices to detect this style

I have got this sorted now :D

dartho
14 Nov 2010, 22:42
try http://www.vbulletin.org/forum/showthread.php?t=249967

barakuda
17 Nov 2010, 00:32
can't post and can't register

barakuda
22 Nov 2010, 19:08
ok i found the problem
thanks and mark as installed again

rughis
23 Nov 2010, 00:15
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
24 Nov 2010, 09:03
Please help me
i've install the mod . but it can not run nomally
please help , dartho :(

dartho
24 Nov 2010, 11:25
A little more information may help.

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

kombb
27 Nov 2010, 03:38
nice job dartho :)

thanks

whites
02 Dec 2010, 20:33
Are there any plans to update this for 4.1.0, or is it fully compatible?

dartho
03 Dec 2010, 02:04
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
04 Dec 2010, 00:16
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
05 Dec 2010, 04:06
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
05 Dec 2010, 09:22
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
05 Dec 2010, 17:57
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
05 Dec 2010, 20:07
uninstalled

RaceJunkie
05 Dec 2010, 21:56
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
07 Dec 2010, 03:40
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
07 Dec 2010, 09:26
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
11 Dec 2010, 15:34
i've got this message in template admin section
The attempted merge failed due to conflicts

dartho
11 Dec 2010, 22:54
edit and save all of those without making any changes

thieu.bocap
13 Dec 2010, 08:42
How to resize image in post this style?

FractalizeR
14 Dec 2010, 14:25
Is this compatible with 4.1 as well?

slehmann
14 Dec 2010, 15:17
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
14 Dec 2010, 22:53
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
14 Dec 2010, 23:11
Would be interested, I'll check back for updates.

TITAN-UZ
16 Dec 2010, 23:20
how to add thanks button

dartho
17 Dec 2010, 00:12
thanks for what?

Cyamia
17 Dec 2010, 06:38
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
17 Dec 2010, 08:20
thanks for what?



Post thanks!

dartho
17 Dec 2010, 08:55
you're welcome!

barakuda
18 Dec 2010, 05:59
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
18 Dec 2010, 10:43
To get that shot you've clicked [View Highlighted Changes], click the [edit template] link to edit...

barakuda
18 Dec 2010, 17:53
and then what?

thank you

dartho
18 Dec 2010, 23:08
exactly as I originally posted when you first asked:

edit and save all of those without making any changes

barakuda
19 Dec 2010, 19:10
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
19 Dec 2010, 22:29
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
23 Dec 2010, 19:17
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
23 Dec 2010, 20:35
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
24 Dec 2010, 17:05
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
26 Dec 2010, 17:44
does this style only suppot forum? or also cms, blogs?

TheLastSuperman
30 Dec 2010, 05:56
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
30 Dec 2010, 12:45
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
30 Dec 2010, 13:43
BTW - almost got this ready for a 3.8 beta release

BadgerDog
31 Dec 2010, 16:00
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:

http://www.vbulletin.org/forum/showthread.php?t=249339

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

http://www.vbulletin.org/forum/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
31 Dec 2010, 23:51
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 Jan 2011, 11:53
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 Jan 2011, 23:06
You need to edit the file lightweight.css.php which was uploaded to your forum root

BadgerDog
02 Jan 2011, 01:04
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
02 Jan 2011, 11:42
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
02 Jan 2011, 13:13
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
02 Jan 2011, 16:57
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 (http://www.vbulletin.org/forum/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
03 Jan 2011, 22:34
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
04 Jan 2011, 10:45
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
04 Jan 2011, 12:58
no and yes :)

No it doesn;t autodetect mobile devices see http://www.vbulletin.org/forum/showthread.php?t=249967&highlight=mobile for detection and yes it is working with the latest version of vBulletin

The Rocketeer
04 Jan 2011, 16:57
no and yes :)

No it doesn;t autodetect mobile devices see http://www.vbulletin.org/forum/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
06 Jan 2011, 05:34
nice work :)

res6cue
07 Jan 2011, 05:05
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
09 Jan 2011, 11:28
Whoa, very slick

DaffyDuck
09 Jan 2011, 11:50
Doesn't seem to be working on 4.1pl2 -- shows just text, but no CSS, graphical chrome, or anything.

Any fixes available?

dartho
09 Jan 2011, 12:02
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
09 Jan 2011, 12:19
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. (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showthread.php?t=249677)

DaffyDuck
09 Jan 2011, 21:54
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
10 Jan 2011, 05:18
How to change style from mobile to default style ?Any advice ? :D

dartho
10 Jan 2011, 12:44
How to change style from mobile to default style ?Any advice ? :D

as per install instructions:

**Install and configure "LightWeight Style Options" (http://www.vbulletin.org/forum/showthread.php?t=249339)

@BadgerDog - I will get back to you soon

Mark Hewitt
15 Jan 2011, 16:19
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
15 Jan 2011, 16:45
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
16 Jan 2011, 00:07
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
16 Jan 2011, 00:13
@BadgerDog - I will get back to you soon

Roger that ... :up:

Regards,
Doug

fly
16 Jan 2011, 00:18
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
16 Jan 2011, 11:44
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!