Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Planetweb browser compatibility Details »
Planetweb browser compatibility
Mod Version: 1.00, by Jon P. (Member) Jon P. is offline
Developer Last Online: Aug 2002 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 0
Released: 02 Nov 2001 Last Update: Never Downloads:
Not Supported  

The following minor code and template modifications will allow Planetweb browser users to actively participate in your vBulleitn forums. The Planetweb browser is a small-footprint browser suite used in several internet devices, including the Sega Dreamcast and Sony PlayStation 2 videogame consoles. As an operator of a site that specifically caters to gamers that use their consoles to access the Internet, I've found it necessary to modify vBulletin to make it as compatible as possible with the Planetweb browser. If you expect any Planetweb users to visit your forums you will want to make the modifications below.


1) The first thing you'll want to do is configure a textarea value for the Planetweb browser. Because it's designed to output to a television screen, the Planetweb browser makes fonts and form objects larger than you're used to seeing in PC browsers. The vBulletin default textarea of 60 columns will require a Planetweb user to horizontally scroll to view the entire input area when filling out forms. Changing this to 37 columns will require no horizontal scrolling from the user.

Inside admin/functions.php, Find:

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

Directly below it add:

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


2) The "Code Buttons" and "Clicky Smilies" JavaScript goodies used in posting threads, replies, Private Messages, and calendar events don't work with the Planetweb browser. All they do is take up space and cause unnecessary horizontal scrolling, so you'll want to supress them for Planetweb users. To do this, we'll enclose the code inside the getcodebuttons and getclickysmilies functions inside an if statement that determines if the user is using a Planetweb browser.

Inside admin/functions.php, Find:

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

Directly below it add:

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

Inside admin/functions.php, Find:

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

Directly below it add:

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

Also inside admin/functions.php, Find:

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

Directly below it add:

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

Also inside admin/functions.php, Find:

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

Directly below it add:

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


3) If you've noticed, the message icons that are selectable on the new thread, reply, and Personal Message forms, are forcefully wrapped with a <br> tag after 7 icons are displayed (creating multiple rows of icons). On the Planetweb browser, the wrapping gets ugly. 5 icons are diplayed on one row (they wrap to the next row due to lack of space), and then on the next row only 2 icons are diplayed because the <br> tag after the 7th icon forces another wrap. So you get alternating rows of 5 icons and 2 icons. Forcing the wrap after 5 icons instead of 7 creates even rows for Planetweb users.

Inside admin/functions.php, Find:

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

Replace it with:

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


4) In the newreply, newthread, editpost, priv_forwardmultiple, priv_sendprivmsg, and priv_sendtobuddies templates the JavaScript validate(theform) function prevents Planetweb users from submitting the form (thus preventing them from posting new threads, replying, or sending Personal Messages). There's nothing wrong with JavaScript function but for some reason it isn't properly parsed by the Planetweb browser. To fix this, I've simply removed the offending code from the templates. This JavaScript function is merely a convenience that can be safely removed, as all form input is double checked by vBulletin.

The snippet to remove from the listed templates follows:

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

That's it.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 02 Nov 2001, 07:57
Mr. X's Avatar
Mr. X Mr. X is offline
 
Join Date: Oct 2001
Hmm. Even though I dont expect any this is a neat hack! I'd love to see what my forums look like on a Dreamcast.
__________________
website: pcfx.cc
forums: http://www.pcfx.cc/vb
music: neurologik
New Admin CP colors right HERE
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 08:17.

Layout Options | Width: Wide Color: