vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=249277

tambo 14 Apr 2012 11:35

I've got this running, but I was wondering if it is possible to move the lightweight.css.php file to another location, rather than root?

Would I have to edit something in the templates or xml file?

Why would I want to ask this? Not all Admins on our board have root access, but access to different parts of the server, based on their interests/expertise. It would be good to give the person responsible for styling access to the CSS file, without giving them root access.

EDIT: Never mind. I got it.

Use 'Replacement Variable Manager' in ACP.

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...and then move the lightweight.css.php file to that location.

You'll then need to edit the CSS file 'Logo Image Location' to locate the logo image from root (as it's no longer relative). So, in my case:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...or wherever you want to put it. There's probably an easier way. :D

Great mod by the way. Very impressive.

etca 15 Apr 2012 04:22

2 Attachment(s)
dear dartho,

how to fix this? my vbul. 4.1.12
1. on 4.1.12, clicking quote on mobile style wont include the quoted message.
2. empty page, there are no 1, 2, 3 ... . see the attachment.

dartho 16 Apr 2012 23:44

I just updated my test site (vbdev.org) and have none of the problems reported above? Anyone else?

@Semprot - if you want to try and add reputation, the button code would be something like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Alan_SP 18 Apr 2012 09:09

Quote:

Originally Posted by semprot (Post 2320882)
if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"

You could use http://www.vbulletin.org/forum/showthread.php?t=249339, I have it installed and there you could set this style as default.

I tested it on computer, not mobile phone, so I'm not sure that this style will actually get selected for mobile devices.

Bounce 18 Apr 2012 20:11

Quote:

Originally Posted by semprot (Post 2320882)
More update :
  • if i upload lightweight style as normal style (i didnt select mobile as parent), quote is working, but it wont appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers"
  • If i upload it as mobile style, quote is not working, but it will appear on "Style & Language Settings" >> "Default Style for Old Mobile Browsers".

Yip, quotes dont work if style is parent of mobile styles default

does work if it has no parent.
:up:

Bounce 19 Apr 2012 20:26

cancel that, i still dont have this working :(

Alan_SP 20 Apr 2012 10:02

Strange. I installed as new style, after that I deleted old one. Quoting works for me, only I changed phrase from reply to reply_with_quote (postbit_legacy).

I didn't noticed problems so far, but it's still too early to tell for sure that there are no problems.

etca 21 Apr 2012 22:07

Quote:

Originally Posted by semprot (Post 2321880)
still having problem with quote?
I suggest you to delete old lightweight style & re-add it with non-mobile no-parent.

thx. solved on my prob :)

The Rocketeer 24 Apr 2012 11:14

2 Attachment(s)
Hi, I think we are finally ready to move on to the default vBulletin theme, But before that I wanted to share the vB CMS Article pages, I saved these two files, AFAIK this worked well with our CMS and should work with your too.

All the best and thanks for the Style and effort. :up:

djbaxter 27 Apr 2012 12:53

I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?

Alan_SP 28 Apr 2012 13:43

Just two posts before yours is answer: http://www.vbulletin.org/forum/showp...&postcount=888

Install this mod and you'll be able to set this style as default for mobile devices. Just turn off vB's default system for setting default mobile style for mobile devices.

djbaxter 28 Apr 2012 14:03

But I don't want to disallow users from using the vBulletin mobile version. I just want to add the option for mobile users to select this one.

I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.

Suggestions?

dartho 29 Apr 2012 09:34

Quote:

Originally Posted by djbaxter (Post 2324019)
I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?

1. Uncached templates are from vBulletin removing templates that are in teh non-mobile default (or more correctly MASTER) style. It would seem they then proc3eed to hide these templates form the style manager :confused: I think the way to reolve this would be to deleted those templates from the XML file before installing it.

2. On my test site I can happily select both this style and vBulletins Mobile style as default style for both old and/or modern mobile browsers?

In order to have links to other mobile styles, you will need to make edits to templates (probably footer) and add in links there. It would appear that vBulletin have removed the style chooser code from the mobile styles? A plugin would have to be written to create this or you may be able to manually add the code to your style.

A plugin could also be conceivably written to detect visitors viewing your CMS from this style and flick them over to vBulletins style?

Alan_SP 29 Apr 2012 11:34

Quote:

Originally Posted by djbaxter (Post 2324305)
I have the Suite. Now the CMS doesn't get a lot of use and blogs are currently disabled so the forum is the main focus, but this style, unlike the vBulletin mobile style, doesn't provide for anything but the forum.

Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.

djbaxter 30 Apr 2012 03:32

Quote:

Originally Posted by Alan_SP (Post 2324560)
Actually it does. You can look at CMS, Blog, I even look at VaultWiki articles with this style. It is not optimized, but it is usable. Test it yourself. Add direct links in navbar manually as I did and you'll see that it works.

Thank you. I'll look into this further...

However, even with the Options add-on installed, my iPhone will not select this style as default unless I fully delete the vBulletin Default Mobile Style. Setting the vBulletin Stytle options to "None" for Mobile does not work.

Does that correspond with your experience?


All times are GMT. The time now is 14:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.