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

Comments
  #2  
Old 26 Aug 2010, 03:19
dartho dartho is offline
 
Join Date: Sep 2005
F.a.q.
Reply With Quote
  #3  
Old 26 Aug 2010, 04:37
sulasno sulasno is offline
 
Join Date: Feb 2010
tagged and thanks
Reply With Quote
  #4  
Old 26 Aug 2010, 05:36
lovelypk lovelypk is offline
 
Join Date: Oct 2005
Does it auto detect Mobile device and change the style to lightweight?
Reply With Quote
  #5  
Old 26 Aug 2010, 05:51
dartho dartho is offline
 
Join Date: Sep 2005
No, it does not. There is an addon for 3.8 which also runs under 4.0 that can do that, however I do hope to update that one of these days and re-release
Reply With Quote
  #6  
Old 26 Aug 2010, 12:00
fly fly is offline
 
Join Date: Oct 2003
dartho, the mobile master!
Reply With Quote
  #7  
Old 26 Aug 2010, 13:22
Alecsmith's Avatar
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Real name: 89183622986
tagged install great work
__________________
website
Reply With Quote
  #8  
Old 26 Aug 2010, 13:36
omanmoon.net omanmoon.net is offline
 
Join Date: Apr 2007
Thanks
Good work
Reply With Quote
  #9  
Old 26 Aug 2010, 15:24
fly fly is offline
 
Join Date: Oct 2003
Uhhh, so after installing this, I uninstalled the Mobile Style Options. Now it appears that I can't post on the forum without a database error! Sweet
Reply With Quote
  #10  
Old 26 Aug 2010, 16:51
fly fly is offline
 
Join Date: Oct 2003
I readded Mobile Style options and the database error went away. My users can now post. However, I'd really like to be able to remove Mobile Style options.

I don't know if the problem is related to having both installed or its just Mobile Style options. Should I post in that thread?

edit: BTW, the error was

MySQL Error : Unknown column 'ua' in 'field list'

Last edited by fly; 26 Aug 2010 at 16:58.
Reply With Quote
  #11  
Old 26 Aug 2010, 18:34
russag russag is offline
 
Join Date: Jan 2010
Originally Posted by flypaper View Post
I readded Mobile Style options and the database error went away. My users can now post. However, I'd really like to be able to remove Mobile Style options.

I don't know if the problem is related to having both installed or its just Mobile Style options. Should I post in that thread?

edit: BTW, the error was

MySQL Error : Unknown column 'ua' in 'field list'
Same here I removed Mobile Style options and received the same error.

Great style though man and good options
Reply With Quote
  #12  
Old 26 Aug 2010, 20:14
cherylferraro's Avatar
cherylferraro cherylferraro is offline
 
Join Date: Oct 2005
Error when importing the xml file.


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

addendum:
Please note, the error was my fault. I had 2 vb admin panels open and had already installed it on this one...

Last edited by cherylferraro; 27 Aug 2010 at 00:13. Reason: discovered that the error was my fault...
Reply With Quote
  #13  
Old 26 Aug 2010, 22:13
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by flypaper View Post
Uhhh, so after installing this, I uninstalled the Mobile Style Options. Now it appears that I can't post on the forum without a database error! Sweet
Originally Posted by russag View Post
Same here I removed Mobile Style options and received the same error.

Great style though man and good options
Sounds like neither of you read my notes in the first post in regards to mobile style options and this one. [edit: or perhaps you did but my lack of detail didn't help - sorry] Both share database entries, by uninstalling Mobile, you deleted the database columns which this one needs. To clean things up, you'll need to uninstall both, then reinstall this one.

Last edited by dartho; 26 Aug 2010 at 23:05.
Reply With Quote
  #14  
Old 26 Aug 2010, 22:15
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by cherylferraro View Post
Error when importing the xml file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I would guess hat means you either have another product with the same productid installed (I though vBulletin would track this?) or you have tried to install it twice without the ovewrite option
Reply With Quote
  #15  
Old 26 Aug 2010, 22:53
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by dartho View Post
Sounds like neither of you read my notes in the first post in regards to mobile style options and this one. Both share database entries, by uninstalling Mobile, you deleted the database columns which this one needs. To clean things up, you'll need to uninstall both, then reinstall this one.
I read it, but didn't think I qualified. Hopefully we're the only idiots, but it does read more complex that it may need to...

Thanks for the fix tho.

edit: I'm no genius coder, but isn't it generally a good idea for each product/hack to have unique DB entries?
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 09:43.

Layout Options | Width: Wide Color: