Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA Details »
Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA
Mod Version: 1.0.1, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Mar 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.7 Rating: (31 votes - 4.77 average) Installs: 246
Released: 18 May 2011 Last Update: 20 May 2011 Downloads: 1946
Not Supported Re-usable Code  

A few have asked for this, hope you like it.

As the title suggests, this is a lightweight style for vBulletin 3.8.7 (and probably most versions before that - A quick test showed it also working under vBulletin 3.7.7!)

It's lightweight (low bandwidth) and works well on most handheld / mobile devices. Some have been know to use it on their desktops and I personally use it for Google as a way of significantly reducing the bandwidth they use.

====================
Install Instructions
====================
  • Backup
  • Download and extract ZIP file locally
  • Upload contents of forum folder to your forum root
  • Go into your AdminCP->Style Manager->Download / Upload Styles
  • In the "Import Style XML File" section browse to "lightweight-vbulletin-3.8.7-style.xml" (extracted form the zip file)
  • If you are running a version of vbulletin other than 3.8.7, select Yes in "Ignore Style Version"
  • Click the "Import" button.
  • Edit the header template and change the 2nd line to reflect the Style ID of your default style and location of your home page (forum.php or index.php) and text for the anchor (Default Style).

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

  • Return to vBulletin.org and click "Mark as Installed"
  • Reply to this thread leaving feedback and a rating
====================
Release History
====================
18th May 2011 - 1.0.0 Initial Release
20th May 2011 - 1.0.1 Bug Fixes and enhancements
====================
Screen Shots
====================
====================
Branding Free
====================
If you wish to remove the branding/copyright notice from the footer - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much. (can't get much fairer than that) You can do this by clicking the "Support Developer" link above (a few lines below the "Mark as Installed" link).

====================
Bugs fixes for next release
====================
Issue:
extra "> in template forumhome_forumbit_level2_nopost
Resolution:
Search for

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

Replace with

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

Issue:
Inconsistencies in disaplying locked forums
Resolution:
See this post

Thanks.

Download Now

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

Screenshots

Click image for larger version

Name:	screenshot.png
Views:	10639
Size:	14.3 KB
ID:	129195   Click image for larger version

Name:	screenshot2.png
Views:	10457
Size:	9.8 KB
ID:	129197  

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
Add-On Releases Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.8 Add-ons 146 15 Mar 2020 14:26
Forum Style Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) dartho vBulletin 4.x Styles 1147 26 Feb 2020 20:00
Forum Display Enhancements Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.7 Add-ons 407 19 Mar 2015 14:53
Mobile, Cell, Phone, PDA, iPhone Style dartho vBulletin 3.7 Styles 795 16 Aug 2012 13:39

  #121  
Old 08 Sep 2011, 14:37
jskoh jskoh is offline
 
Join Date: Dec 2008
hi, how to change the colour of the category strip? i try Changing it but it doesnt work.
Reply With Quote
  #122  
Old 08 Sep 2011, 17:43
dartho dartho is offline
 
Join Date: Sep 2005
Edit the CSS file
Reply With Quote
  #123  
Old 15 Sep 2011, 15:37
Clutch Clutch is offline
 
Join Date: Dec 2001
Originally Posted by Max Taxable View Post
AdminCP>Styles and Templates>Style Manager. Then uncheck the box for this style and click "Save display Order."

This will keep the style from being selectable by users but the automatic detection script will still be able to use it.
This does not seem to work for me. The script (style_fetch hook on plugin) will only set the style if it's an active style. I'm looking for a workaround now.

I know it's been a few months, but I'm just now getting back to implementing this after a lot of customization. Thanks dartho.
Reply With Quote
  #124  
Old 15 Sep 2011, 22:26
dartho dartho is offline
 
Join Date: Sep 2005
You can choose not to allow users to change styles in vBulletin settings, should word then (this is how I use it)
Reply With Quote
  #125  
Old 16 Sep 2011, 23:22
mastersat's Avatar
mastersat mastersat is offline
 
Join Date: Jan 2010
Location: vbulletin
Real name: Medo
Will try it
thank you
Reply With Quote
  #126  
Old 24 Sep 2011, 12:46
infnity8x3 infnity8x3 is offline
 
Join Date: Apr 2009
I want to try this style out so bad but its conflicting with mods. Mostly cyb_chatbox, cyb_paypall_donate, and the mod that adds little icons to your userCP.

I wish there was a proper way to just disable all the hacks for a specific style. Would make this so easy.

As of now I read an article posted here that says if the hack has an on off switch the it can be controlled with some style fetch template but the userCP icon thingy has no one off switch.
Reply With Quote
  #127  
Old 24 Sep 2011, 16:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...

Basically you need to wrap all of the plugin in this code:


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

Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.

Only thing to look out for, if in the plugin there is the line:

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

Then you have to put that line above the conditional, like so:


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

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #128  
Old 25 Sep 2011, 00:38
cstreater cstreater is offline
 
Join Date: May 2010
Great style! However, I don't see a report post button or any moderator functionality. Did I do something correct during the install? It seems like I did everything the instructions said to.
Reply With Quote
  #129  
Old 26 Sep 2011, 02:34
infnity8x3 infnity8x3 is offline
 
Join Date: Apr 2009
Thank you for the response and i plan to use your code in the future for the time being i just manually placed the mods in the templates (turned off auto placement) and just removed the one that was just fluff.

Now my problem is switching back and forth between styles. Ok the quick style picker i do not like. Because if some one is in say the arcade they switch to this style and now there page is broken. I know they could do it any way with typing the style into the url but most members wouldn't even think about that. I can comment the style picker out of the template.

But for what ever reason my userCP change style option does not work. Turn off all mods globally with config file it works. Disable all mods in admin control panel it doesn't work so i have no idea whats conflicting I guess I have to edit that out of the template to.

Any easier way of doing this other then editing them out of the template?

Finally (I know dartho has a mod like to this but... Is there any way to auto detect mobile browser and instead off assigning a style, open a notice saying eg we noticed you have mobile would you like to try our mobile version blah blah with link.

Sorry for the wall of text I'm just excited about this project.
Reply With Quote
  #130  
Old 26 Sep 2011, 12:50
dartho dartho is offline
 
Join Date: Sep 2005
@infinity8x3 Check http://www.vbulletin.org/forum/showthread.php?t=270928
Reply With Quote
  #131  
Old 28 Sep 2011, 19:11
infnity8x3 infnity8x3 is offline
 
Join Date: Apr 2009
Originally Posted by BirdOPrey5 View Post
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:

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

and below it Add:

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

Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.
How can I do this with out using the styleid conditional? See my mobile site is on mobile.example.com so its a dirrfent url than just example.com. And my members style id user info never changes from 0 / default. Any way to compare the url and if .mobile exists in it then downsize AME videos.

And finally I want to thank all that helped with getting a mobile version of my forum up and ready. I no longer feel left out with vb4 getting all the mobile love.
Reply With Quote
  #132  
Old 28 Sep 2011, 19:29
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
$_SERVER['HTTP_HOST'] should hold the value mobile.example.com when on your mobile theme, you can test for that...

more info: http://roshanbh.com.np/2008/05/usefu...ables-php.html


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

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #133  
Old 28 Sep 2011, 20:16
infnity8x3 infnity8x3 is offline
 
Join Date: Apr 2009
That worked fantastically. Thanks. Now I just gotta Find that post I seen earlier about how to stop search engines from indexing the mobile url and penalizing for double content.

This is huge Thanks again guys

Got it

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


Last edited by infnity8x3; 28 Sep 2011 at 21:54.
Reply With Quote
  #134  
Old 29 Sep 2011, 19:08
infnity8x3 infnity8x3 is offline
 
Join Date: Apr 2009
Dartho, members love the style. The only bug that I have found is it doesn't handle posts under the 10 char limit very well.

Under default vb style a popup Displays saying.
The message you have entered is too short. Please lengthen your message to at least 10 characters.
But under the mobile style nothing happens leaving the user to believe its broken. The post doesn't go threw and no indication as to why not.

Not trying to sound nit picky just pointing that out.
Reply With Quote
  #135  
Old 21 Oct 2011, 14:41
CrashPush's Avatar
CrashPush CrashPush is offline
 
Join Date: Feb 2007
Real name: Harry
Most of my sub-forums are not showing anyone know why that could be happening?
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 00:55.

Layout Options | Width: Wide Color: