Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lightweight Style Options for "Lightweight Style" Details »
Lightweight Style Options for "Lightweight Style"
Mod Version: 1.0.0, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Aug 2022 I like it Show Printable Version Email this Page

vB Version: 4.0.6 Rating: (29 votes - 4.90 average) Installs: 438
Released: 26 Aug 2010 Last Update: Never Downloads: 2190
Not Supported DB Changes Uses Plugins Auto-Template  

Firstly - this is only of use if you have installed the Lightweight Style

Secondly - make sure you read the notes if you use the Mobile Style and the Mobile Style Options addon.

OK, now that the formalities are over, this is an add-on to the Lightweight Style It allows you to customise a few common parts of the style without needing to edit templates.

It also adds in options to disable some products when the Lightweight style is being used and optionally adds "Posted by Mobile Device" type text into posts created using the mobile style.

* Optionally adds links to default style (in footer or header)
* Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised)
* Optionally display "What's Going On" box in forum home
* Optionally display Style Chooser in footer
* Set 'Home' link URL (rather than editing templates)
* Can optionally hide mobile style from Style Chooser

Version Control:
1.0.0 - 26 AUG 2010 - Initial Release

Notes:
If you have installed "Mobile Style Options" (vb4) and make use of the 'Posted via Mobile Device' option, uninstalling Mobile Style Options will remove all records of posts made using the Mobile Style. The posts will of course remain, just the message will be gone. If this is not an issue for you - uninstall it BEFORE installing this addon. If you wish to keep those records, rather than uninstall it, disable it OR edit the product via Product Manager and remove all the uninstall code, save and then uninstall (this last option is the cleanest)

Running them both is OK, but you will need to disable the "Add Posted By Mobile Message to Post" plugin on the Mobile Style Options product. Uninstalling one of them will affect the other and cause errors as they share database columns. If you uninstall one without making the uninstall code changes, you shjould uninstall both and then re-install the one you are staying with.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Style Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) dartho vBulletin 4.x Styles 1131 15 Aug 2022 21:42
Add-On Releases Extend and Customise "Mobile" Style Options dartho vBulletin 3.7 Add-ons 193 09 Jun 2010 15:03
Add-On Releases Fast and Lightweight AJAX Musicbox for vBulletin 3.6.x silveryhat vBulletin 3.6 Add-ons 19 05 Dec 2009 04:52

  #16  
Old 26 Aug 2010, 23:04
dartho dartho is offline
 
Join Date: Sep 2005
I re-read it and saw it wasn't real clear either - I've edited the notes to be a little more clear.

You're right - I thought about creating unique column names, but then thought many would want to retain the data so kept them the same. I'm no genius coder either - if I was, I'd proibably have the install file check and throw up warnings etc during installation
Reply With Quote
  #17  
Old 26 Aug 2010, 23:19
flyerndiver flyerndiver is offline
 
Join Date: Jan 2010
Damn. I misread it too and now I can't uninstall them both because the uninstaller stops at the two DROP calls. Could you tell me what the attributes need to be so that I can recreate these two columns?

Thanks; great mod! I hope it will one day support blogs and CMS.

edit: nevermind, I edited the uninstall code and now only have the lightweight style options running. Thanks again!

Last edited by flyerndiver; 26 Aug 2010 at 23:24.
Reply With Quote
  #18  
Old 28 Aug 2010, 13:39
Mopar Rob Mopar Rob is offline
 
Join Date: Jul 2010
Ok here is a real NEWB question.. Not sure where to find this basic install info on the forums. I imported/merged this file into the lightweight mobile style. (Assuming that was done correctly) Now I cant find where to access these options??? Again sorry for the newb question but .. IM LOST.
Reply With Quote
  #19  
Old 28 Aug 2010, 14:33
dartho dartho is offline
 
Join Date: Sep 2005
In AdminCP, Go into teh Settings, Options menu and then Lightweight Styl;e Options (Should be near end) and you can change settings there.
Reply With Quote
  #20  
Old 28 Aug 2010, 15:42
Mopar Rob Mopar Rob is offline
 
Join Date: Jul 2010
Originally Posted by dartho View Post
In AdminCP, Go into teh Settings, Options menu and then Lightweight Styl;e Options (Should be near end) and you can change settings there.
I do not see it?? Ok here were my steps:

- I went to Styles /upload and merged the product-lsoptions.xml file to the Mobile style

Now when I goto Settings/Options I do not see the Lightweight Style Options listed in the menu.

Do I need to update tables or run any maint??? Sorry again for the Newb Questions..
Reply With Quote
  #21  
Old 28 Aug 2010, 22:53
dartho dartho is offline
 
Join Date: Sep 2005
Install this via Product Manager, not Style Manager!
Reply With Quote
  #22  
Old 29 Aug 2010, 20:30
burntire burntire is offline
 
Join Date: Jun 2006
Originally Posted by flyerndiver View Post
Damn. I misread it too and now I can't uninstall them both because the uninstaller stops at the two DROP calls. Could you tell me what the attributes need to be so that I can recreate these two columns?

Thanks; great mod! I hope it will one day support blogs and CMS.

edit: nevermind, I edited the uninstall code and now only have the lightweight style options running. Thanks again!

Here is how I fixed the issue with double installation.

With both products installed you only have to work with the old product moboptions40.

Download the old product
http://www.vbulletin.org/forum/showthread.php?t=229044
product-moboptions40-1.0.4

Open the product in an HTML editor and find the uninstall code

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

Replace the uninstall code with

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


Now import the moboptions40 product again allowing over wright. This will install the product without the conflicting un-install code.

Now un-install the old product moboptions40.

The new Lightweight product should now work correctly.
Reply With Quote
  #23  
Old 30 Aug 2010, 14:49
fly fly is offline
 
Join Date: Oct 2003
Okay, when I enable the 'posted by mobile device', the pipe character | doesn't line up with the rest of the post box. Is that because I'm running 4.0.4, something I've done, or is it like that for everyone?
Reply With Quote
  #24  
Old 30 Aug 2010, 22:37
dartho dartho is offline
 
Join Date: Sep 2005
Not sure. I think I wrote it pre 4.0.4, although I could be wrong. It's lining up on my test site. Do you have a link I could look at?
Reply With Quote
  #25  
Old 30 Aug 2010, 23:34
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by dartho View Post
Not sure. I think I wrote it pre 4.0.4, although I could be wrong. It's lining up on my test site. Do you have a link I could look at?
If its lining up for you, its likely edits I've done. Just in case...

http://uselessforums.com/showthread....370#post729370
Reply With Quote
  #26  
Old 31 Aug 2010, 00:40
Mopar Rob Mopar Rob is offline
 
Join Date: Jul 2010
Originally Posted by dartho View Post
Install this via Product Manager, not Style Manager!
Thanks Man.. Told ya it was a newb Question.. WORKS GREAT!!!!!!!!!!!!!!!!!!
Will be sending you a donation your way 4sure.

My only 1 request would be to have an option to show the name of the forum the post is in. I have certain posts that are in Private sections and when i use the NEW POSTS feature it doesnt alert me what section of the forum its in. Other than that.. KILLER MOD!!!
Reply With Quote
  #27  
Old 02 Sep 2010, 15:05
LuisManson LuisManson is offline
 
Join Date: Jun 2010
is it me or this wont redirect users to the theme if they are coming from a mobile?
Reply With Quote
  #28  
Old 03 Sep 2010, 01:34
dartho dartho is offline
 
Join Date: Sep 2005
No, this addon does not do the mobile detect thing. This one (http://www.vbulletin.org/forum/showthread.php?t=226946) does (and yes, it is compatible with vb4)
Reply With Quote
  #29  
Old 03 Sep 2010, 23:29
LuisManson LuisManson is offline
 
Join Date: Jun 2010
Originally Posted by dartho View Post
No, this addon does not do the mobile detect thing. This one (http://www.vbulletin.org/forum/showthread.php?t=226946) does (and yes, it is compatible with vb4)
thankyou very much
Reply With Quote
  #30  
Old 05 Sep 2010, 00:44
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
hey dartho.

i have both mobile and lightweight skins and options addons installed.
it's now showing double "posted via mobile device" below posts :S
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:55.

Layout Options | Width: Wide Color: